princemaple / elixir-sublime-syntax

The most powerful Elixir for the most Sublime experience.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

The most powerful Elixir for the most Sublime experience.

License:MIT License


Languages

Language:Elixir 97.8%Language:HTML 2.0%Language:Python 0.2%