1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00

Added a setting for files in which the editor should search (project wise).

Remembers the tickboxes but only during the same execution

Fixes #25440
This commit is contained in:
QbieShay
2019-02-04 22:59:51 +01:00
parent 16d402147b
commit c4eb974a8a
3 changed files with 38 additions and 24 deletions

View File

@@ -1005,6 +1005,15 @@ ProjectSettings::ProjectSettings() {
GLOBAL_DEF("application/config/custom_user_dir_name", "");
GLOBAL_DEF("application/config/project_settings_override", "");
PoolStringArray extensions = PoolStringArray();
extensions.push_back("gd");
if (Engine::get_singleton()->has_singleton("GodotSharp"))
extensions.push_back("cs");
extensions.push_back("shader");
GLOBAL_DEF("editor/search_in_file_extensions", extensions);
custom_prop_info["editor/search_in_file_extensions"] = PropertyInfo(Variant::POOL_STRING_ARRAY, "editor/search_in_file_extensions");
action = Dictionary();
action["deadzone"] = Variant(0.5f);
events = Array();