glualint for vscode
- Install this extension
- Download glualint and follow the installation instructions
- Optionally install an extension that provides glua syntax highlighting like aStonedPenguin's
The linter should now be active for any lua and glua files
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
)
Also see configuring glualint
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.