Skip to content

VSCode extension for opening Elixir Documentation in built-in Simple Browser.

License

Notifications You must be signed in to change notification settings

s6o/elixir-documentation

Repository files navigation

Elixir Documentation

This extension provides the commands:

  • Elixir Documentation
  • Erlang/OTP Documentation
  • Elixir/Erlang documentation at cursor

that open Elixir or Erlang documentation in the built-in Simple Browser.

Features

The Elixir Documentation will open up the main Elixir language documentation site accordingly to your local Elixir version.

The Erlang/OTP Documentation will open up the main Erlang/OTP documentation site accordingly to your local OTP version.

The Elixir/Erlang documentation at cursor will try to parse the module.function/arity at current cursor location and will try to open respective Elixir/Erlang module/function/arity documentation page.

Requirements

  • Erlang/OTP and Elixir installation
  • The iex executable must be in PATH.
  • VSCode's Elixir LSP extension

Specific versions of Elixir/OTP also require a respective Elixir LSP extension version:

  • OTP 22.x with Elixir 1.9.x -> Elixir LSP extension: v0.7.0

Extension Settings

This extension contributes the following settings:

Known Issues

  • Arity of function usage without default argument overrides is incorrect (without LSP)

Release Notes

0.1.0

New approach: of parsing the current cursor line into tokens that then are completed via Elixir LSP for more accurate documentation lookups.

0.0.1

Initial very-very basic version for local testing.

About

VSCode extension for opening Elixir Documentation in built-in Simple Browser.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published