Skip to content
This repository was archived by the owner on Nov 29, 2019. It is now read-only.

fjl/Sublime-Erlang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ab1cf5b · Feb 9, 2015
May 16, 2013
Feb 9, 2015
May 17, 2013
Nov 12, 2011
Oct 7, 2011
Aug 22, 2012
Dec 10, 2013
Dec 10, 2013
Dec 10, 2013
Aug 30, 2013
May 22, 2013
Aug 27, 2013
Aug 27, 2013
Feb 9, 2015
Feb 9, 2015
Jul 19, 2013
Feb 2, 2013
Aug 30, 2013
Jul 19, 2013
Oct 7, 2011
Jan 29, 2013
Nov 12, 2011
Oct 7, 2011
Oct 7, 2011
Nov 11, 2011
May 16, 2013
Jan 31, 2013
Jan 31, 2013
Jan 29, 2013
Jan 29, 2013
Feb 5, 2013
Feb 5, 2013
Feb 5, 2013
Feb 5, 2013
Feb 5, 2013
Feb 5, 2013
Aug 30, 2013
Oct 7, 2011
Jan 29, 2013
May 22, 2013
May 17, 2013
Jan 29, 2013
Oct 7, 2011
Jan 29, 2013
May 16, 2013
May 16, 2013
Jan 29, 2013
Jan 29, 2013
Jul 23, 2013
May 6, 2014

Repository files navigation

Better Erlang Support for Sublime Text

Sublime Text comes with basic support for the Erlang programming language, but most of it is just copied from TextMate and suffers from annoying bugs. This repository contains a much-improved Erlang package.

  • Hand-tuned grammar definitions for Erlang, Leex and Yecc
  • Goto Symbol works correctly
  • Improved auto-match
  • Snippets that make your life easier when writing Erlang code

Build Systems

This package comes with a build system definition for rebar. It runs rebar in the project folder containing the current file.

There is also a build system that runs erlc.

Installation

  • clone this repository into the ST Packages folder
  • remove the Erlang folder inside your ST2 Packages folder or (more elegant) disable the Erlang package in your User Settings file.

This package is not yet available through Package Control. I recommend tracking this repository using Package Control's "Add Repository" command.

Contributing

The syntax files (.tmLanguage) are built from JSON sources using a custom build system. If you modify a grammar, please do so in the JSON file and then regenerate the XML. The XML files should be committed alongside your changes to the JSON source.

You are kindly invited to use the included Sublime Text project file.

To build all grammar files from the command line, run:

build/all.py

Pull requests and issues are welcome.