Skip to content
New issue

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

vscode.languages.registerRenameProvider is not a function #3921

Closed
kaviththiranga opened this issue Jan 2, 2019 · 1 comment
Closed

vscode.languages.registerRenameProvider is not a function #3921

kaviththiranga opened this issue Jan 2, 2019 · 1 comment

Comments

@kaviththiranga
Copy link
Contributor

I am getting below error when running an existing vscode plugin.

root ERROR [hosted-plugin: 123] (node:123) UnhandledPromiseRejectionWarning: TypeError: vscode_1.languages.registerRenameProvider is not a function
at RenameFeature.registerLanguageProvider (/tmp/vscode-unpacked/ballerina-vscode-plugin-0.990.2.vsix/extension/node_modules/vscode-languageclient/lib/client.js:1358:35)
at RenameFeature.register (/tmp/vscode-unpacked/ballerina-vscode-plugin-0.990.2.vsix/extension/node_modules/vscode-languageclient/lib/client.js:682:29)
at RenameFeature.initialize (/tmp/vscode-unpacked/ballerina-vscode-plugin-0.990.2.vsix/extension/node_modules/vscode-languageclient/lib/client.js:1318:14)
at ExtendedLangClient.initializeFeatures (/tmp/vscode-unpacked/ballerina-vscode-plugin-0.990.2.vsix/extension/node_modules/vscode-languageclient/lib/client.js:2297:21)
at connection.initialize.then (/tmp/vscode-unpacked/ballerina-vscode-plugin-0.990.2.vsix/extension/node_modules/vscode-languageclient/lib/client.js:2002:18)
at

@kaviththiranga
Copy link
Contributor Author

seems this is already tracked in #3861

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant