Closed wangyi12358 closed 2 months ago
Is the configuration file placed in the root of your repository?
Is the configuration file placed in the root of your repository?
Yes biome.json is placed in the root directory of my project
We'll need a reproduction at this point, would you mind creating one?
We'll need a reproduction at this point, would you mind creating one?
https://github.com/vibe-teams/nestjs-modules, pnpm
Installation dependence.
@wangyi12358
Did you set "editor.formatOnSave": true
in settings.json?
I confirmed that we can format code (on save) in the reproduction repo.
{
"[typescript]": {
"editor.defaultFormatter": "biomejs.biome",
"editor.formatOnSave": true
}
...
}
@wangyi12358 Did you set
"editor.formatOnSave": true
in settings.json? I confirmed that we can format code (on save) in the reproduction repo.{ "[typescript]": { "editor.defaultFormatter": "biomejs.biome", "editor.formatOnSave": true } ... }
It should be due to missing this configuration. Thank you.
VS Code version
1.90.1
Extension version
2.3.0
Biome version
1.8.3
Operating system
Description
When I press Command + S to save in VSCode, it does not format the file.
biome.json
.vscode/settings.json
Steps to reproduce
Command
+S
Expected behavior
Format after saving
Does this issue occur when using the CLI directly?
No
Logs