We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RenameOptions
prepareRename handler can't be registered because options.prepareProvider is never being set, even if server does include it in its capabilities.
prepareRename
options.prepareProvider
Fix:
--- a/client/src/client.ts +++ b/client/src/client.ts @@ -2002,7 +2002,7 @@ class RenameFeature extends TextDocumentFeature<RenameRegistrationOptions> { } this.register(this.messages, { id: UUID.generateUuid(), - registerOptions: Object.assign({}, { documentSelector: documentSelector }) + registerOptions: Object.assign({}, { documentSelector: documentSelector }, capabilities.renameProvider) }); }
https://github.com/Microsoft/vscode-languageserver-node/blob/d168533600cafd64023cade9f2b5e6dee74134d4/client/src/client.ts#L2005
The text was updated successfully, but these errors were encountered:
@Talv very good catch. And sorry for the late response.
Sorry, something went wrong.
@rcjsuen FYI.
0788ec3
Good to know for future contributions.
Thanks for catching this, @Talv!
No branches or pull requests
prepareRename
handler can't be registered becauseoptions.prepareProvider
is never being set, even if server does include it in its capabilities.Fix:
https://github.com/Microsoft/vscode-languageserver-node/blob/d168533600cafd64023cade9f2b5e6dee74134d4/client/src/client.ts#L2005
The text was updated successfully, but these errors were encountered: