biomejs / biome-vscode

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

🐛 Not working for CSS files #388

Open wottpal opened 7 hours ago

wottpal commented 7 hours ago

VS Code version

0.41.3 (Cursor)

Extension version

2.3.0

Biome version

1.9.3

Operating system

Description

I don't get the extension to format/lint my CSS files (the Biome CLI works) despite having this in my VSCode settings:

  "[css]": {
    "editor.defaultFormatter": "biomejs.biome"
  },

CleanShot 2024-10-08 at 16 54 06@2x

The extension is working seamlessly for all other file types.

And I'm not having any stuff ignored in biome.js.

Steps to reproduce

see above

Expected behavior

see above

Does this issue occur when using the CLI directly?

No

Link to a minimal reproduction

No response

Logs

No response

ematipico commented 6 hours ago

To create a reproduction, you can use our new CLI tool, which should help you to create a very quick repository with what you need: npm create @biomejs/biome-reproduction

wottpal commented 5 hours ago

Did create a repro here: https://github.com/wottpal/biome-repro-1728407341600 – But it's really just a very plain project with some VSCode settings (that work for all other extensions).

Btw, would suggest adding a .gitignore with your CLI as well.