ElixirLS - the Elixir Language Server

Have you tried connecting with observer to see what going on? You can pass name/sname/cookie via `ELS_ELIXIR_OPTS’

It looks like it might have been dialyzer building its PLT.

Actually, maybe not.

Here are some screen grabs from observer. There were some 30 processes with similar stack traces all with high reduction counts.

1 Like

@nhpip Please open an issue with repro. It seems the file you are editing is triggering some infinite loop or performance issue. All the stacktraces are from elixir_sense MetadataBuilder which ElixirLS uses to analyze AST

Will do

Version 0.20.0 has been released :rocket:


  • Selection ranges provider added. This provider handles expand/shrink selection editor commands in a semantic aware way

  • Completions, hover and signature help providers now are able to display @doc and other attributes data from the currently edited buffer

  • Hover provider now returns markdown with working links to hexdocs and erlang documentation. Support for ExDoc autolinking and erlang see tags has been added

See full release notes

ElixirLS elixir-ls/CHANGELOG.md at v0.20.0 · elixir-lsp/elixir-ls · GitHub
vscode extension vscode-elixir-ls/CHANGELOG.md at v0.20.0 · elixir-lsp/vscode-elixir-ls · GitHub


Do you think it would be possible to configure ElixirLS to format some attributes as comment text?

In VsCode the @moduledoc, @doc and @typedoc attributes have special formatting abilities, most importantly the text can be hard wrapped. Also the text is displayed in dull colors instead of the color for strings.

In our app, we have two layers of documentation for some modules: @moduledoc, which is what it generally is, and @myappdoc that is used to build another documentation static site, intended for users of the app (those modules are implementations of data pipeline transformers, so they export some metadata).

I would like to be able to display and hard wrap that custom attribute just like @moduledoc.

Is it something I can do by overriding some VsCode properties?