VERSAYANA

VERSAYANA

Not getting expected editor experience using Ash (no autocomplete)

I’ve just seen @zachdaniel 's editor experience using Ash here: figure out nextension api · Issue #57 · elixir-tools/next-ls · GitHub

Based on the documentation on the website the only thing you need to get that exprience is to have ElixirLS installed. I use VSCode and have the ElixirLS extension installed, but I don’t the get the same experience, and I’m not sure why?

ElixirLS extension is generally working fine, but I don’t get all the autocomplete suggestions for Ash.

Here is a short video of my editor exprience trying something similar to what Zach is showing in his editor:

https://streamable.com/rryxdm

Marked As Solved

zachdaniel

zachdaniel

Creator of Ash

The most recent version of ElixirLS is not working with our extension unfortunately. I’m investigating it and hope to have a solution soon. For more information, you can track this issue: Spark plugin is not being called as of `0.21` · Issue #1091 · elixir-lsp/elixir-ls · GitHub and this issue: Plugin doesn’t work with latest elixir-ls · Issue #94 · ash-project/spark · GitHub

Where Next?

Popular in Questions Top

nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
New
vegabook
I’m brand new to Phoenix and I have stripped one of the demo applications to the bone. I just want to get an svg up on the screen. Here i...
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
skosch
To my knowledge, put_in, Map.update etc. all have the one limitation of not automatically creating intermediate keys when needed (for exa...
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New

Other popular topics Top

rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list. ...
New
greenz1
I have a phoenix application from which a user can download multiple(5-6) files of size 1MB. I couldn’t find anything related to sending ...
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New

We're in Beta

About us Mission Statement