-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
🐛 Biome not properly formatting workspace files #410
Comments
Would you mind trying the pre-release of the extension to see if it solves it for you? The current version has a couple of issues with regards to sockets that sometimes results in multiple session being created. |
I'm experiencing the same issues in large workspaces (both on release and pre-release versions):
Overall, this makes the vscode extension very difficult to use in monorepos as the output becomes unpredictable. |
Edit: they all seem to be related to projects in a workspace without Biome crashing the extension. It's sort of expected on a single project, but quite on a possibly multi-language workspace. I had similar problems with workspaces but was showered with errors when switched to pre release:
|
This is happening to me in a large workspace as well. Tried letting an empty json file at Tried using release and pre-release version. If you need a reproducible example, try: https://github.com/arthurfiorette/medicus |
This issue has been automatically closed because it has been waiting for a response for more than 14 days. |
How is this closed??? This is still a pending issue that does not allow me to format files using my IDE. cc @nhedger |
I could experience the same issue (with multiple biome instances running) when switching from one branch to another. I have a monorepo, with a single biome.json config file. Switching to pre-release fixed the problem for me. After switching the version, remember to reload your VS window (cmd+shift+p -> Developer: Reload Window) |
VS Code version
1.93.1
Extension version
2.3.0
Biome version
1.9.3
Operating system
Description
Our team has been struggling with Biome inconsistently formatting workspace files. On save, sometimes it uses the default biome settings, and sometimes it uses our biome.json settings. In addition, when pressing Ctrl + Shift + P, we are able to see a bunch of Biome formatters, which did not seem to be the case in previous versions.
Occasionally, restarting VSCode or closing out of the current file and reopening seems to fix it, but not consistently as well.
Steps to reproduce
Expected behavior
The formatting was consistent in Biome 1.7.0, but after we updated to 1.9.3, the formatting has not been consistent at all.
Does this issue occur when using the CLI directly?
Not sure / Not applicable
Link to a minimal reproduction
No response
Logs
No response
The text was updated successfully, but these errors were encountered: