Commit Graph

172 Commits

Author SHA1 Message Date
kobewi
e2a96dde48 Unify make dir and duplicate dialogs 2024-10-02 14:57:37 +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
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
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
Artemy Fedotov
b55e97cd85
Fix EditorInterface.get_selected_paths() working incorrectly when FileSystemDock is in split mode 2024-08-17 19:31:15 +04: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
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
bruvzg
7d4d63b807
Fix Tree and FileSystemList edit popup double events and ESC behavior. 2024-05-17 10:03:52 +03:00
Rémi Verschelde
ce539e559b
Merge pull request #91158 from Arnklit/show-in-filesystem-favorites
Add show in filesystem option for file favorites
2024-04-26 11:08:47 +02:00
Kasper Frandsen
ca2005f658 Add show in filesystem option for file favorites 2024-04-26 09:02:53 +01:00
Rémi Verschelde
3acd14d6bc
Merge pull request #88660 from MajorMcDoom/tokenized-file-search
Add tokenized search support to Quick Open dialog and FileSystem filter
2024-04-19 16:26:50 +02:00
Zi Ye
fbfda46ffa Added tokenized search support to Quick Open dialog and FileSystem filter. 2024-04-17 21:12:55 -05:00
Muller-Castro
c8ef9e6955 Fix folder colors not present in editor dir dialog 2024-04-16 16:21:49 -03:00
kobewi
a064ca16a8 Fix folder colors not saving after project.godot is modifed externally 2024-04-12 13:22:46 +02:00
Christian Feuz
5c1d1ea620 Add option to copy absolute path in file system dock popup 2024-04-09 22:04:39 +02:00
A Thousand Ships
2cbf469912
Fix sorting of files/dirs in dialogs
Sorts leading `_` before other characters except `.`.
2024-03-20 13:45:47 +01:00
kobewi
a62ccf3f1a Fix custom resource icons in FileSystem 2024-03-08 22:31:15 +01:00
Hugo Locurcio
4f8d7cae26
Add Ctrl + L / Cmd + Shift + G shortcut to focus path bar in FileDialog
This also tweaks EditorFileDialog to use the same shortcut,
while making it select the path text after focusing
(like in most file managers).

Ctrl + L / Cmd + Shift + G can also now be used to focus on the
property name in the project settings editor, as well in the
Input Map, Autoload, Shader Globals and Global Groups tabs.
2024-03-05 00:02:09 +01:00
Muller-Castro
1638c1b28f Add const lvalue ref to editor/* container parameters 2024-02-26 15:28:15 -03:00
kobewi
4ad74a5663 Some editor code cleanup 2024-01-30 21:33:31 +01:00
Juan Linietsky
000367893a Ability to move FileSystem dock to bottom
* Allows moving the filesystem dock to the bottom
* Added ability to drag resources across bottom docks
2024-01-29 15:15:38 +01:00
kit
2323f040e9 Extract editor dock manager 2024-01-15 15:15:42 -05:00
Rémi Verschelde
00cc23f906
Merge pull request #86486 from timothyqiu/move-copy-dialog
Improve `EditorDirDialog`
2024-01-03 15:47:52 +01:00
Vedat Gunel
f35f1a1849 Store horizontal and vertical split offsets separately in FileSystem dock 2023-12-25 18:11:18 +03:00
Haoyu Qiu
a42ead59da Improve EditorDirDialog
* Automatically selects the newly created directory
* Automatically selects "res://" when nothing is selected
* Fixes an error when overwrite/replace dialog appears
* Changes "copy checkbox + action button" to "copy button + move button"
* Double clicking a directory (un)collapses it instead of copy/move
* Uses DirectoryCreateDialog for "Create Folder"
2023-12-25 19:14:04 +08:00
Yuri Sizov
13d34d6a2b Merge pull request #85923 from Calinou/editor-filesystem-dock-add-open-in-terminal
Add a editor FileSystem dock action to open a terminal in selected folder
2023-12-22 17:19:53 +01:00
Hugo Locurcio
0e97acff84
Add a editor FileSystem dock action to open a terminal in selected folder
This is useful to enter some commands without having to open a separate
terminal and `cd` to the project folder.
2023-12-19 15:04:02 +01:00
kobewi
0ae1241304 Properly select the newly duplicated file 2023-12-14 19:49:11 +01:00
Nikita Krasnov
0d6300d269 Fix folder color not showing up in file dialogs 2023-11-14 17:17:10 +03:00
Jordyfel
50b7387a3f Use Hashset for dependency list when moving 2023-10-25 21:05:53 +03:00
Vedat Gunel
ecb9ecee54 Fix several issues with renaming in FileSystem dock 2023-10-09 23:18:27 +03:00
Rémi Verschelde
ff9b3dc730
Merge pull request #80241 from gamedevishard/filesystem_dock_hsplit
Horizontal split view for Filesystem Dock
2023-10-03 17:11:53 +02:00
风青山
1cb1d7f41d Fix folder moving in FileSystemDock
Include files in the folder that will be moved/renamed when looking up the file owner.

Rename the function/variable names to make more sense in FileSystemDock
2023-09-29 20:32:16 +08:00
Devel Oper
81311594b5 Horizontal split view for Filesystem Dock 2023-09-22 11:34:33 +02:00
Jordyfel
6245367e6d Fix dependency handling on move or rename. 2023-09-15 16:46:26 +03:00
A Thousand Ships
0f026193b2 Update folder colors when moving or renaming 2023-09-07 17:46:27 +02:00
the-sink
95b0f28255 Add custom color support to project folders 2023-08-29 12:13:53 -07:00
Wiwip
28038feb04 Permits the renaming of files and folders inline for items in the FileSystemDock.
This is a continuation of: https://github.com/godotengine/godot/pull/76794 which didn't consider  DISPLAY_MODE_SPLIT.
Fixes: https://github.com/godotengine/godot/issues/77527 and https://github.com/godotengine/godot-proposals/issues/4933
2023-06-02 16:29:07 -04:00
kobewi
ab787fe4d2 Add scrolling to overwrite dialog 2023-05-18 00:09:44 +02:00
kobewi
27dccf1b5e Enhance filesystem dock tooltips 2023-05-12 19:28:34 +02:00
Rémi Verschelde
4020cc8acb
Merge pull request #76794 from Wiwip/inline-edit
Inline editor for the file system dock
2023-05-11 11:46:45 +02:00
Hendrik Brucker
dc46163b12 Improve editor state persistence 2023-05-11 04:17:03 +02:00
Wiwip
b08a6084af Modifies the file system dock to use the inline editor instead of a dialog.
*Bugsquad edit:* Closes https://github.com/godotengine/godot-proposals/issues/4933
2023-05-10 18:49:35 -04:00
Haoyu Qiu
9f38a68a59 Make create folder popup support nested folders 2023-04-23 21:10:04 +08:00
Yuri Sizov
4154039832 Improve includes of EditorNode (and everything else)
Also start organizing editor-specific GUI components
into a dedicated folder, `editor/gui`.
Also move `editor_file_server` next to the rest of debugger classes.
2023-04-07 18:59:49 +02:00