tree-sitter and lsp-methods
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
#include <spdlog/spdlog.h>
|
||||
#include "./resolve.hpp"
|
||||
#include "../../protocol/transform/facade.hpp"
|
||||
|
||||
namespace lsp::providers::document_link
|
||||
{
|
||||
std::string Resolve::GetMethod() const
|
||||
{
|
||||
return "documentLink/resolve";
|
||||
}
|
||||
|
||||
std::string Resolve::GetProviderName() const
|
||||
{
|
||||
return "DocumentLinkResolve";
|
||||
}
|
||||
|
||||
std::string Resolve::ProvideResponse(const protocol::RequestMessage& request, ExecutionContext& context)
|
||||
{
|
||||
static_cast<void>(context);
|
||||
spdlog::debug("DocumentLinkResolveProvider: 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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user