Elixir intellisense stop working

Recently, VSCode intellisense feature for elixir has stopped working on my Mac. Code autocomplete, go to definition, function description… are all failed. My colleagues encounter the same problem.
After researching, I found the root cause is ElixirLS…


This content originally appeared on DEV Community and was authored by Long Le

Recently, VSCode intellisense feature for elixir has stopped working on my Mac. Code autocomplete, go to definition, function description... are all failed. My colleagues encounter the same problem.
After researching, I found the root cause is ElixirLS has crashed from launching.
ElixirLS crash
I tried to disable ElixirLS, close the editor, open the editor again and enable ElixirLS but no luck. I also tried to reinstall ElixirLS but nothing changes.
So I went to ElixirLS Github homepage, move to Troubleshooting region and I found the solution:

  1. Remove .elixir_ls folder in project folder:

    rm -rf .elixir_ls/ 
    
  2. Close VSCode.

  3. Open project in VSCode again, wait for ElixirLS run.

    image

  4. And voila!


This content originally appeared on DEV Community and was authored by Long Le


Print Share Comment Cite Upload Translate Updates
APA

Long Le | Sciencx (2021-09-11T00:41:07+00:00) Elixir intellisense stop working. Retrieved from https://www.scien.cx/2021/09/11/elixir-intellisense-stop-working/

MLA
" » Elixir intellisense stop working." Long Le | Sciencx - Saturday September 11, 2021, https://www.scien.cx/2021/09/11/elixir-intellisense-stop-working/
HARVARD
Long Le | Sciencx Saturday September 11, 2021 » Elixir intellisense stop working., viewed ,<https://www.scien.cx/2021/09/11/elixir-intellisense-stop-working/>
VANCOUVER
Long Le | Sciencx - » Elixir intellisense stop working. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/09/11/elixir-intellisense-stop-working/
CHICAGO
" » Elixir intellisense stop working." Long Le | Sciencx - Accessed . https://www.scien.cx/2021/09/11/elixir-intellisense-stop-working/
IEEE
" » Elixir intellisense stop working." Long Le | Sciencx [Online]. Available: https://www.scien.cx/2021/09/11/elixir-intellisense-stop-working/. [Accessed: ]
rf:citation
» Elixir intellisense stop working | Long Le | Sciencx | https://www.scien.cx/2021/09/11/elixir-intellisense-stop-working/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.