Skip to content

SublimeLinter/SublimeLinter-erlc

Repository files navigation

SublimeLinter-erlc

Build Status

This linter plugin for SublimeLinter provides an interface to erlc. It will be used with files that have the Erlang syntax.

Installation

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.

Settings

Additional settings for erlc:

Setting Description
I A list of directories to be added to the header search paths.
pa A list of directories to be added to the beginning of the code path.
pz A list of directories to be added to the end of the code path.
o The directory where the compiler should place the output file. (Defaults to the working dir.)

You can add arbitrary command line arguments using the setting args.

Note: On previous version sof this plugin the above settings were named include_dirs, pa_dirs, pz_dirs, and output_dir. We now use the default name from the command line.

General documentation about the settings system can be found here:

About

SublimeLinter plugin for Erlang, using erlc

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 6

Languages