summaryrefslogtreecommitdiff
path: root/core/config
diff options
context:
space:
mode:
authorYuri Sizov <11782833+YuriSizov@users.noreply.github.com>2023-01-24 22:26:03 +0300
committerGitHub <noreply@github.com>2023-01-24 22:26:03 +0300
commitfab9926a958ffb5771c59a93f4416d3f3df45240 (patch)
tree1a022f066c756ff1867d7a8fa74a26d6af48a184 /core/config
parent9de0c73e4529afe3ea060332a03e17cc0581efd8 (diff)
parent8f706be6fa122a0e3ebf6b48a011023f4a20516c (diff)
Merge pull request #65137 from dalexeev/editor-naming
Rearrange `editor/naming/*` project settings
Diffstat (limited to 'core/config')
-rw-r--r--core/config/project_settings.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/config/project_settings.cpp b/core/config/project_settings.cpp
index db3191334a..00e74a7cce 100644
--- a/core/config/project_settings.cpp
+++ b/core/config/project_settings.cpp
@@ -1286,6 +1286,10 @@ ProjectSettings::ProjectSettings() {
GLOBAL_DEF(PropertyInfo(Variant::STRING, "editor/script/templates_search_path", PROPERTY_HINT_DIR), "res://script_templates");
+ // For correct doc generation.
+ GLOBAL_DEF("editor/naming/default_signal_callback_name", "_on_{node_name}_{signal_name}");
+ GLOBAL_DEF("editor/naming/default_signal_callback_to_self_name", "_on_{signal_name}");
+
_add_builtin_input_map();
// Keep the enum values in sync with the `DisplayServer::ScreenOrientation` enum.