biomejs / biome-zed

Biome extension for Zed
https://biomejs.dev
MIT License
168 stars 6 forks source link

biome extention is not starting #41

Closed hesham-ayad closed 3 months ago

hesham-ayad commented 3 months ago

I installed the extension and when I opened a project with Biome installed in it. It wouldn't start. Note I installed Biome via pnpm by the way. Biome starts just fine with lsp-config on neovim.

biome-zed-extension 0.1.1 zed 0.148.1 ubuntu 24

ematipico commented 3 months ago

Can you share your settings?

hesham-ayad commented 3 months ago

I am new to Zed, so I'm still lost

{
  "features": {
    "inline_completion_provider": "none"
  },
  "ui_font_size": 14,
  "buffer_font_size": 14,
  "theme": {
    "mode": "system",
    "light": "One Light",
    "dark": "Atelier Cave Dark"
  },
  "languages": {
    "JavaScript": {
      "language_servers": ["biome", "!typescript-language-server", "..."]
    }
  }
}
ematipico commented 3 months ago

Please get accustomed to that. Our readme provides the instructions to enable Biome: https://github.com/biomejs/biome-zed?tab=readme-ov-file#configuration

hesham-ayad commented 3 months ago

Just got neovim working and thought Zed would be a breeze, but neovim has a much bigger community and that helped me understand what I needed to do. Could you share a simple settings config that gets Biome running, I followed the read me instructions and thought I didn't need to add anything if I had a biome.json in the project's root directory.

In neovim I have json, css, jsx, and javascript formatting and linting handled by biome, and auto-completion is handled by tsserver. I think I should just stick to neovim till I have time to do detective work for Zed, I just thought it would be easier to configure it. Ahhhh why did I have to like Biome's linting so much.

Sorry for taking up your time.

ematipico commented 3 months ago

I also think that Zed is still immature. They ship very fast, but they also break stuff very fast, so sometimes it is difficult: