-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Auto format will remove all codes in current file #107
Comments
ResolvedI try to set biome.exe manually, it works. I guess it is because my repo is pnpm monorepo. When I try to install it in workspace root its folder not include any executable files but it does include in Correctly Config |
@molinla |
pretty sad, after installed nightly plugin, its not working in auto config mode it will still remove all my current file codes. and manuly set ezgif-5-5653c5fe56.mp4here is my monorepo project struct: root i'm wondering pnpm install only install some js files, the realy exe files are still in in |
@molinla |
here is minimal reproducible repo example: https://github.com/molinla/biome-format-testing thansk for you help |
@molinla I'll try to investigate further. I need to find a computer with Windows. Do I understand correctly that it always occurs, regardless of what you do? I mean, even if you only turn on formatting or only fixing, it still happens? |
yes, for now when my computer is windows, it always remove all my file codes when i turnning auto detect biome config, and turn on auto fix |
Overview
When checked
Run format on save
orRun save fixed save
options, it will remove my current file whole code. i test on.tsx
,.ts
,.css
. Their code will also be removed.Env Info
Bug Reproduction GIF Preview
Biome Config
Related Info
I also tested on macbook air m1, with same webstorm version and same project. It works well.
The text was updated successfully, but these errors were encountered: