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

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

    std::string Hover::GetProviderName() const
    {
        return "TextDocumentHover";
    }

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