#include <spdlog/spdlog.h>
#include "./linked_editing_range.hpp"
#include "../../protocol/transform/facade.hpp"

namespace lsp::provider::text_document
{
    std::string LinkedEditingRange::GetMethod() const
    {
        return "textDocument/linkedEditingRange";
    }

    std::string LinkedEditingRange::GetProviderName() const
    {
        return "TextDocumentLinkedEditingRange";
    }

    std::string LinkedEditingRange::ProvideResponse(const protocol::RequestMessage& request, ExecutionContext& context)
    {
        spdlog::debug("TextDocumentLinkedEditingRangeProvider: Providing response for method {}", request.method);
        
        // TODO: Implement the actual request handling logic
        // 1. Parse request parameters
        // 2. Process the request using appropriate services
        // 3. Return formatted response
        
        return "{}"; // Placeholder response
    }
}
