From my understanding, elixir-ls stopped being actively developed some time ago, use that instead: https://github.com/elixir-lsp/elixir-ls It’s actively developed fork.
From your first screenshot it seems as if you were using JakeBeckers language server plugin. It is not under development anymore and probably will break with Elixir 1.10.
Instead you should install the fork which is actively maintained and got quick fixes to work with Elixir 1.10 within days after the problems have been identified.
Also, whenever there are problems marked in your code, make sure you check the problems pane in the VScode. It might give you additional details.
I meant in the “OUTPUT” pane, there is a dropdown to the right, there you can check the “ElixirLS” log.
Though as far as I remember, mjmcloug.vscode-elixir builds on the “elixir-sense” library which is used in the LS-fork as well.
Therefore it might be, that either both extensions are conflicting, or, as the last release of mjmcloug.vscode-elixir is from 2017, it might just be, that it suffers from the same incompatibilites with Elixir 1.10, that also JakeBeckers LS implementation now suffers from.
Hi, I used ElixirLS Fork in my project and it worked well and made good type space for my each function. but it doesn’t show type space in my new umbrella project
how can I fix this ?
I’m assuming your talking about the inferred type specs from code lens. Are you receiving any errors? Here’s some of the debug instructions for vscode:
Check the output log by opening View > Output and selecting “ElixirLS” in the dropdown. Please include any output that looks relevant. (If ElixirLS isn’t in the dropdown, the server failed to launch.)
Check the developer console by opening Help > Toggle Developer Tools and include any errors that look relevant.
Run the VSCode command “ElixirLS Fork: Copy Debug Info” and paste the output here
Hi, I deleted all the deps, _build and .elixir_ls file after these job I closed VScode and re-launch it, but it didint work until I renamed a function name and saved , recompiled. for now it works and shows me @spec .
if I see this problem I said I will definitely do what you said,