Skip to content
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

Inconsistent format result between files and diff view #123

Open
kidonng opened this issue Jan 16, 2025 · 1 comment
Open

Inconsistent format result between files and diff view #123

kidonng opened this issue Jan 16, 2025 · 1 comment

Comments

@kidonng
Copy link

kidonng commented Jan 16, 2025

  • IDE: WebStorm 2024.3.1.1

  • Plugin version: 1.5.5

  • Biome version: 1.9.4

  • OS: macOS

  • Biome plugin config:

    Image

Doing a reformat gives inconsistent result depends on whether I'm on files view or diff view. I assume Biome is not enabled on diff view thus IDE is falling back to built-in formatter or something?

CleanShot.2025-01-16.at.18.51.14.mp4
@denbezrukov
Copy link
Contributor

It's an interesting case.
Yes, it seems that an LSP formatter doesn't have an effect in a diff view.
But It looks like a bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants