Commit Graph

600 Commits

Author SHA1 Message Date
Thaddeus Crews
8e6e59eed8
Merge pull request #95107 from KoBeWi/stealth_file_system
Optimize FileSystem Dock filtering
2024-11-12 12:13:00 -06:00
Thaddeus Crews
2430b7f9b4
Merge pull request #97352 from reduz/uids-everywhere
Universalize UID support in all resource types
2024-11-11 14:18:25 -06:00
Thaddeus Crews
ed3de25a9a
Merge pull request #97415 from YeldhamDev/i_love_all_my_properties_equally
Make possible to favorite properties in the inspector
2024-11-11 14:17:57 -06:00
Juan
d57846087b
Universalize UID support in all resource types
Ensures all resource types support UIDs in a project.

This is required to fix:
* Scripts and many other resource types can't be referenced by UID and when refactored the references are lost.
* Path export properties can't use UID for unsupported types.
* Refactoring problems when files are moved outside the editor (this PR effectively fixes it).
* Editor properly refreshing paths if they changed externally while opened (as example, git update).
  This needs to be addressed in a subsequent PR, but this one effectively sets the prerequisites.

Resource types that do not support UID will get a .uid file appended to them (this includes .gd, .gdshader, .gdextension, etc. files).
2024-11-11 15:59:56 +01:00
kobewi
f96ef5fc0d Remove unused FILE_INFO from FileSystem dock 2024-10-30 06:08:52 +01:00
Thaddeus Crews
696ca9db3c
Merge pull request #98039 from aaronfranke/button-icon
Rename internal Button `*_icon` functions to `*_button_icon` to match exposed methods
2024-10-29 19:25:59 -05:00
Thaddeus Crews
f8f9763c4a
Merge pull request #98075 from KoBeWi/based_folder
Fix wrong base directory when creating folder
2024-10-29 19:25:40 -05:00
Aaron Franke
562c666e3d
Rename internal Button icon to button_icon to match exposed methods 2024-10-29 16:23:03 -07:00
Michael Alexsander
d678b095f9
Make possible to favorite properties in the inspector 2024-10-28 21:18:21 -03:00
Thaddeus Crews
6ad513b0e8
Merge pull request #97090 from KoBeWi/secret_cloning_research
Don't rescan filesystem when duplicating
2024-10-25 13:04:03 -05:00
Thaddeus Crews
f8f7e42044
Merge pull request #93578 from Calinou/editor-filesystem-dock-context-add-shortcuts
Add default keyboard shortcuts to various actions in the FileSystem dock
2024-10-25 13:03:43 -05:00
kobewi
68341968f9 Fix wrong base directory when creating folder 2024-10-11 00:22:51 +02:00
kobewi
7f7f9b2513 Optimize FileSystem Dock filtering 2024-10-04 22:56:59 +02:00
kobewi
7377ca8d7d Don't rescan filesystem when duplicating 2024-10-04 16:15:32 +02:00
kobewi
e2a96dde48 Unify make dir and duplicate dialogs 2024-10-02 14:57:37 +02:00
Rémi Verschelde
344ce2b047
Merge pull request #97344 from pafuent/editor_file_dialog_filter_sort
Add filter & sort to editor file dialog
2024-09-26 18:45:24 +02:00
Pablo Andres Fuente
163753949e Add filter & sort to editor file dialog
Closes https://github.com/godotengine/godot-proposals/issues/2721

On `EditorFileDialog`:
 * Add filter box that only shows folders and files in current directory that match
 * Add sort button to sort files and directories
 * Add a shortcut for CTRL+F for selecting the filter box

Also moved common code between `EditorFileDialog` and `FileSystemDock`
to it's own file.

Co-authored-by: fox <12120644+foxydevloper@users.noreply.github.com>
2024-09-26 11:08:13 -03:00
Haoyu Qiu
ef840f935f Make FileSystem dock buttons consistent 2024-09-21 22:02:56 +08:00
Rémi Verschelde
c8d76c1edd
Merge pull request #97185 from KoBeWi/ID_war
Fix FileSystemDock's EditorContextMenuPlugins
2024-09-19 17:13:53 +02:00
Rémi Verschelde
ff2b5a5422
Merge pull request #97075 from KoBeWi/better_new_folder_(not_to_be_confused_with_new_better_folder)
Rework creating new folders in editor
2024-09-19 17:13:39 +02:00
kobewi
5901a7a3d1 Fix FileSystemDock's EditorContextMenuPlugins 2024-09-19 15:33:11 +02:00
kobewi
514bbbfde3 Fix generic conversion icon 2024-09-17 13:59:21 +02:00
kobewi
ad99c79472 Rework creating new folders in editor 2024-09-17 12:40:25 +02:00
Rémi Verschelde
13064c4ac8
Merge pull request #65585 from SaracenOne/filesystem_dock_conversion
Add support for resource conversion plugins in filesystem dock
2024-09-17 09:17:32 +02:00
SaracenOne
f44bce2ee0 Add support for resource conversion plugins in filesystem dock. 2024-09-16 15:11:40 +01:00
Rémi Verschelde
5b2eececfd
Merge pull request #93372 from KoBeWi/instant_folders,_like_instant_noodles,_but_for_storing_files
Don't rescan filesystem when adding new directory
2024-09-16 13:34:09 +02:00
Rémi Verschelde
cc52112144
Merge pull request #96643 from bruvzg/fs_links
[FileSystem Dock] Add symlink indicator and tooltip.
2024-09-12 10:28:44 +02:00
Rémi Verschelde
a4e77d94bc
Merge pull request #96539 from KoBeWi/feat_context_menu_plugin4.x_2-electric_boogaloo
Add EditorContextMenuPluginManager and refactor menu plugins
2024-09-11 12:34:53 +02:00
bruvzg
da4f5fb953
[FileSystem Dock] Add symlink indicator and tooltip. 2024-09-06 14:55:07 +03:00
bruvzg
22b19c433f
[FileSystem Dock] Add option to show some unsupported files in the dock. 2024-09-05 18:29:29 +03:00
A Thousand Ships
d2a8b330d8
[Editor] Don't show popup when clicking empty in Favorites 2024-09-04 17:37:43 +02:00
kobewi
ecc0ab8061 Add EditorContextMenuPluginManager and refactor menu plugins 2024-09-03 23:59:25 +02:00
Rémi Verschelde
79da448d5f
Merge pull request #94582 from citizenll/feat_context_menu_plugin4.x
Add support for custom items to editor right-click context menus
2024-09-03 16:13:47 +02:00
citizenl
6b2348adac Add support for custom items to editor right-click context menus 2024-09-03 20:14:14 +08:00
Aaron Franke
9dd71c6414
ResourceImporterScene: Replace animation bool with an import type string enum 2024-08-27 14:58:18 -07:00
Rémi Verschelde
955f1535c0
Merge pull request #94703 from fstxz/fix_get_selected_paths
Fix `EditorInterface.get_selected_paths()` working incorrectly when FileSystemDock is in split mode
2024-08-19 14:33:48 +02:00
Artemy Fedotov
b55e97cd85
Fix EditorInterface.get_selected_paths() working incorrectly when FileSystemDock is in split mode 2024-08-17 19:31:15 +04:00
Giganzo
36c9d31a9e Fix huge tscn icon in FileSystem split mode using list view 2024-08-08 11:59:14 +02:00
Rémi Verschelde
d4b7ede882
Merge pull request #92303 from Hilderin/fix-synchronization-global-class-name
Fix synchronization of global class name
2024-06-28 14:42:37 +02:00
Hilderin
39369db029 Fix synchronization of global class name 2024-06-25 18:33:07 -04:00
Hugo Locurcio
c1cd8633a6
Add default keyboard shortcuts to various actions in the FileSystem dock
Some of these shortcuts are inspired by Visual Studio Code's defaults.

- Ctrl + Alt + C: Copy Absolute Path
- Ctrl + Alt + Shift + C: Copy UID
- Ctrl + Alt + R: Open in File Manager
- Ctrl + Alt + E: Open in External Program
- Ctrl + Alt + T: Open in Terminal
  - Note: On Linux distributions that have Ctrl + Alt + T as a default
    shortcut to open a terminal, the system shortcut takes priority
    over this one.

The "Open Containing Folder in Terminal" text was shortened so that
the context menu doesn't become too wide with the default shortcut
annotations.
2024-06-25 00:51:45 +02:00
jsjtxietian
e22a444235 Update import dock when select resource in resource panel 2024-06-24 12:41:00 +08:00
Rémi Verschelde
31f3969c86
Merge pull request #93147 from Hilderin/fix-freeze-after-save
Fix noticeable freeze after saving a scene
2024-06-21 10:14:18 +02:00
Hilderin
8ac841a026 Fix Noticeable freeze after saving a scene #93104 2024-06-20 16:47:28 -04:00
kobewi
c981e8b765 Don't rescan filesystem when adding new directory 2024-06-20 00:46:14 +02:00
A Thousand Ships
fbb879debd
[Scene] Add SceneStringNames::text/value_changed 2024-06-19 09:44:38 +02:00
A Thousand Ships
ca18a06ecb
[Scene] Add SceneStringNames::confirmed 2024-06-19 09:40:54 +02:00
Rémi Verschelde
e4fa8543ea
Revert "Fix FileSystem dock won't show any file folders"
This reverts commit 72856d633a.

Fixes #93022.
2024-06-11 11:46:35 +02:00
Hilderin
72856d633a Fix FileSystem dock won't show any file folders 2024-06-10 19:54:37 -04:00
Hilderin
81395cf9bd Fix Huge .tscn Icon and icon in background of File System panel 2024-06-02 09:11:56 -04:00