mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Enable the script editor's "Auto Brace Complete" by default
This also adds a setting hint for the "Code Complete Delay" setting and cleans up some duplicated default setting values. This closes #30662.
This commit is contained in:
@@ -483,7 +483,9 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
|
||||
// Completion
|
||||
_initial_set("text_editor/completion/idle_parse_delay", 2.0);
|
||||
hints["text_editor/completion/idle_parse_delay"] = PropertyInfo(Variant::REAL, "text_editor/completion/idle_parse_delay", PROPERTY_HINT_RANGE, "0.1, 10, 0.01");
|
||||
_initial_set("text_editor/completion/auto_brace_complete", false);
|
||||
_initial_set("text_editor/completion/auto_brace_complete", true);
|
||||
_initial_set("text_editor/completion/code_complete_delay", 0.3);
|
||||
hints["text_editor/completion/code_complete_delay"] = PropertyInfo(Variant::REAL, "text_editor/completion/code_complete_delay", PROPERTY_HINT_RANGE, "0.01, 5, 0.01");
|
||||
_initial_set("text_editor/completion/put_callhint_tooltip_below_current_line", true);
|
||||
_initial_set("text_editor/completion/callhint_tooltip_offset", Vector2());
|
||||
_initial_set("text_editor/completion/complete_file_paths", true);
|
||||
|
||||
Reference in New Issue
Block a user