Sublime Forum

Erlang syntax testers wanted


The current implementation of Sublime Text’s builtin Erlang syntax definition is quite outdated and therefore causes a lot of highlighting issues especially with recent Erlang language features like typespecs, etc.

To address all these issues and make use of the latest features of Sublime Text’s syntax engine, the whole syntax was rewritten from scratch based on the Erlang/OTP 21.2 specification.

The related pull request and the syntax definition can be found at:

Any feedback to help debugging the syntax definition would be appreciated.

Please report issues directly to the pull request.

How to install

Using git

  1. Clone to a folder of your choice.
  2. Checkout the pr/erlang-rewrite branch.
  3. Create a symlink/junction (or a copy) of the Erlang folder in the cloned repository in ST’s packages folder (e.g.: ~/.config/sublime-text-3/Packages or %APPDATA%/Sublime Text 3/Packages)

Download zip

  1. Download the ZIP-Archive of the pr/erlang-rewrite branch
  2. Extract the Packages-pr-erlang-rewrite/Erlang folder to ST’s packages folder (e.g.: ~/.config/sublime-text-3/Packages or %APPDATA%/Sublime Text 3/Packages)