nallwhy

nallwhy

Hi everyone,

I’m trying to use Zed for Elixir development and recently enabled the expert settings, but I’m not confident my setup is actually working.

The Elixir LSP seems to get stuck showing “Starting Erlang node” repeatedly, as you can see in the attached screenshot, and never fully comes up.

I’d really appreciate help from anyone who’s successfully using Zed with Elixir. In particular:

  • Which LSP are you using? (expert, elixir-ls, etc.)
  • Any must-have expert settings for Elixir that aren’t obvious from the docs?
  • Common gotchas or pitfalls you ran into early on (and how you fixed them)

Here’s the my current Zed settings.

{
  "agent": {
    "default_model": {
      "provider": "zed.dev",
      "model": "claude-sonnet-4",
    },
    "always_allow_tool_actions": true,
    "model_parameters": [],
    "default_profile": "write",
  },
  "ui_font_size": 16,
  "buffer_font_size": 16,
  "theme": {
    "mode": "system",
    "light": "One Light",
    "dark": "One Dark",
  },
  "formatter": "language_server",
  "languages": {
    "Elixir": {
      "language_servers": [
        "expert",
        "!elixir-ls",
        "!next-ls",
        "!lexical",
        "tailwindcss-language-server",
      ],
    },
    "HEEX": {
      "language_servers": [
        "expert",
        "!elixir-ls",
        "!next-ls",
        "!lexical",
        "tailwindcss-language-server",
      ],
    },
  },
}

Thanks in advance!

Showing Posts 1 to 3

Eiji

Eiji

While expert tend to be the best choice for LSP in future as far as I know it’s still in very early state. I’m using expert so far without a bigger problems, but I’m rather used to work in testing environments as I often check interesting beta/canary/nightly/rc releases. Therefore it’s rather rare that I would mention something as a “big issue”, simply because I often fix it or find a temporary workarounds (for example see my credo issue mention for post in 1.20.0-rc.0 release). :see_no_evil_monkey:

However if you aim for a prod stability you should use other language servers if possible. Look that the only release on their GitHub project is nightly one, so there is absolutely no guarantee that one day everything would suddenly stop working. At least for now I would rather recommend using expert only for feedback/testing purposes. :gear:

Here is a link to releases:

Here is also automated PR for 0.1.0 release (pay attention to the number of applied fixes):
https://github.com/elixir-lang/expert/pull/38

bottlenecked

bottlenecked

I just noticed this gotcha with the latest Zed updates (used to work before that): there’s something called Worktree trust and unless you’ve OK’d your project no LSP server will start.

I enabled this and immediately an .expert folder was created again (I tend to delete that by hand when the LSP server is misbehaving and then restart Zed, but that didn’t work now before enabling Worktree trust)

inf-rno

inf-rno

grazie. this was the issue for me

— All posts loaded —

Where Next? Top

Trending in Questions Top

itzmidinesh
Hi all, I’m working on a Phoenix project where I need to make external HTTP requests and I’m trying to choose between Req and HTTPoison....
New
yarrichar
I’m very new to Elixir, so sorry if this is a silly question: I am wondering what happens to the mailbox of a process when the machine i...
New
Hellowman
Hello everyone! I am new to coding with Elixir/Erlang. And i am looking for some utilities for fuzzing testing like AFL++. Does anyone ...
New
pragdave
How do I tell Hologram not to escape HTML when substituting into templates? {Textile.render(@product.long_description)} escapes the HTM...
New
Fl4m3Ph03n1x
Background When trying to execute mix release on a Windows 11 machine for a Phoenix project I get the following error: * assembling mark...
New
rlipscombe
I’d like to create a file with 600 permissions (rw-------), but there’s a race condition if I create it and then change the permissions. ...
New
saleyn
Is there a way to import record definitions in the iex shell for pretty printing (similar to the rr command in the erl shell)? This woul...
New

Other Trending Topics Top

dominicletz
Hey there, I haven’t seen a list of useful Elixir specific skills for the popular AI tools yet so I’m starting one here with my first. ...
New
raa-ziq
Hi everyone :waving_hand: I wanted to share something I’ve been building — NowBlind, a random chat app designed to help people discover ...
New
mudasobwa
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
OndrejValenta
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly) AI dream has many faces, but general...
New
kip
Localize is the next generation localisation library for Elixir. Think of it as ex_cldr version 3.0. The first version will be released ...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews