GLua for Garry's ModLanguage support for Garry's Mod Lua: IntelliSense that follows your values, diagnostics that catch realm and net message bugs before you launch the game, and a formatter. Documentation · Installation · Quick start · Source · Releases What it doesIntelliSense that tracks types. Completion follows values through calls,
loops, callbacks and metatables — Realm awareness. Every file gets a realm from its path, narrowed by
Net message analysis. The sender and the handler live in different files, so nothing normally connects them. Unregistered messages, messages never sent, handlers that never run, and payload mismatches between the writes and the reads are all reported across files. Your own classes. Hook intelligence. Name completion, typo detection with suggestions, and
callback parameters typed from the hook's documented signature. A formatter. Reprints from the syntax tree. Refuses to touch a file that
does not parse, never drops a comment, and leaves idiomatic one-liners like
Backed by 5,586 API entries scraped from the Garry's Mod wiki, plus an index of your own workspace. SetupOpen a
To use the formatter:
It leaves other Lua projects aloneThis extension does not claim
ConfigurationEvery option is a VS Code setting, and can also live in a committed
Individual findings can be suppressed inline:
Configuration guide → · Rule reference → Prior artHeavily inspired by vscode-glua-enhanced, which is where a lot of these ideas come from. This is another attempt at the same problem as a language server, with a parser and a type model underneath. LicenceMIT. The API documentation content belongs to Facepunch and the wiki contributors. |