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

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

    std::string DocumentLink::GetProviderName() const
    {
        return "TextDocumentDocumentLink";
    }

    std::string DocumentLink::ProvideResponse(const protocol::RequestMessage& request, ExecutionContext& context)
    {
        spdlog::debug("TextDocumentDocumentLinkProvider: 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
    }
}
