dimitrije

dimitrije

How to configure function/variable signature for Elixir in the Zed editor?

Hi all, I am also using zed for about a month now.
There is something that I find missing on zed(or I do not know how to enable it), it is the function/variable signature for elixir.
Do you know how I can configure this ?
Here are the examples from VSCode and Zed

VSCode:

Zed:

Also, it would be useful if you point me how to explore options for settings in zed.

BTW: This is also happening with JS, no signature/type on autocomplete.
Thanks all !

Most Liked

Eiji

Eiji

It’s not perfect, but should work out-of-box already, see:

Make sure that:

  1. zed is up to date (use git pull to get latest zed version when building from source)
  2. run zed in release mode (use cargo run --release)
  3. ensure that your project compiles, so the language server is able to continue it’s work

The default comment at the top of the settings file should say everything. If you have no idea how to quickly open settings the take a look at the caret menu in top-right corner, see:

Since zed officially supports only Mac and other OS/distribution support is in-progress it’s not so easy to get help from non-Mac users. It’s not like that everyone works on unstable software in production.

Fortunately there is a Collab Panel button in bottom-left corner, see:

The chat should now be located in right dock!

@AstonJ Could you please split question and my answer posts into Questions & Help section?

Where Next?

Popular in Questions Top

New
fireproofsocks
I’m working on defining a simple Ecto schema for a table (in PostGres), but I don’t see where I can define a column as NOT NULL. Conside...
New
shahryarjb
Hello, I get Persian date from my client and convert it to normal calendar like this: def jalali_string_to_miladi_english_number(persi...
New
fireproofsocks
Forgive me if this is obvious, but how does one delete a database record WITHOUT selecting it first? Ecto.Repo — Ecto v3.14.0 has exampl...
New
beno
I will often find my self writing things similar to: case some_value do nil -> something() "" -> something() _ -> somethi...
New
freewebwithme
Using vs code and installed ElixirLS: support and debugger. And I got an error popped up on start up says Failed to run ‘elixir’ comma...
New
fayddelight
I tried installing elixir 1.11.2 erlang 23.3.4 via asdf in my zsh shell. Enabled the versions locally and globally. When I list them ...
New
dblack
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar. I p...
New
chensan
I have a User schema with a :from_id field set to type :string: defmodule TweetBot.Repo.Migrations.CreateUsers do use Ecto.Migration ...
New
svb
Hi! Currently I want to submit a form by pressing the Enter key. However, since my input field is of type “textarea” this is just adds a...
New

Other popular topics Top

9mm
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New
johnnyicon
Hi all, I’ve just started learning Elixir and Phoenix Framework, so please pardon my n00bness at this stage. I’m trying to use Postgres...
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
vrod
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors: [WARN] - (starship::utils): Executing command ...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
aalberti333
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this: ...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
klo
Got a question about when to concat vs. prepending items to list then reversing to achieve appending. So i know lists boil down to [1 | ...
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
PeterCarter
There are pre-rolled solutions for other frameworks that do work. However, Phoenix does not seem to have these. Have people had good expe...
New

We're in Beta

About us Mission Statement