mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-04-10 05:42:37 +02:00
Tweaks to defaults.
This commit is contained in:
parent
e8cabe7657
commit
f377181035
@ -518,7 +518,7 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
|
|||||||
_initial_set("text_editor/completion/put_callhint_tooltip_below_current_line", true);
|
_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/callhint_tooltip_offset", Vector2());
|
||||||
_initial_set("text_editor/completion/complete_file_paths", true);
|
_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);
|
_initial_set("text_editor/completion/use_single_quotes", false);
|
||||||
|
|
||||||
// Help
|
// Help
|
||||||
|
@ -56,7 +56,7 @@ String CScriptLanguage::_get_processed_template(const String &p_template, const
|
|||||||
String processed_template = p_template;
|
String processed_template = p_template;
|
||||||
|
|
||||||
#ifdef TOOLS_ENABLED
|
#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("%INT_TYPE%", ": int");
|
||||||
processed_template = processed_template.replace("%STRING_TYPE%", ": String");
|
processed_template = processed_template.replace("%STRING_TYPE%", ": String");
|
||||||
processed_template = processed_template.replace("%FLOAT_TYPE%", ": float");
|
processed_template = processed_template.replace("%FLOAT_TYPE%", ": float");
|
||||||
|
Loading…
Reference in New Issue
Block a user