luadebug.scriptRoots
If unset, the workspace root is indexed. Once set, only listed folders are parsed:
"luadebug.scriptRoots": [
"${workspaceFolder}/src",
"${workspaceFolder}/scripts"
]
Used for require path hints and symbol indexing. Huge trees slow startup.
Narrow scope
"luadebug.ignoreDir": ["${workspaceFolder}/src/3rd"],
"luadebug.ignoreFiles": ["${workspaceFolder}/src/generated.lua"],
"luadebug.maxFileSize": 2048
maxFileSize is in KB; larger files are skipped (default about 2MB).
require options
requireFunNames— function names treated as require (default require, import).modulePathMark— use.or/in require paths.
Completion UX
postfixCompletion— postfix completionquickFilePath— file-path hints after quotesvariableNameMatching— auto-link when a variable name matches a global table / file / class namesnippetSuggestions— maps editor.snippetSuggestionsprotobufRoot— parse .proto files in a folder for hintsopenUriConfig— open a URL from the current selection