Skip to content

Issue with auto-completion when dialyzer is disabled for an umbrella app #209

@akash-akya

Description

@akash-akya

Environment

Erlang/OTP 21 [erts-10.3] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [hipe]
Elixir 1.7.3 (compiled with Erlang/OTP 21)

Language server version: v0.3.3

MacOS Mojave, Emacs with eglot as LS client

Issue

Elixir LS fails to return autocompletion results for umbrella application when dialyzer is disabled

Reproducing the issue

  • clone https://github.com/akash-akya/elixir-ls-test
  • open project with dialyzer disabled, with emacs and eglot, dialyzer is disabled by default using .dir-locals.el.
  • let elixir-ls build and generate .beam files
  • open apps/foo/lib/foo.ex and type Core.Bar this should trigger auto-completion and it should show Core.BarServer as suggestion
  • close the project and open it again
  • try the same auto-completion as before, this time it won't show the suggestion

My best guess is, it is something to do with not triggering complete project compilation when we reopen the project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions