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.
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:
Remove .elixir_ls folder in project folder:
rm -rf .elixir_ls/
If the above method does not work, you can try the final solution below:
Get your elixir path
This way has an inconvenience that is every time you update the extension, you need to modify the
launch.sh file again.