Skip to content

πŸ› LSP not started for svelte files, and not using LSP ignores biome config fileΒ #173

@ar4hc

Description

@ar4hc

IDE and version

Build #IU-243.26053.27, built on March 16, 2025

Extension version

1.7.2

Biome version

1.9.4

Operating system

  • Windows
  • macOS
  • Linux

Description

(Redo from #172 but with repo.)

I used (or used to) the plugin with svelte files,
I have kind of a mono repo, the JS is in a subdir of the repo root, and the biome config is in that subdir.
Also Intellij has various modules with different repos for dependency projects.

I tried autoconfig, manual config each with and without LSP.
The formatter seems to be the intellij inbuilt as nothing is in the IDEA logs.

Reinstall, of the plugin, didn't help.

And just took a look at the running lsp in the status bar:
it says biome isn't running for neither .js nor .svelte nor .json files but for other files.
I do not have an file open where biome is mentioned as "running on current file" ???
But i cant upload a screenshot here.

Will try downgrade and report back. Not sure when was the latest update...

Steps to reproduce

  1. clone repo from here
  2. Trigger reformat in svelte file, either save or on keypress
  3. watch format change
  4. It's not the expected format an no trace of biome in the log

Expected behavior

Biome should run format and/or lint on save and keypress, with the nearest(?) config.

Does this issue occur when using the CLI directly?

No

Link to a minimal reproduction

https://github.com/ar4hc/biome-repro-1744897732662

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs triageThe issue needs to be triaged

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions