Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@siketyan
Copy link
Member

Closes #75

Added support of workspace/configuration LSP requests to provide the configuration to Biome v2.0. In Biome v2, we will drop --config-path in favour of the LSP request. For backward compatibility, we keep using --config-path for Biome v1.

@siketyan siketyan requested review from ematipico and luckydye March 13, 2025 15:57
@siketyan siketyan self-assigned this Mar 13, 2025
@siketyan siketyan marked this pull request as draft March 13, 2025 16:34
@siketyan siketyan marked this pull request as ready for review March 13, 2025 16:57
src/biome.rs Outdated
zed::npm_package_installed_version(PACKAGE_NAME)
.ok()
.flatten()
.is_none_or(|version| version.starts_with("2."))
Copy link
Member

Choose a reason for hiding this comment

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

I suggest checking v1 instead, so even future versions like V3, v4, etc. will be compatible.

It's more future proof

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah it makes sense, fixed in 4054066

@siketyan siketyan requested a review from ematipico March 14, 2025 13:02
@ematipico ematipico merged commit ed51dea into main Mar 14, 2025
3 checks passed
@siketyan siketyan deleted the feat/GH-75 branch March 14, 2025 16:56
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.

Use workspace/configuration response for providing the manual configuration path

3 participants