ataraxian_dax

ataraxian_dax

ElixirLS 'Find All References' and 'Go To References' Spins Indefinitely

I am using VSCode v1.100 on Mac OS with a fairly large Elixir repository. I am running Elixir 1.18.3-otp-27 installed via asdf. I have the Elixir-LS extension version 0.27.2 installed. My main issue is when I am in a .ex file and I right click on a function or a module and I select ‘Go To References’ or ‘Find All References’ VSCode will spin indefinitely. When clicking ‘Go To References’ the status spinner at the top of the file will animate indefinitely and when I click ‘Find All References’ the References view on the left toolbar will open and spin indefinitely. I tested with a much smaller repo and confirmed that this functionality was working correctly so it appears to be related to this one particular larger repo.

Most Liked

ataraxian_dax

ataraxian_dax

UPDATE: I was able to get everything working by nuking my VSCode installation and starting from scratch. I re-installed VSCode and I didn’t log in and use the settings sync so I had zero extensions installed. I then installed the Elixir_LS extension. Closed VSCode and then re-opened VSCode from my repo directory in the terminal. Once the application loaded I investigated the output window for the Elixir_LS plugin and it was compiling my app which it had never done before. Once it was finished compiling I had full functionality.

arcanemachine

arcanemachine

Step 1 when debugging Elixir LS: Delete .elixir_ls and _build, then restart the LSP (or all of VS Code).

Does it still happen after that?

Where Next?

Popular in Questions Top

joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 record...
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
sacepums
Hey guys. I'm new to elixir and im really stocked about it. But I ran into a bit of problem - I need to convert a date sting, for examp...
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
vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
makeitrein
Hey all, just started picking up Elixir last week and am writing a scraper as a learning project. Baby step #1 is extracting the number ...
New
fireproofsocks
Forgive me if this is obvious, but how does one delete a database record WITHOUT selecting it first? https://hexdocs.pm/ecto/Ecto.Repo.h...
New
baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
Codball
Mix format works fine if run from the cmd. I’ve followed this to facilitate the implementation into VSC which involves downloading an ext...
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers' Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New

Other popular topics Top

JDanielMartinez
Hi! May someone helps me, please! I have two apps into an umbrella project: the first one is Database, which manages queries, and the se...
New
William
I would like to know that is there any online source for learning Phoenix Framework for building E-Commerce Store? Any advantage on build...
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
malloryerik
Hi, this is for people who, like me, have had some friction using .html.heex templates in VSCode. The solution seems to be, in a hyphena...
New
lastday4you
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
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
stefanluptak
Hello everybody, usually, I use a 29" ultra-wide monitor for VSCode which can easily accomodate explorer (files panel) + file with code ...
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers' Functional Web Development with Elixir, OTP, and Phoenix forum. ...
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

We're in Beta

About us Mission Statement