-
-
Notifications
You must be signed in to change notification settings - Fork 7
π Doesn't seem to work with 2.0.0 yet #97
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
Comments
Hello @radiosilence, please provide a minimal reproduction. You can use one of the following options:
Issues marked with |
@dyc3 I can't do this because it's a problem with the zed extension in zed which doesn't exist in the playground |
The automated message gives you two options. It's obvious that for your use case, you want to provide a repository, with zed settings included. |
Ah ok I'll try to replicate when home. Is the expected behaviour that the current extension version will work with biome 2 beta? |
Yeah it should work! |
I get this error
some debug info $ node_modules/@biomejs/biome/bin/biome --version
# Version: 2.0.0-beta.1
$ node_modules/@biomejs/biome/bin/biome lsp-proxy --config-path biome.json
# Error: --config-path is not expected in this context edited I think it has connection with caching {
"name": "@biomejs/cli-darwin-x64",
"version": "1.9.4",
"license": "MIT OR Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/biomejs/biome.git",
"directory": "packages/@biomejs/biome"
},
"engines": {
"node": ">=14.21.3"
},
"homepage": "https://biomejs.dev",
"os": [
"darwin"
],
"cpu": [
"x64"
]
} and ~/Library/Application\ Support/Zed/extensions/work/biome/node_modules/@biomejs/cli-darwin-x64/biome --version
# Version: 1.9.4 I removed them and and open zed with |
{
"lsp": {
"biome": {
"configuration_path": ""
}
}
} |
My zed settings.json now has "lsp": {
"biome": {
"settings": {
"require_config_file": true,
"configuration_path": "./biome.json"
}
}
} And on my demo project, on opening getting:
I've tried running:
Still get the error |
Found the issue, however, debugging in Zed is awful. I'm keen to make a breaking change, and make |
The problem is caused by Lines 127 to 130 in 90eff9b
The value returned is always true, even though the reproduction doesn't use v1, and as result |
Zed version
Zed 0.180.4 β /Applications/Zed.app
Extension version
0.1.5
Biome version
2.0.0-beta
Operating system
Description
https://biomejs.dev/blog/biome-v2-0-beta/
Steps to reproduce
Expected behavior
Does this issue occur when using the CLI directly?
No
Link to a minimal reproduction
No response
The text was updated successfully, but these errors were encountered: