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

feat(lsp): add codeActionKinds #3731

Merged
merged 5 commits into from
Aug 29, 2024

Conversation

suxin2017
Copy link
Contributor

@suxin2017 suxin2017 commented Aug 28, 2024

Summary

Based on this answer we need to provide codeactions to make sure that the saved call is valid

microsoft/language-server-protocol#1629 (comment)

fix: #3339

Same as eslint lsp

https://github.com/microsoft/vscode-eslint/blob/main/server/src/eslintServer.ts#L224

Test Plan

cargo test --package biome_lsp --test server -- server_capabilities_fix_all_code_action_kinds --exact --show-output
cargo test --package biome_lsp --test server -- server_capabilities_default_code_action_kinds --exact --show-output

@github-actions github-actions bot added the A-LSP Area: language server protocol label Aug 28, 2024
@ematipico
Copy link
Member

How did you test this change? Please fill the ## Test plan part

@suxin2017
Copy link
Contributor Author

How did you test this change? Please fill the ## Test plan part

Done

@ematipico ematipico merged commit 7120d53 into biomejs:main Aug 29, 2024
10 checks passed
nhedger added a commit that referenced this pull request Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-LSP Area: language server protocol
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Proposal to rename "quickfix.biome" to "source.fixAll.biome"
3 participants