diff --git a/editor/editor_settings.cpp b/editor/editor_settings.cpp index 215801a4a..770a18fe1 100644 --- a/editor/editor_settings.cpp +++ b/editor/editor_settings.cpp @@ -518,7 +518,7 @@ void EditorSettings::_load_defaults(Ref p_extra_config) { _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); - _initial_set("text_editor/completion/add_type_hints", false); + _initial_set("text_editor/completion/add_type_hints", true); _initial_set("text_editor/completion/use_single_quotes", false); // Help diff --git a/modules/cscript/cscript_editor.cpp b/modules/cscript/cscript_editor.cpp index 18e9570bd..83707f7f9 100644 --- a/modules/cscript/cscript_editor.cpp +++ b/modules/cscript/cscript_editor.cpp @@ -56,7 +56,7 @@ String CScriptLanguage::_get_processed_template(const String &p_template, const String processed_template = p_template; #ifdef TOOLS_ENABLED - if (EDITOR_DEF("text_editor/completion/add_type_hints", false)) { + if (EDITOR_DEF("text_editor/completion/add_type_hints", true)) { processed_template = processed_template.replace("%INT_TYPE%", ": int"); processed_template = processed_template.replace("%STRING_TYPE%", ": String"); processed_template = processed_template.replace("%FLOAT_TYPE%", ": float");