Zed Code Editor

Im on Zed 0.143.6 and I have elixir-ls installed by zed when I added it to the settings.
Here is my config:

  "languages": {
    "Elixir": {
      "show_whitespaces": "selection",
      "language_servers": ["elixir-ls", "tailwindcss-language-server"]
    },
    "HEEX": {
      "show_whitespaces": "selection",
      "language_servers": ["elixir-ls", "tailwindcss-language-server"]
    }
  },
  "lsp": {
    "elixir-ls": {
      "settings": {
        "dialyzerEnabled": false
      }
    },
    "tailwindcss-language-server": {
      "settings": {
        "includeLanguages": {
          "heex": "html",
          "Elixir": "html"
        }
      }
    }
  },
  "inlay_hints": {
    "enabled": true
  }

Curious if there is some way to make it show the arities of functions in autocomplete? Would be very useful for telling the difference between functions w/ the same name.

3 Likes

Maybe using a different language server could help? I haven’t tried it myself.
https://zed.dev/docs/languages/elixir

Our plugin currently only works with ElixirLS because the plugin is based on ElixirSense. Hopefully other language servers will come up with plugin interfaces, so we can adapt our plugin for those. Until then, if you want the Ash plugin to work, ElixirLS is the only option.

1 Like

I also was needing this so I tried to implement it in Zed’s elixir extension but currently there’s some limitations. I created an issue for that to get some help about how to implement it :slight_smile:

1 Like

Edit @Eiji is correct, it’s DNS problem. Kindly ignore my post.

1 Like

Not fixed? From what I have read it’s DNS problem, right? Why others should care that you locally or your local provider blocks some domain? I’m using Plasma 5 and changing DNS Server setting is very easy. Just change it to 1.1.1.1 and you would not have such strange problems.

Think that you would force all Wikipedia users to move all their work on the other server as one or few countries have blocked Wikipedia. It’s not a serious request. You can change DNS yourselves as you use VPNs to avoid censorship. I don’t see any problem here.

2 Likes