Use biome as custom formatter #6673
-
i tried to use biome as formatter for my typescript project. i have this config but it doesn't format on save nor when i use the command
I tried to replace I saw the ticket, support biome, does that mean we can't use biome as custom formatter and need a special integration? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
i managed to make it work altho it's not perfect. first the best would be to use lsp since biome support it. but in the meantime you can get it to work with this config:
the only issue is that you need to install biome as a global package, which means it doesn't use the local biome of your project and the potentially not using the right version is the global one is not in sync with local one. is there anyway to target the command in the local node_modules
you offer a |
Beta Was this translation helpful? Give feedback.
-
Hey @wcastand, thanks for providing what you've found. We're keeping our eye on Biome - looks really great. Do you happen to know if they are planning on providing features similar to |
Beta Was this translation helpful? Give feedback.
-
There's an official zed extension by biome, it works but has some bugs |
Beta Was this translation helpful? Give feedback.
-
The Zed extension store has a Biome extension now: |
Beta Was this translation helpful? Give feedback.
The Zed extension store has a Biome extension now: