.glua.json when it is the source, otherwise
to the workspace folder.
What this gets you
Each tree is indexed the same way your own files are, so you get more than silence:Why source, rather than a bundled list
The obvious alternative is to ship a curated list of names per framework and enable it by name. That was the original plan and it is worse:- A hand-written list is a snapshot. It is wrong the moment a framework releases, and every entry is a claim someone has to keep true.
- It can only ever silence names. Reading the source gives real signatures, parameter names, and every function rather than the popular ones.
- It only covers the frameworks somebody thought to write down, whereas this works for the internal library your server has and nobody else does.
Getting the source
Most frameworks are a Git clone away:garrysmod/addons/.
Indexing adds to startup time in proportion to the framework’s size. ULib is
around 40 files and unnoticeable; a large one is worth excluding from
--root scans in CI if lint time starts to matter.