+
Skip to content

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
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

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载