From 8dae3d71b27f24c2fae64d964376eee56b798095 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 89c8d58b3cb..6224bb09028 100644 --- a/modules/gdscript/gdscript_editor.cpp +++ b/modules/gdscript/gdscript_editor.cpp @@ -2194,7 +2194,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", "remote", "sync", "master", "puppet", "slave", "remotesync", "mastersync", "puppetsync",