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

Fix client/registerCapability request when workspaces/didChangeWorksp… #598

Conversation

msivasubramaniaan
Copy link
Contributor

…aceFolder even if dynamicRegistration set to false

What does this PR do?

It checked the client workspace dynamicRegistration true/false on didChangeWatchedFiles. If false, then disable the client/registerCapability call from server to client

What issues does this PR fix or reference?

#583

Is it tested? How?

Yes, tested with tests and with latest changes on neovim.

…aceFolder even if dynamicRegistration set to false
@coveralls
Copy link

coveralls commented Nov 26, 2021

Coverage Status

Coverage decreased (-0.02%) to 78.207% when pulling 4e8be24 on msivasubramaniaan:fix-lsp-triggering-registerCapability-despite-dynamicRegistration-set-false into 47ba49b on redhat-developer:main.

@@ -84,6 +84,7 @@ export class SettingsState {
hasConfigurationCapability = false;
useVSCodeContentRequest = false;
yamlVersion: YamlVersion = '1.2';
hasWsChangeWathedFileDynamicRegistraton = false;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is better to rename to hasWsChangeWatchedFileDynamicRegistration

@evidolob evidolob merged commit fcfe397 into redhat-developer:main Nov 26, 2021
@msivasubramaniaan msivasubramaniaan deleted the fix-lsp-triggering-registerCapability-despite-dynamicRegistration-set-false branch November 26, 2021 13:22
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

Successfully merging this pull request may close these issues.

3 participants