You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open index.ts and place the cursor over either error.
Invoke "Quick Fixβ¦" using the keyboard shortcut (β₯.).
Press the same keyboard shortcut again to accept the first suggestion.
This results in a biome-ignore comment being added instead of the actual suggested fix.
This is because the "Suppress rule β¦" option usually shows before the actual fix suggestion:
Steps to reproduce
See above.
Expected behavior
I would find it much more useful if the default suggestion was the actual fix. Due to other UX choices by VS Code, this would be significantly more convenient than if it is the second suggestion (see below).
Does this issue occur when using the CLI directly?
Not sure / Not applicable
Link to a minimal reproduction
See above
Logs
The text was updated successfully, but these errors were encountered:
If both are addressed, it would be very easy to review and accept a lot of suggestions quickly (which is often useful when adding/upgrading Biome for a project). I have "Go to Next Problem" bound to β8, so for me this would be:
β8β.β.
Repeat for each issue.
This allows keeping one key constantly pressed (β) and alternating between only two other keys. Super simple to learn and use!
If the occasional default suggestion is not correct, I can pause between two consecutive β. invocations. And even if I make a mistake, it's easy to go back.
Contrast this to a double workaround, which requires letting go and pressing β twice for each error and using four additional keys:
β8ββ.ββ.
Repeat for each issue.
I know it sounds a bit picky, but the inputs are precise and I find this kind of keyboard dance very distracting when I'm trying to focus on reviewing linter issues in bulk. It would be really nice the other way!
VS Code version
1.96.4
Extension version
2.3.0
Biome version
1.9.3
Operating system
Description
This results in a
biome-ignore
comment being added instead of the actual suggested fix.This is because the
"Suppress rule β¦"
option usually shows before the actual fix suggestion:Steps to reproduce
See above.
Expected behavior
I would find it much more useful if the default suggestion was the actual fix. Due to other UX choices by VS Code, this would be significantly more convenient than if it is the second suggestion (see below).
Does this issue occur when using the CLI directly?
Not sure / Not applicable
Link to a minimal reproduction
See above
Logs
The text was updated successfully, but these errors were encountered: