Andrii Doroshenko (Xrayez)
9a087da5d1
Use "Delete" in FileSystemDock on all platforms
...
The consensus is that the per-platform strings are not so useful in the
first place, so it's better to revert back to "Delete" for every platform.
(cherry picked from commit 77daadac1d
)
2021-06-17 12:47:54 +02:00
Rémi Verschelde
a246dceb51
FileSystem dock: Fix search shortcut
...
Follow-up to 533d3e7800
which used a shortcut
not defined in 3.x.
2021-05-17 13:32:44 +02:00
fox
533d3e7800
Make shortcut for focusing searchbar in filesystem dock
...
(cherry picked from commit 22e2e4334e
)
2021-05-17 13:11:07 +02:00
Rémi Verschelde
140350d767
Style: Enforce braces around if blocks and loops
...
Using clang-tidy's `readability-braces-around-statements`.
https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
2021-05-05 15:02:01 +02:00
Rémi Verschelde
a828398655
Style: Replaces uses of 0/NULL by nullptr (C++11)
...
Using clang-tidy's `modernize-use-nullptr`.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html
2021-05-04 16:30:23 +02:00
Rémi Verschelde
b5e1e05ef2
Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks
2021-05-04 14:45:16 +02:00
Rémi Verschelde
6e600cb3f0
Style: Set clang-format Standard to c++14
2021-05-04 14:45:15 +02:00
Mateo Kuruk Miccino
71a9932f38
FileSystem: Force update when we delete a folder from the editor and searching changes only if we change the directory successfully in the scan_fs_changes
...
(cherry picked from commit dc76938679
)
2021-05-03 21:39:44 +02:00
Juan Linietsky
16c0147d75
Remove FileSystem dock errors on unimported files
...
* Removes error shown when file is in 'keep' mode
* Display a warning when attempting to open the file
* Closes #47296
(cherry picked from commit 4706297356
)
2021-03-23 15:44:52 +01:00
Michael Alexsander
e6b3579e56
Make FileSystem dock set its path to the base folder of files after changes
...
(cherry picked from commit cf9d5cec22
)
2021-02-11 13:12:06 +01:00
Michael Alexsander
6cc6dce9c1
Update path in the FileSystem dock after doing file operations
...
(cherry picked from commit b3b455c167
)
2021-01-26 17:00:17 +01:00
gongpha
47fc3f73ac
Fix crash on FileSystemDock's tree when trying to collapse or expand folder
...
(cherry picked from commit e6145027ef
)
2021-01-26 17:00:17 +01:00
Rémi Verschelde
49646383f1
Update copyright statements to 2021
...
Happy new year to the wonderful Godot community!
2020 has been a tough year for most of us personally, but a good year for
Godot development nonetheless with a huge amount of work done towards Godot
4.0 and great improvements backported to the long-lived 3.2 branch.
We've had close to 400 contributors to engine code this year, authoring near
7,000 commit! (And that's only for the `master` branch and for the engine code,
there's a lot more when counting docs, demos and other first-party repos.)
Here's to a great year 2021 for all Godot users 🎆
(cherry picked from commit b5334d14f7
)
2021-01-13 16:17:06 +01:00
Pedro J. Estébanez
2997a3aa23
Fix cases of resources destroyed too early
2021-01-06 20:25:05 +01:00
Rémi Verschelde
c509ba9ff7
FileSystemDock: List conflicting files on move
...
Fixes #24167 .
(cherry picked from commit 7dc41ff310
)
2020-12-10 13:14:30 +01:00
Eric M
0f279794c5
Made keyboard shortcuts for FileSystemDock visible in popup
...
(cherry picked from commit ef5c720b73
)
2020-12-09 11:22:04 +01:00
Eric M
65edd1f823
Added F2 shortcuts for renaming files & folders.
...
(cherry picked from commit 5a3952fe64
)
2020-12-09 11:22:04 +01:00
Hugo Locurcio
c9a694a11d
Rename the "Delete" option in the FileSystem dock to "Move to Trash"
...
It actually moves files to the system trash instead of removing them
completely.
(cherry picked from commit e7ed287fda
)
2020-11-17 12:01:59 +01:00
Hugo Locurcio
f39c71e32d
Use Ctrl+Shift+C as the default FileSystem dock Copy Path shortcut
...
This closes #43396 .
(cherry picked from commit 5b40f9fddc
)
2020-11-11 15:30:57 +01:00
Tomasz Chabora
d46ab53b41
Allow duplicating files when holding Control
...
(cherry picked from commit b426d11d86
)
2020-06-18 11:29:27 +02:00
Ignacio Etcheverry
110523fecc
Expose FileSystemDock to the scripting API and fixed signals
...
Fixed FileSystemDock's `file_removed` and `folder_removed` signals not being
emitted because the emitted was using the wrong signal name.
(cherry picked from commit fe0b783e70
)
2020-03-18 17:57:45 +01:00
Haoyu Qiu
c018d02cda
Fixes broken scene created via New Resource
...
(cherry picked from commit 9cff286de1
)
2020-02-14 16:04:23 +01:00
Michael Alexsander
1414a18916
Make some QOL improvements to move operations in the FileSystem dock
...
(cherry picked from commit 07a23e75fc
)
2020-02-14 16:00:14 +01:00
Gilles Roudière
76d87e6616
Fixes a memory leak in FileSystemDock
...
Co-authored-by: Rafał Mikrut <mikrutrafal54@gmail.com>
2020-01-15 21:45:13 +01:00
Michael Alexsander
8708d44a50
Add option to disable loading scripts in ScriptCreateDialog
2020-01-09 13:09:23 -03:00
volzhs
9495229315
Update file list in split view when setting main scene
2020-01-09 09:51:31 +09:00
Michael Alexsander
f9d11120f7
Minor fixes for ScriptCreateDialog
2020-01-08 02:02:34 -03:00
volzhs
a1ab8f8890
Show selected main scene in FileSystem split view
2020-01-08 02:19:54 +09:00
Rémi Verschelde
a7f49ac9a1
Update copyright statements to 2020
...
Happy new year to the wonderful Godot community!
We're starting a new decade with a well-established, non-profit, free
and open source game engine, and tons of further improvements in the
pipeline from hundreds of contributors.
Godot will keep getting better, and we're looking forward to all the
games that the community will keep developing and releasing with it.
2020-01-01 11:16:22 +01:00
Rémi Verschelde
f3f6268ee7
Merge pull request #34656 from volzhs/keep-selected-dir
...
Show selected directory in split mode when selecting a file
2019-12-30 17:58:20 +01:00
Rémi Verschelde
ea3262ee9b
Merge pull request #34578 from timothyqiu/var-rename
...
Fixes variable naming in FileSystemDock
2019-12-30 17:11:42 +01:00
volzhs
4fb56d6694
Show selected directory in split mode when selecting a file
2019-12-29 04:07:56 +09:00
Haoyu Qiu
078c0d75f2
Cleans up headers included in editor_node.h
2019-12-24 21:46:05 +08:00
Haoyu Qiu
79a06e17bb
Fixes variable naming in FileSystemDock
2019-12-24 14:51:33 +08:00
Tomasz Chabora
01d77842ee
Unfold directories when showing in file system
2019-11-21 15:40:11 +01:00
Michael Alexsander
107c1969f5
Hide "Set As Main Scene" in FileSystem dock if the scene is already the main one
2019-11-11 12:41:46 -03:00
Andrii Doroshenko (Xrayez)
1f62318f92
Display icon for "Set As Main Scene" in filesystem popup
2019-11-11 12:58:15 +02:00
Silvano Cerza
469acbfd0c
Folders in FileSystem are not expanded on project save anymore
...
If an item was selected in the FileSystem dock and its parent
was collapsed the folder would be expanded when saving the project.
2019-11-04 20:23:46 +01:00
volzhs
bee6b94b77
Add "Set as main scene" on context menu in FileSystem panel
2019-10-30 03:31:33 +09:00
David Sichma
f1265541ee
Favorites dragable
2019-10-20 19:39:21 +02:00
Rémi Verschelde
7b433107f5
Merge pull request #32009 from Xrayez/fs-editor-icons
...
Display editor icons for filesystem dock popup menu options
2019-09-26 08:43:17 +02:00
Stefano Coratti
d7b2ecacff
Fixed Show in file system should clear current search
2019-09-25 16:07:46 +02:00
qarmin
17732fe698
Added some obvious errors explanations
2019-09-25 10:28:50 +02:00
Andrii Doroshenko (Xrayez)
407839daab
Display editor icons for filesystem dock popup menu options
2019-09-06 14:57:51 +03:00
merumelu
eac0af5892
Tree: fix and expose icon modulation
2019-08-24 17:37:22 +02:00
Michael Alexsander Silva Dias
c5b45c9f09
Cleanup and minor changes in FileSystem Dock
2019-08-22 10:24:51 -03:00
Rémi Verschelde
4ab4d4a59b
Merge pull request #31489 from iwek7/removeRenameRootOption
...
Showing only working options in filesystem dock menu
2019-08-22 11:56:48 +02:00
Hugo Locurcio
e1b9004b0f
Rename FileDialog's folder icon custom color to folder_icon_modulate
...
The custom color introduced in be8d569744
had the same name as the "folder" icon, which could cause conflicts
in the generated documentation.
The new name is also more self-explanatory.
2019-08-21 18:43:01 +02:00
iwek7
2b8d65761c
Improvements and fixes of filesystem dock
2019-08-21 11:13:50 +02:00
Hugo Locurcio
be8d569744
Use a different color for folder icons in file dialogs
...
This makes them easier to distinguish from files for quick
visual grepping.
This can also be used in projects by setting the FileDialog "folder"
color. The default value (`Color(1, 1, 1)`) has no visual impact,
for compatibility with existing projects.
2019-08-20 00:10:27 +02:00