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.27.08.16.38
  • github.​com
  • github.​com
  • 2 months ago
  • 2 hours ago
  • 5 years ago

Installs

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

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