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

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

    std::string CodeLens::GetProviderName() const
    {
        return "TextDocumentCodeLens";
    }

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