Add setting for automatically opening scripts

This commit is contained in:
kobewi 2026-02-02 14:11:40 +01:00
parent f4f0679a2d
commit 14afee66c4
3 changed files with 7 additions and 0 deletions

View file

@ -696,6 +696,7 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
_initial_set("docks/filesystem/always_show_folders", true);
_initial_set("docks/filesystem/textfile_extensions", "txt,md,cfg,ini,log,json,yml,yaml,toml,xml");
_initial_set("docks/filesystem/other_file_extensions", "ico,icns");
_initial_set("docks/filesystem/automatically_open_created_scripts", true);
// Property editor
EDITOR_SETTING(Variant::FLOAT, PROPERTY_HINT_RANGE, "docks/property_editor/auto_refresh_interval", 0.2, "0.01,1,0.001"); // Update 5 times per second by default.