From 4410d81189c3c10cceb48b3ef844da50156082b3 Mon Sep 17 00:00:00 2001 From: HolonProduction Date: Sat, 22 Apr 2023 16:29:14 +0200 Subject: [PATCH] Suggest class_name in 3.x autocompletion. --- modules/gdscript/gdscript_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gdscript/gdscript_editor.cpp b/modules/gdscript/gdscript_editor.cpp index 648f7a87f..969890f95 100644 --- a/modules/gdscript/gdscript_editor.cpp +++ b/modules/gdscript/gdscript_editor.cpp @@ -2197,7 +2197,7 @@ static void _find_identifiers(const GDScriptCompletionContext &p_context, bool p static const char *_keywords[] = { "and", "in", "not", "or", "false", "PI", "TAU", "INF", "NAN", "self", "true", "as", "assert", - "breakpoint", "class", "extends", "is", "func", "preload", "setget", "signal", "tool", "yield", + "breakpoint", "class", "class_name", "extends", "is", "func", "preload", "setget", "signal", "tool", "yield", "const", "enum", "export", "onready", "static", "var", "break", "continue", "if", "elif", "else", "for", "pass", "return", "match", "while", nullptr };