30 lines
919 B
C++
30 lines
919 B
C++
#include <spdlog/spdlog.h>
|
|
#include "./document_highlight.hpp"
|
|
#include "../../protocol/transform/facade.hpp"
|
|
|
|
namespace lsp::providers::text_document
|
|
{
|
|
std::string DocumentHighlight::GetMethod() const
|
|
{
|
|
return "textDocument/documentHighlight";
|
|
}
|
|
|
|
std::string DocumentHighlight::GetProviderName() const
|
|
{
|
|
return "TextDocumentDocumentHighlight";
|
|
}
|
|
|
|
std::string DocumentHighlight::ProvideResponse(const protocol::RequestMessage& request, ExecutionContext& context)
|
|
{
|
|
static_cast<void>(context);
|
|
spdlog::debug("TextDocumentDocumentHighlightProvider: 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
|
|
}
|
|
}
|