29 lines
921 B
C++
29 lines
921 B
C++
#include <spdlog/spdlog.h>
|
|
#include "./prepare_call_hierarchy.hpp"
|
|
#include "../../protocol/transform/facade.hpp"
|
|
|
|
namespace lsp::providers::text_document
|
|
{
|
|
std::string PrepareCallHierarchy::GetMethod() const
|
|
{
|
|
return "textDocument/prepareCallHierarchy";
|
|
}
|
|
|
|
std::string PrepareCallHierarchy::GetProviderName() const
|
|
{
|
|
return "TextDocumentPrepareCallHierarchy";
|
|
}
|
|
|
|
std::string PrepareCallHierarchy::ProvideResponse(const protocol::RequestMessage& request, ExecutionContext& context)
|
|
{
|
|
spdlog::debug("TextDocumentPrepareCallHierarchyProvider: 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
|
|
}
|
|
}
|