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

Elixir

by elixir-editors ST2/ST3

A TextMate and Sublime Text Bundle for the Elixir programming language.

Details

  • 2017.10.12.09.20.16
  • github.​com
  • github.​com
  • 1 week ago
  • 22 minutes ago
  • 5 years ago

Installs

  • Total 30K
  • Win 5K
  • OS X 18K
  • Linux 7K
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 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5
Windows 4 5 2 6 4 6 6 5 7 3 5 9 7 5 9 6 8 4 11 7 5 8 6 6 5 8 8 8 12 9 10 6 7 4 4 9 20 15 5 3 7 5 4 5 12 5
OS X 16 23 21 31 25 23 13 21 19 15 18 21 14 16 25 20 15 18 22 19 17 25 22 16 19 20 9 21 27 25 22 30 27 17 26 39 81 67 16 11 18 11 16 21 11 27
Linux 4 12 8 11 7 10 4 10 7 8 14 10 8 6 9 5 10 16 12 11 4 4 7 8 9 6 8 7 9 10 10 15 12 9 8 11 17 18 6 5 5 8 12 8 13 13

Readme

Source
raw.​githubusercontent.​com

Elixir.tmbundle

A TextMate / Sublime Text Bundle for the Elixir programming language.

It provides syntax highlighting, snippets, and keybindings. Contributions and extensions are welcome!

Installation

Type the following commands to setup the bundle for TextMate:

mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd !$
git clone git://github.com/elixir-lang/elixir-tmbundle Elixir.tmbundle
osascript -e 'tell app "TextMate" to reload bundles'

If you are using TextMate 2, type the following commands in your shell:

mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd ~/Library/Application\ Support/TextMate/Bundles
git clone git://github.com/elixir-lang/elixir-tmbundle Elixir.tmbundle

If you are using Sublime Text 2, type the following commands in your shell:

cd ~/.config/sublime-text-2/Packages # If you are on Linux
cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages # If you are on OS X
cd %HOMEPATH%\AppData\Roaming\Sublime^ Text^ 2\Packages # If you are on Windows Vista or above
cd %HOMEPATH%\Application^ Data\Sublime^ Text^ 2\Packages # If you are on Windows XP
git clone git://github.com/elixir-lang/elixir-tmbundle Elixir

If you are using Sublime Text 3, type the following commands in your shell:

cd ~/.config/sublime-text-3/Packages # If you are on Linux
cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages # If you are on OS X
cd %HOMEPATH%\AppData\Roaming\Sublime^ Text^ 3\Packages # If you are on Windows Vista or above
cd %HOMEPATH%\Application^ Data\Sublime^ Text^ 3\Packages # If you are on Windows XP
git clone git://github.com/elixir-lang/elixir-tmbundle Elixir

You can now use Elixir's color syntax in files. In some cases, you should restart Sublime Text to make changes work.

Code formatting for Sublime Text 3

Elixir v1.6 includes a code formatter. This package includes super+shift+c as a keybinding to automatically save and format the current file you are working on. If the file has invalid syntax, an alert will appear.

You can also add your own keybindings as follows:

{ "keys": ["super+e"], "command": "mix_format_file" }