mirror of
https://github.com/godotengine/godot-vscode-plugin.git
synced 2026-01-05 14:10:13 +03:00
Add constants of Node and Control to global comletion item list
This commit is contained in:
@@ -145,7 +145,7 @@ class Config {
|
||||
const ci = new CompletionItem(c.name, CompletionItemKind.Enum);
|
||||
ci.detail = c.value;
|
||||
ci.documentation = `${classdoc.name}.${c.name} = ${c.value}`;
|
||||
if(key[0] == "@")
|
||||
if(key[0] == "@" || key == "Node" || key == "Control")
|
||||
this.builtinCompletions.builtinConstants.push(ci);
|
||||
else
|
||||
this.builtinCompletions.constants.push(ci);
|
||||
|
||||
Reference in New Issue
Block a user