Skip to content

Remove "non-empty string" comment for workspace/symbol#770

Closed
DanTup wants to merge 1 commit intomicrosoft:gh-pagesfrom
DanTup:patch-2
Closed

Remove "non-empty string" comment for workspace/symbol#770
DanTup wants to merge 1 commit intomicrosoft:gh-pagesfrom
DanTup:patch-2

Conversation

@DanTup
Copy link
Contributor

@DanTup DanTup commented Jun 10, 2019

VS Code sends empty strings to LSP servers here to get a full symbol list. Based on discussion at microsoft/vscode-languageserver-node#458 I believe that the VS Code behaviour is desired and the spec is incorrect (the original intention was designed to avoid clients accidentally requesting all symbols before the user had typed, but it seems leaving that to the server is the best option).

VS Code sends empty strings to LSP servers here to get a full symbol list. Based on discussion at microsoft/vscode-languageserver-node#458 I believe that the VS Code behaviour is desired and the spec is incorrect (the original intention was designed to avoid clients accidentally requesting all symbols before the user had typed, but it seems leaving that to the server is the best option).
@dbaeumer
Copy link
Member

Merged into dbaeumer/3.15 branch

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