dimitrije

dimitrije

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 !

Showing Posts 1 to 2

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?

dimitrije

dimitrije OP

Thanks for the answer.
Actually the pop-up and autocomplete for standard modules(Enum, File, Stream..etc) are working, I was thinking in terms of my own functions and modules I wrote, that is my issue, I cannot determine what is a function in module and what is a variable in current function.

Also my view is not the same as yours, which is the same in VSCode for me. I just see short description, not the whole as in your case.

Also the .elixir_ls dir in root project is present. When I delete the dir, it gets shown in matter of seconds, so I assume the language server is working.

My question was how I can fine tune the language server.
Do I need to explicitly install elixir-ls?
I am using the erlang and elixir installation trough asdf.

I do not have any custom settings for elixir-ls, just using out of the box, but I would like to configure it a bit.

Thanks again!

— All posts loaded —

Where Next? Top

Trending in Questions Top

RSP87
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
nseaSeb
Hello, I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
RemyXRenard
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New
velrest
So my question is quite simple and i have found no conclusive answer on forum, google or AI. Should we use :erlang.float for Integer to ...
New
samoloth
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New
FlyingNoodle
If a change or preparation module uses Ash.Changeset.get_argument/2 or Ash.Query.get_argument/2 (or any of the other get_argument functio...
New
brecabral
Documentation While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
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
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
webofbits
Aludel - LLM Evaluation Workbench Aludel is an embeddable Phoenix LiveView dashboard for evaluating and comparing LLM prompts across mult...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews