Adding elixir_sense to mix.exs seems to break autocomplete
Hi folks,
I setup a new Ash project tonight, following the documentation for AshAuthentication. I added
elixir_sense
to mix.exs
but this seems to be breaking autocomplete and other LSP functions. In case there is some difference between nvim and VS Code I tried both, but have the same issue. In the LSP logfile that nvim generates I see:
Ideas on how to overcome this? Or should I open an issue over in the Github Elixir Sense repo?4 Replies
So the issue isn't really with elixir_sense
its actually a version compatibility issue most likely
The problem is that the older version of elixir-ls doesn't work with our elixir_sense plugin, and they still haven't released a new version of the VSCode package
For now, I'm just going to remove the mentions of installing your own elixir_sense because that breaks too often (i.e if an update happens in elixir_sense that the old version of elixir-ls is incompatible with)
And when they do a release of the new vscode package that will fix it
If you are using nvim you may not have this problem?
so you might just be able to remove
elixir_sense
entirely?That works, thanks!! I’ll watch for a new ElixirLS release & then try adding it back.
Have you checked to see if our custom resource autocomplete works for you?
I don’t think it does, I’ll try again when I’m back at the keyboard.