ElixirSublime
Elixir plugin for SublimeText 3 providing code completion and linting.
Details
Installs
- Total 27K
- Win 6K
- Mac 15K
- Linux 7K
Apr 3 | Apr 2 | Apr 1 | Mar 31 | Mar 30 | Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | Mar 4 | Mar 3 | Mar 2 | Mar 1 | Feb 28 | Feb 27 | Feb 26 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | Feb 17 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 2 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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
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
- Install Sublime Package Control if you haven't already.
- Brand up the commands with
CTRL+Shift+P
orCMD+Shift+P
and typePackage Control: Install Package
thenElixirSublime
. - 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"
}
}