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

Elixir​Syntax

by princemaple ST3

The most powerful Elixir for the most Sublime experience.

Details

  • 2.1.0
    2.0.0
  • github.​com
  • github.​com
  • 2 days ago
  • 1 hour ago
  • 4 years ago

Installs

  • Total 4K
  • Win 718
  • Mac 2K
  • Linux 1K
Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12
Windows 0 1 1 0 0 0 1 0 0 0 1 2 1 0 0 0 0 0 1 1 0 0 0 0 0 1 0 1 1 0 0 1 0 0 0 0 0 1 1 0 0 1 0 0 0 0
Mac 1 0 1 1 2 2 0 1 1 0 0 1 1 0 2 2 1 0 2 0 0 2 0 1 0 0 1 2 1 1 0 1 1 0 3 2 1 0 1 2 2 0 0 3 1 1
Linux 1 1 1 0 2 3 6 1 0 0 0 0 3 1 0 1 0 1 2 0 0 1 2 0 1 1 1 1 2 1 0 0 0 0 0 0 0 0 1 1 0 0 0 2 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
  • LiveView template highlighting: ~L"..."\ (Note: will be changed to the new HEEx syntax eventually.)
  • 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.