biomejs / biome-vscode

Biome extension for Visual Studio Code and VSCodium
https://marketplace.visualstudio.com/items?itemName=biomejs.biome
Apache License 2.0
235 stars 32 forks source link

🐛 Biome not properly formatting workspace files #410

Open jason-slash opened 1 month ago

jason-slash commented 1 month ago

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.

image

Occasionally, restarting VSCode or closing out of the current file and reopening seems to fix it, but not consistently as well.

Steps to reproduce

  1. Attempt to format a file (potentially in a large monorepo which has biome.json's that depend on each other, but may be unrelated)
  2. See that the formatting is inconsistent.

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