Skip to content

Commit be0af9d

Browse files
authored
Update README troubleshooting and known issues (#554)
Add lsp-mode troubleshooting Remove dialyzer mitigation since it is now part of the repository
1 parent 1b41c05 commit be0af9d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,11 @@ and you installed Elixir and Erlang from the Erlang Solutions repository, you ma
218218

219219
On fedora if you only install the elixir package you will not have a full erlang installation, this can be fixed by running `sudo dnf install erlang` (reported in [#231](https://github.com/elixir-lsp/elixir-ls/issues/231))
220220

221+
If you are using Emacs with lsp-mode there's a possibility that you have set the
222+
wrong directory as the project root (especially if that directory does not have
223+
a `mix.exs` file). To fix that you should remove the project and re-initialize:
224+
https://github.com/elixir-lsp/elixir-ls/issues/364#issuecomment-829589139
225+
221226
## Known Issues/Limitations
222227

223228
* `.exs` files don't return compilation errors
@@ -226,7 +231,6 @@ On fedora if you only install the elixir package you will not have a full erlang
226231
* "Go to definition" does not work within the `scope` of a Phoenix router
227232
* On-hover docs do not work with erlang modules or functions (better support of EEP-48 is needed)
228233
* On first launch dialyzer will cause high CPU usage for a considerable time
229-
* Possible mitigation in [#96](https://github.com/elixir-lsp/elixir-ls/issues/96)
230234
* ElixirLS requires a workspace to be opened. Editing single-files is not supported [#307](https://github.com/elixir-lsp/elixir-ls/issues/307)
231235

232236
## Building and running

0 commit comments

Comments
 (0)