A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/elixir-lsp/elixir-ls/issues/364 below:

Error with an 'uninitialised' git repository: "No mixfile found in project ... set `elixirLS.projectDir` in your settings" ยท Issue #364 ยท elixir-lsp/elixir-ls ยท GitHub

Environment
Erlang/OTP 23 [erts-11.0.3] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1]
Elixir 1.11.0-dev (cce861e) (compiled with Erlang/OTP 23)
Troubleshooting

If you're experiencing high CPU usage, it is most likely Dialyzer building the PLTs; after it's done the CPU usage should go back to normal. You could also disable Dialyzer in the settings.

Reproduce step (no git)
[eglot] Connected! Server `EGLOT (lib/elixir-mode)' now managing `elixir-mode' buffers in project `lib'.
[eglot] Server reports (type=1): No mixfile found in project. To use a subdirectory, set `elixirLS.projectDir` in your settings

with a new dir lib/.elixir_ls with only a .gitignore file

Reproduce step (git init)
[eglot] Connected! Server `EGLOT (empty/elixir-mode)' now managing `elixir-mode' buffers in project `empty'.
tree .elixir_ls/
.elixir_ls/
โ”œโ”€โ”€ build
โ”‚   โ””โ”€โ”€ test
โ”‚       โ””โ”€โ”€ lib
โ”‚           โ””โ”€โ”€ empty
โ”‚               โ”œโ”€โ”€ consolidated
โ”‚               โ”‚   โ”œโ”€โ”€ Elixir.Collectable.beam
โ”‚               โ”‚   โ”œโ”€โ”€ Elixir.Enumerable.beam
โ”‚               โ”‚   โ”œโ”€โ”€ Elixir.IEx.Info.beam
โ”‚               โ”‚   โ”œโ”€โ”€ Elixir.Inspect.beam
โ”‚               โ”‚   โ”œโ”€โ”€ Elixir.List.Chars.beam
โ”‚               โ”‚   โ”œโ”€โ”€ Elixir.Phoenix.Param.beam
โ”‚               โ”‚   โ””โ”€โ”€ Elixir.String.Chars.beam
โ”‚               โ””โ”€โ”€ ebin
โ”‚                   โ”œโ”€โ”€ Elixir.Empty.beam
โ”‚                   โ””โ”€โ”€ empty.app
โ”œโ”€โ”€ dialyzer_manifest_23.0.3_elixir-1.11.0-dev_test
โ””โ”€โ”€ dialyzer_tmp

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4