This linter plugin for SublimeLinter provides an interface to erlc. It will be used with files that have the Erlang
or Erlang Improved
syntax.
SublimeLinter must be installed in order to use this plugin.
Please use Package Control to install the linter plugin.
Before using this plugin, ensure that erlc
is installed on your system, which is part of the erlang
distribution.
erlang
may be installed via package managers (brew
on Mac OS X, apt-get
on Debian), or via installers at the erlang site.
Please make sure that the path to erlc
is available to SublimeLinter.
The docs cover troubleshooting PATH configuration.
- SublimeLinter settings: http://sublimelinter.com/en/latest/settings.html
- Linter settings: http://sublimelinter.com/en/latest/linter_settings.html
Additional settings for erlc:
Setting | Description |
---|---|
include_dirs | A list of directories to be added to the header search paths (-I is not needed). |
pa_dirs | A list of directories to be added to the beginning of the code path. |
pz_dirs | A list of directories to be added to the end of the code path. |
output_dir | The directory where the compiler should place the output file. |