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 27K
  • Win 6K
  • Mac 15K
  • Linux 7K
Nov 21 Nov 20 Nov 19 Nov 18 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
Windows 1 0 0 1 1 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 3 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 2
Mac 1 0 0 2 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 3 1 1 0 1 0 0 0 0 0 0 1 0 0 1 0 0 0 1 0 0 1 2 1 0
Linux 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 1 1 2 0 0 0 1 0 2 0 0 0 0

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"
    }
}