glualint for vscode
- Install this extension
- If
glualintis not installed on your system, the extension will prompt you to download the latest prebuilt binary automatically from GLuaFixer GitHub Releases. Alternatively, you can manually download glualint and place it in your system PATH or configureglualint.linter. - Optionally install an extension that provides glua syntax highlighting like aStonedPenguin's
The linter should now be active for any lua and glua files
- Linter: Real-time diagnostic error and warning reporting
- Formatter: Code formatting / pretty-printing via VS Code's native
Format DocumentandFormat Selectioncommands. - Automatic Downloads & Updates: Automatically download glualint binary and checks for version updates on startup (can be disabled).
glualint.linter: Points to the glualint executable, defaults to glualint
glualint.activeLanguages: Language 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.
glualint.config: Points to a custom configuration file path.
glualint.workingDirectory: Override how to set the working directory for the glualint process (file or workspace, defaults to file).
file: Uses the directory of the file being linted.workspace: Uses the root workspace folder. Will not automatically discover nested glualint config files in subdirectories.glualint.checkForUpdates: Automatically check for new versions of glualint on startup (defaults totrue).
Also see configuring glualint
