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

Elixir​Syntax

The most powerful Elixir for the most Sublime experience.

Details

  • 2.2.0
    2.0.0
  • github.​com
  • github.​com
  • 1 month ago
  • 52 minutes ago
  • 4 years ago

Installs

  • Total 4K
  • Win 747
  • Mac 2K
  • Linux 1K
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 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
Windows 0 1 0 2 0 0 0 0 0 0 1 0 0 0 1 2 0 1 0 2 0 0 0 0 2 1 0 0 1 1 0 0 1 1 1 0 0 1 0 0 0 0 0 0 1
Mac 0 1 2 1 4 1 0 3 0 0 2 2 2 2 1 2 1 1 2 1 2 0 0 5 0 1 3 5 2 2 4 3 1 1 3 4 1 0 1 2 0 0 3 0 3
Linux 0 1 1 1 2 0 1 0 0 3 1 1 2 1 1 2 1 1 0 0 0 2 0 1 0 1 1 3 0 1 1 1 3 4 5 4 0 0 0 0 0 0 0 0 1

Readme

Source
raw.​githubusercontent.​com

ElixirSyntax

ElixirSyntax was initially based on the Elixir.tmbundle package but has been rewritten since, providing more accurate syntax matching as well as better syntax highlighting.

Features

  • Working Goto Definition functionality
  • HTML template highlighting:
    • HEEx:
    • Surface:
    • LiveView:
  • Full PCRE syntax highlighting:
  • Type highlighting:

Some of the other provided features are not immediately evident. Among them are:

The fragment and sql functions

SQL syntax is highlighted inside Ecto's fragment macro.

Add an sql macro/function to your project to enjoy SQL highlighting anywhere it's used.

The JSON ~j and ~J sigils (Jason)

Embed JSON strings in your Elixir code. Notice the interpolated Elixir code is colored correctly.

The YAML ~y and ~Y sigils (YamlElixir)

Changes

See CHANGELOG.md for the list of releases and noteworthy changes.

Contributors/Maintainers

  • @azizk rewrote the whole syntax definition with an extensive test-suite and added a wealth of new features. ⭐
  • @princemaple initially brought the tm-syntax to sublime-syntax and made some improvements.