1.93.1
2.3.0
1.8.3
Formatting takes forever, which pretty much makes extension non-responsive, i.e. it has a constant high processor usage with no results.
When trying to kill biome.js
which seems to be stuck on something it will relaunch itself. Or when trying to relaunch LSP server from VSCode command prompt it will error out about Restarting client failed
or Biome client: couldn't create connection to server.
, thus requiring a full VSCode relaunch, only for the same thing to happen again.
git clone https://github.com/GabenGar/repros.git
cd repros/biomejs/extension-formatter-large-files-chug
npm install
code .
src/main.js
and format it from the context menunpx biome format ./src/main.js
with the same problem. It will say that it did format in under 2 seconds after finishing for clearly more than 2 seconds.npx prettier format ./src/main.js
. It will take more than 2 seconds but less than biome formatter.npx biome format --write ./src/main.js
. This will be lightning fast, which makes me think the base formatter command is a suspect and it degrades the entire extension. Although linter invoked as npx biome lint ./src/main.js
is pretty fast too, but opening said file in VSCode will spike CPU usage from extension even before formatting.Not taking forever to format (prettier extension legit does it faster with less resource usage) and allow to restart LSP server without restarting the whole IDE if things go down south.
Yes
https://github.com/GabenGar/repros/tree/main/biomejs/extension-formatter-large-files-chug
No response
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too