Skip to content

🐛 LSP not started for svelte files, and not using LSP ignores biome config file #172

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

Closed
1 of 3 tasks
ar4hc opened this issue Apr 17, 2025 · 2 comments
Closed
1 of 3 tasks
Labels
Needs reproduction Needs a reproduction

Comments

@ar4hc
Copy link

ar4hc commented Apr 17, 2025

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

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.

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

Steps to reproduce

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

Expected behavior

Biome should run format anbd/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

No response

@ar4hc ar4hc added the Needs triage The issue needs to be triaged label Apr 17, 2025
@ar4hc
Copy link
Author

ar4hc commented Apr 17, 2025

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.

@siketyan siketyan added the Needs reproduction Needs a reproduction label Apr 17, 2025
Copy link

Hello @ar4hc, please provide a minimal reproduction. You can use one of the following options:

  • Provide a link to our playground, if it's applicable.
  • Provide a link to GitHub repository. To easily create a reproduction, you can use our interactive CLI via npm create @biomejs/biome-reproduction

Issues marked with S-Needs repro will be closed if they have no activity within 3 days.

@github-actions github-actions bot removed the Needs triage The issue needs to be triaged label Apr 17, 2025
@ar4hc ar4hc changed the title 🐛 LSP not started for svelte files, and not using LSP ignores bconfig file 🐛 LSP not started for svelte files, and not using LSP ignores biome config file Apr 17, 2025
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs reproduction Needs a reproduction
Projects
None yet
Development

No branches or pull requests

2 participants