Skip to content

🐛 After latest update biome plugin run two lsp for the same file #162

@APshenkin

Description

@APshenkin

IDE and version

Intellij IDEA 2024.3.3 Ultimate Edition

Extension version

1.7.0

Biome version

2.0.0-beta.1

Operating system

  • Windows
  • macOS
  • Linux

Description

For some reason Biome plugin launch two LSPs for the same file, one from package and one from root. At root I don't have any biome config, so it's unclear, why this root one is launched at all (I believe it should launch it only if there is config.). Those issue causes wrong rules beeing applied, cause as in root there is no config, biome just takes default settings. This issue exist even if I set biome path and biome config path manually in plugin settings

Image

Steps to reproduce

  1. Create project structure, where you have folder with biome config and biome.
  2. Work with project for some time.
  3. Observe at some point, that two LSP applied to files even if you don't have biome config in root

Expected behavior

Only enable biome if config presented and use biome config that is closest in project source tree

Does this issue occur when using the CLI directly?

No

Link to a minimal reproduction

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs triageThe issue needs to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions