Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 1.12 KB

README.md

File metadata and controls

33 lines (26 loc) · 1.12 KB

lslinter-vscode

A simple Visual Studio Code extension to lint LSL scripts with lslint

TODO

  1. Will move linter release into package for easy install.
  2. Make linter work on type instead of save only.
  3. Make #2 an option
  4. Make the highlighted text the actual problem, not what follows problem.
  5. fix unexpected identifier bug

Requirements

  1. Clone the linter git clone https://github.com/Makopo/lslint.git
  2. Install it in your system path
  3. Ensure that lslint is installed in your path, by opening up powershell or cmd or terminal and typing lslint;
  4. Run Install Extension command from Command Palette.
  5. Search and choose lslint

Options

"lslint.enable" - enable LSL linter

"lslint.warnOnSave" - show warning message if there is an error when saving a file

Default options are:

{
    "lsllinter.enable": true,
    "lsllinter.warnOnSave": false,
    "lsllinter.realtimeLinting": true,
}        

Enjoy!