Goz3rr / vscode-glualint

glualint for vscode
https://marketplace.visualstudio.com/items?itemName=goz3rr.vscode-glualint
MIT License
7 stars 4 forks source link

vscode-glualint

glualint for vscode

Screenshot

Installing

  1. Install this extension
  2. Download glualint and follow the installation instructions
  3. Optionally install an extension that provides glua syntax highlighting like aStonedPenguin's

The linter should now be active for any lua and glua files

Configuration

glualint.linter: Points to the glualint executable, defaults to glualint
glualint.activeLanguages: Languages IDs to activate the linter for (lua and glua are supported, defaults to both)
glualint.run: When to run the linter executable (onSave, onType or manual, defaults to onType) glualint.allFiles: Run the linter on all files in the workspace, even if they are closed. Bypasses glualint.activeLanguages setting.

Also see configuring glualint

Formatter

This extension also integrates glualint's pretty printing functionality.
To format your code simply use vscode's built in format document or format selection actions.