Commit Graph

492 Commits

Author SHA1 Message Date
907db8eebc Merge pull request #87563 from jsjtxietian/fix-filesystem-infinite
Fix editor will freeze when modifying filesystem filter path in Split Mode
2024-02-14 14:08:08 +01:00
4ad74a5663 Some editor code cleanup 2024-01-30 21:33:31 +01:00
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
650b9d62e4 Fix editor will freeze when modifying filesystem filter path in Split Mode 2024-01-29 11:04:06 +08:00
33f3511241 Merge pull request #87293 from YuriSizov/editor-theme-a-rehashed-follow-up
Improve editor theme generation after the refactor
2024-01-18 16:34:50 +01:00
d92d8a49aa Merge pull request #86064 from jsjtxietian/fix-sort-by-type
Fix "Class name cannot be empty" error when sorting no import files sort by type
2024-01-17 18:52:35 +01:00
45eedba1fa Improve editor theme generation after the refactor 2024-01-17 15:16:53 +01:00
95b27fe8c7 Reorganize code related to editor theming
This change introduces a new EditorThemeManager class
to abstract theme generatio and its subroutines.

Logic related to EditorTheme, EditorColorMap, and editor
icons has been extracted into their respective files with
includes cleaned up.

All related files have been moved to a separate folder to
better scope them in the project. This includes relevant
generated files as well.
2024-01-16 11:57:45 +01:00
039379d272 Merge pull request #84193 from kitbdev/dock-manager-extract
Extract `EditorDockManager` from `EditorNode`
2024-01-16 10:35:11 +01:00
kit
2323f040e9 Extract editor dock manager 2024-01-15 15:15:42 -05:00
85a918d5a2 Merge pull request #87121 from jsjtxietian/fix-thumbnail-disappear
Fix thumbnail disappears if FileSystemDock is floated
2024-01-15 13:30:40 +01:00
57751b1917 Fix thumbnail disappears if FileSystemDock is floated 2024-01-13 01:15:37 +08:00
5b57db2637 Fix "Class name cannot be empty" error when sorting no import files by type 2024-01-10 10:39:21 +08:00
0e8f90f4c8 Update deferred calls to use Callables 2024-01-09 16:11:47 +01:00
9753a35c76 Move 3D scene import classes to their own folder 2024-01-04 11:02:49 -06:00
6c390b620d Merge pull request #84445 from Rubonnek/add-const-references-clang-tidy
Add const references detected by clang-tidy
2024-01-04 14:25:33 +01:00
00cc23f906 Merge pull request #86486 from timothyqiu/move-copy-dialog
Improve `EditorDirDialog`
2024-01-03 15:47:52 +01:00
f35f1a1849 Store horizontal and vertical split offsets separately in FileSystem dock 2023-12-25 18:11:18 +03:00
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
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
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
a3cb1b096f Add const references detected by clang-tidy 2023-12-16 13:36:44 -05:00
0ae1241304 Properly select the newly duplicated file 2023-12-14 19:49:11 +01:00
8f33b4e83a Merge pull request #84882 from Invertex/select-instance-asset
Add "Show In FileSystem" to the Scene hierarchy right-click
2023-12-14 17:38:30 +01:00
6faa5c6dc4 Merge pull request #84837 from synalice/issue-83366-colored-folders
Fix folder color not showing up in file dialogs
2023-12-14 17:38:24 +01:00
59787683a9 Added "Show In FileSystem" right-click option to Scene hierarchy nodes.
-Implemented shared function for focusing FileSystem tab and highlighting the node path.
-Created right-click option that shows up in the Scene-Hierarchy on Nodes that have a file-system source path.
-Created custom icon for this right-click option
-Implemented the shared function and icon for other places that already had this features (Open Node tab, Inspector Resource)

Co-authored-by: MewPurPur <mew.pur.pur@gmail.com>
2023-12-13 07:43:39 -08:00
52f1b86ebc Fix referring to ResourceImporterScene static importers via instances 2023-12-11 20:01:39 -06:00
0d6300d269 Fix folder color not showing up in file dialogs 2023-11-14 17:17:10 +03:00
76c7190d21 Fix errors on file rename or move in the Filesystem Dock 2023-11-10 14:09:21 +02:00
330d22e99a Merge pull request #84217 from SaracenOne/fix_filesystem_rename_crash
Fix file rename crash after toggling split mode.
2023-11-03 12:52:20 +01:00
7fea0cef4c Fix file rename crash after toggling split mode. 2023-11-02 21:29:01 +00:00
c640018b88 Fix crash on rename collision in thumbnail grid 2023-10-30 22:52:12 +00:00
8919d1c2b5 Merge pull request #82806 from Vilcrow/fix-ensure-selected-visible
Fix checking the visibility condition of selected file in the Godot editor's dock
2023-10-27 11:35:40 +02:00
80e5484a82 Merge pull request #83941 from Jordyfel/hashset-not-vector
Use Hashset for dependency list when moving
2023-10-26 16:01:21 +02:00
34b1c0e40b Merge pull request #83487 from KoBeWi/crash_that_does_not_exist
Prevent crash when creating custom file tooltip
2023-10-26 15:59:19 +02:00
1ec2272e0b Fix checking the visibility condition of selected file in the Godot editor's dock. 2023-10-25 23:13:18 +03:00
50b7387a3f Use Hashset for dependency list when moving 2023-10-25 21:05:53 +03:00
85144f0cd1 Fix potential crash on failed move. 2023-10-25 14:52:34 +03:00
2413952a4c Fix "as" capitalization in editor strings 2023-10-23 16:10:05 +08:00
90768f1f7f Fix unexpected behaviors of using Duplicate To on folders
Fix folder not being copied when empty.
Fix Keep Both would generate wrong paths when copying folders.
2023-10-22 06:22:38 +08:00
060816c3a4 Merge pull request #82858 from KoBeWi/read_between_the_comments
Provide translation strings for folder colors
2023-10-18 00:01:00 +02:00
ef4c214703 Prevent crash when creating custom file tooltip 2023-10-17 11:39:15 +02:00
51f81e1c88 Merge pull request #82957 from bruvzg/fs_case_check
Add method to check if filesystem is case sensitive.
2023-10-13 12:55:35 +02:00
ecb9ecee54 Fix several issues with renaming in FileSystem dock 2023-10-09 23:18:27 +03:00
97bcd8a631 Add method to check if filesystem is case sensitive. 2023-10-09 11:00:15 +03:00
47adf88ed0 Provide translation strings for folder colors 2023-10-05 17:21:48 +02:00
ff9b3dc730 Merge pull request #80241 from gamedevishard/filesystem_dock_hsplit
Horizontal split view for Filesystem Dock
2023-10-03 17:11:53 +02:00
58af0688d3 rename: don't update current path when file list has focus
FileSystemDock: Don't update current path and path edit when the file list has focus.
So that when renaming from the file list, we don't cd into the renamed folder automatically.
2023-10-02 09:33:11 +11: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
da91cf9367 Merge pull request #82347 from SaracenOne/dir_access_checks
Add error checks for DirAccess creation
2023-09-26 16:36:47 +02:00