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

Handle basic editor commands #1545

Merged
merged 4 commits into from
Jan 18, 2021

Conversation

rwols
Copy link
Member

@rwols rwols commented Jan 17, 2021

After some discussion on Discord it seems it's safer to handle vscode-specific commands.

Most notably, now that we don't check if the server is a commandProvider due to handling client-side code lens commands, rust-analyzer will sometimes complain about not understanding workspace/executeCommand. Because it puts the command editor.action.triggerParameterHints in one of its completion items.

See: microsoft/language-server-protocol#1148

@rwols rwols merged commit 2bf36ca into st4000-exploration Jan 18, 2021
@rwols rwols deleted the fix/handle-basic-editor-commands branch January 18, 2021 19:54
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.

2 participants