ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Elixir​Sublime

by vishnevskiy ST3

Elixir plugin for SublimeText 3 providing code completion and linting.

Details

Installs

  • Total 24K
  • Win 5K
  • OS X 13K
  • Linux 6K
Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3
Windows 1 1 1 4 0 0 0 3 2 0 0 1 3 1 2 0 0 3 4 10 4 0 1 2 2 1 0 0 2 2 0 0 1 1 0 1 1 0 0 0 0 2 0 1 2 1
OS X 1 2 4 6 6 5 0 0 2 3 2 4 1 2 3 2 0 2 2 1 4 6 1 4 2 7 11 2 0 1 8 1 4 2 2 2 1 5 3 0 1 5 2 2 1 4
Linux 3 0 1 4 3 4 0 0 1 1 3 1 4 3 1 2 1 2 3 0 2 1 5 2 0 0 2 3 5 0 0 2 4 1 3 0 4 1 3 2 1 5 4 1 0 3

Readme

Source
raw.​githubusercontent.​com

ElixirSublime

Features

  • Code completion for modules and functions.
  • Go to definition for modules and functions with Shift+Click
  • Errors and warnings via SublimeLinter3.

This package does not offer syntax highlighting. Use the offical Elixir TextMate bundle.

Demo

Demo

Caveats

This is built by piggybacking on IEx.Autocomplete so it can be a little naive.

  • It does not understand macros, aliases and imports and therefore will not provide completion for them.
  • Go to definition does not work on local functions.
  • Since Elixir and Erlang standard library sources tend to not ship with the install it does best effort for go to definition by opening the documentation in the browser.

Installation

  1. Install Sublime Package Control if you haven't already.
  2. Brand up the commands with CTRL+Shift+P or CMD+Shift+P and type Package Control: Install Package then ElixirSublime.
  3. Repeat the previous step for SublimeLinter if you don't already have it.

Troubleshooting

If the plugin does not seem to work then it probably cannot find your Elixir installation. Provide the path in the default user settings.

{
    "env": {
        "PATH": "path to elixir bins"
    }
}