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: unexpected lsp function arg comma completion #20311

Merged

Conversation

marvinhagemeister
Copy link
Contributor

I got annoyed by having to manually delete the automatically inserted completions and tracked the behaviour down to a single line in the lsp code. Played around with the fix enabled for a while this morning in vscode and didn't run into any downsides to this change. Quite the opposite actually, it makes the integration much nicer to use.

Fixes #20160

@marvinhagemeister marvinhagemeister added the lsp related to the language server label Aug 28, 2023
Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

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

LGTM

@marvinhagemeister marvinhagemeister merged commit 539e503 into denoland:main Aug 28, 2023
13 checks passed
@marvinhagemeister marvinhagemeister deleted the fix-lsp-comma-completion branch August 28, 2023 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lsp related to the language server
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LSP: comma picks first completion item instead of just inserting a comma
2 participants