This SublimeLinter 3 plugin provides an interface to lslint.
This plugin applies linting to files that have the lsl
and ossl
syntax.
If you do not know what a linter is or are new to SublimeLinter, please refer to the SublimeLinter documentation.
Due to SublimeLinter4 beaking this plugin, you need to disable automatic package upgrade until a better solution is found/created. Sorry about that.
This package only works with SublimeLinter v3.
You need to add the following repository to package control (Command Palette -> Package control -> Add Repository
):
https://github.com/SublimeLinter/SublimeLinter/tree/v3
then install SublimeLinter from Package Control.
You're advised to install Will Bond's Package Control (see the installation page there) for Sublime Text, which makes finding, installing and keeping packages up-to-date much easier.
- Sublime Text
- SublimeLinter 3 (You must install SublimeLinter 3 manually. SublimeLinter4 does not work with this plugin.)
In Sublime Text select from the menu Tools > Command Palette
(see also Command Palette), select Package Control: Install Package
and hit Enter ↩, then select SublimeLinter-contrib-lslint
and hit Enter ↩.
Sublimelinter-contrib-lslint
is developed for makopo/lslint and will probably not work with pclewis' original binary.
- Enable inline tooltips (Command Palette => SublimeLinter: Enable Inline Tooltips)
- Install
SublimeLinter Inline Errors
byalexkuz
(Then disableShow Errors on Save
!): (Optional, not for everyone)
Please see .github/CONTRIBUTING.md
.
- @pclewis creating and/or providing lslint to the community
- @makopo for makopo/sublime-text-lsl and lslint improvements
- @sei-lisa for coding help and LSL compiler experience
- @buildersbrewery for care, feeding and additional tips