elixir-lsp/elixir_sense

Provides context-aware information for code completion, documentation, go/jump to definition, signature info and more

340

stars

1,854

commits

Elixir

primary language

Jul 11, 2026

updated

README

ElixirSense Actions Status

An API for Elixir projects that provides building blocks for code completion, documentation, go/jump to definition, signature info and more via AST inspection and runtime introspection.

Supported versions

ElixirSense supports the five most recent Elixir versions, paired with the latest Erlang/OTP releases each Elixir supports. The matrix below mirrors Elixir's compatibility table; each pairing is exercised in CI.

ElixirErlang/OTP
1.1626
1.1727
1.1827
1.1927, 28
1.2027, 28, 29

Other OTP versions inside each Elixir's supported range will likely work but aren't tested.

Usage

defp deps do
  [
    {:elixir_sense, github: "elixir-lsp/elixir_sense"},
  ]
end

Testing

$ mix deps.get
$ mix test

A few of the tests require a source installation of Elixir which you can accomplish with asdf (use ref:v1.12.3) or kiex

To run the tests that require a source installation of Elixir run:

mix test --include requires_source

For coverage:

mix coveralls

Credits

  • This project probably wouldn't even exist without all the work done by Samuel Tonini and all contributors from alchemist-server.
  • The Expand feature was inspired by the mex tool by Luc Fueston. There's also a very nice post where he describes the whole process of Building A Macro-Expansion Helper for IEx.
  • This project includes modified source code from Elixir project IEx autocomplete Copyright (c) 2012 Plataformatec, which powers introspection and suggestions features
  • This project includes modified source code from ExDoc project ExDoc Copyright (c) 2012 Plataformatec, which powers documentation retrieval and formatting

Contributors

(top 30 of 37)

lukaszsamson

1,546 commits

msaraiva

199 commits

rodrigues

26 commits

axelson

14 commits

elixir-lsp/elixir_sense

Provides context-aware information for code completion, documentation, go/jump to definition, signature info and more

340

stars

1,854

commits

Elixir

primary language

Jul 11, 2026

updated

README

ElixirSense Actions Status

An API for Elixir projects that provides building blocks for code completion, documentation, go/jump to definition, signature info and more via AST inspection and runtime introspection.

Supported versions

ElixirSense supports the five most recent Elixir versions, paired with the latest Erlang/OTP releases each Elixir supports. The matrix below mirrors Elixir's compatibility table; each pairing is exercised in CI.

ElixirErlang/OTP
1.1626
1.1727
1.1827
1.1927, 28
1.2027, 28, 29

Other OTP versions inside each Elixir's supported range will likely work but aren't tested.

Usage

defp deps do
  [
    {:elixir_sense, github: "elixir-lsp/elixir_sense"},
  ]
end

Testing

$ mix deps.get
$ mix test

A few of the tests require a source installation of Elixir which you can accomplish with asdf (use ref:v1.12.3) or kiex

To run the tests that require a source installation of Elixir run:

mix test --include requires_source

For coverage:

mix coveralls

Credits

  • This project probably wouldn't even exist without all the work done by Samuel Tonini and all contributors from alchemist-server.
  • The Expand feature was inspired by the mex tool by Luc Fueston. There's also a very nice post where he describes the whole process of Building A Macro-Expansion Helper for IEx.
  • This project includes modified source code from Elixir project IEx autocomplete Copyright (c) 2012 Plataformatec, which powers introspection and suggestions features
  • This project includes modified source code from ExDoc project ExDoc Copyright (c) 2012 Plataformatec, which powers documentation retrieval and formatting

Contributors

(top 30 of 37)

lukaszsamson

1,546 commits

msaraiva

199 commits

rodrigues

26 commits

axelson

14 commits

Languages

Elixir

100.0%