https://github.com/sublimelinter/sublimelinter-erlc
SublimeLinter plugin for Erlang, using erlc
https://github.com/sublimelinter/sublimelinter-erlc
Last synced: 10 months ago
JSON representation
SublimeLinter plugin for Erlang, using erlc
- Host: GitHub
- URL: https://github.com/sublimelinter/sublimelinter-erlc
- Owner: SublimeLinter
- License: mit
- Created: 2019-08-21T19:56:40.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-01T12:51:24.000Z (over 1 year ago)
- Last Synced: 2025-04-05T13:23:19.723Z (10 months ago)
- Language: Python
- Size: 20.5 KB
- Stars: 2
- Watchers: 8
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
SublimeLinter-erlc
==========================
[](https://travis-ci.com/SublimeLinter/SublimeLinter-erlc)
This linter plugin for [SublimeLinter](https://github.com/SublimeLinter/SublimeLinter) provides an interface to [erlc](http://erlang.org/doc/man/erlc.html). 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](https://packagecontrol.io) 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](https://www.erlang-solutions.com/downloads/download-erlang-otp).
Please make sure that the path to `erlc` is available to SublimeLinter.
The docs cover [troubleshooting PATH configuration](http://sublimelinter.com/en/latest/troubleshooting.html#finding-a-linter-executable).
## 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:
- SublimeLinter settings: http://sublimelinter.com/en/latest/settings.html
- Linter settings: http://sublimelinter.com/en/latest/linter_settings.html