🐛 fix: align rename provider method names
This commit is contained in:
parent
1de97aace5
commit
53f4588c53
|
|
@ -27,12 +27,12 @@ namespace lsp::provider::text_document
|
|||
{
|
||||
std::string PrepareRename::GetMethod() const
|
||||
{
|
||||
return "TextDocumenttextDocument/prepareRename";
|
||||
return "textDocument/prepareRename";
|
||||
}
|
||||
|
||||
std::string PrepareRename::GetProviderName() const
|
||||
{
|
||||
return "PrepareRename";
|
||||
return "TextDocumentPrepareRename";
|
||||
}
|
||||
|
||||
std::string PrepareRename::ProvideResponse(const protocol::RequestMessage& request, [[maybe_unused]] ExecutionContext& context)
|
||||
|
|
|
|||
|
|
@ -27,12 +27,12 @@ namespace lsp::provider::workspace
|
|||
{
|
||||
std::string DidRenameFiles::GetMethod() const
|
||||
{
|
||||
return "Workspaceworkspace/didRenameFiles";
|
||||
return "workspace/didRenameFiles";
|
||||
}
|
||||
|
||||
std::string DidRenameFiles::GetProviderName() const
|
||||
{
|
||||
return "DidRenameFiles";
|
||||
return "WorkspaceDidRenameFiles";
|
||||
}
|
||||
|
||||
void DidRenameFiles::HandleNotification(const protocol::NotificationMessage& notification, [[maybe_unused]] ExecutionContext& context)
|
||||
|
|
|
|||
|
|
@ -27,12 +27,12 @@ namespace lsp::provider::workspace
|
|||
{
|
||||
std::string WillRenameFiles::GetMethod() const
|
||||
{
|
||||
return "Workspaceworkspace/willRenameFiles";
|
||||
return "workspace/willRenameFiles";
|
||||
}
|
||||
|
||||
std::string WillRenameFiles::GetProviderName() const
|
||||
{
|
||||
return "WillRenameFiles";
|
||||
return "WorkspaceWillRenameFiles";
|
||||
}
|
||||
|
||||
std::string WillRenameFiles::ProvideResponse(const protocol::RequestMessage& request, [[maybe_unused]] ExecutionContext& context)
|
||||
|
|
|
|||
Loading…
Reference in New Issue