summaryrefslogtreecommitdiff
path: root/editor/filesystem_dock.cpp
AgeCommit message (Collapse)Author
2022-02-02Vectors: Use clear() and has().Anilforextra
Use clear() instead of resize(0). Use has() instead of "find(p_val) != -1".
2022-01-20Store panels and docks singletons in their own classestrollodel
2022-01-19Allow selection of option 'Open in File Manager' even when a file/folder is ↵SaracenOne
not explicitly selected.
2022-01-17Prevent renaming to an unkown extension from FileSystem dock.jmb462
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2022-01-03Merge pull request #55487 from YeldhamDev/scroll_bikesheddingRémi Verschelde
2021-12-09Replace String comparisons with "", String() to is_empty()Nathan Franke
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
2021-12-09align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke
2021-12-06Fix bad popups offset in editor with single window offjmb462
Co-authored-by: Gil Arasa Verge <gilarasaverge@gmail.com> Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2021-12-03Add `New Shader` option to the FileSystemDock popup menu.Yuri Roubinsky
2021-11-30Rename all methods that return `ScrollBar` nodes to `get_*_scroll_bar()`Michael Alexsander
2021-11-23Rename `remove()` to `remove_at()` when removing by indexLightning_A
2021-11-22Added `reset_size` method to `Control` and `Window` classesYuri Roubinsky
2021-11-12Use "enum class" for input enumsAaron Franke
2021-11-12Use Enter instead of F2 as an editor renaming shortcut on macOSHugo Locurcio
2021-10-28clang-format: Disable alignment of operands, too unreliableRémi Verschelde
Sets `AlignOperands` to `DontAlign`. `clang-format` developers seem to mostly care about space-based indentation and every other version of clang-format breaks the bad mismatch of tabs and spaces that it seems to use for operand alignment. So it's better without, so that it respects our two-tabs `ContinuationIndentWidth`.
2021-10-23Fix newly created files not sorted correctlyRobin Arys
2021-09-30Use range iterators for `Map`Lightning_A
2021-09-30Merge pull request #53025 from Paulb23/textfile-uxRémi Verschelde
2021-09-30Rename Node's `filename` property to `scene_file_path` for clarityHugo Locurcio
2021-09-30Add TextFile support across the editorPaulb23
2021-09-09Save branch as scene by dropping to filesystemkobewi
2021-07-26Use Ref<T> references as iterators where relevantRémi Verschelde
And const when possible.
2021-07-25Use const references where possible for List range iteratorsRémi Verschelde
2021-07-23Use C++ iterators for Lists in many situationsAaron Franke
2021-07-18Optimize StringName usagereduz
* Added a new macro SNAME() that constructs and caches a local stringname. * Subsequent usages use the cached version. * Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time. * Replaced all theme usages by this new macro. * Replace all signal emission usages by this new macro. * Replace all call_deferred usages by this new macro. This is part of ongoing work to optimize GUI and the editor.
2021-07-06Merge pull request #42745 from Pineapple/search-results-limitRémi Verschelde
Remove search results limit in FileSystem dock
2021-06-29Merge pull request #49295 from foxydevloper/fix-focus-filterRémi Verschelde
Fix "Filter Files" shortcut by merging duplicate functions
2021-06-19Rename `instance()`->`instantiate()` when it's a verbLightning_A
2021-06-16Documentation search fixesGregory Basile
Updates rich_text_label so that the built-in documentation can be searched Previously, it would only find the first result and would not select other results Renames "_entered" functions to "_submitted"
2021-06-12Merge pull request #48746 from KoBeWi/bane_of_all_virtual_compatibilityRémi Verschelde
Consistently prefix bound virtual methods with _
2021-06-12Consistently prefix bound virtual methods with _kobewi
2021-06-11Merge pull request #49519 from Xrayez/filesystem-delete-for-everyoneRémi Verschelde
Use "Delete" in FileSystemDock on all platforms
2021-06-11Use "Delete" in FileSystemDock on all platformsAndrii Doroshenko (Xrayez)
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.
2021-06-11Core: Move DirAccess and FileAccess to `core/io`Rémi Verschelde
File handling APIs are typically considered part of I/O, and we did have most `FileAccess` implementations in `core/io` already.
2021-06-03Fix "Filter Files" shortcut by merging duplicate functionsfox
2021-06-02Use bold fonts in editorreduz
* Labels are now bold * Categories in trees are bold * Main editor buttons are bold * Fixed section folding arrows in inspector
2021-05-18Merge pull request #37796 from Gogsi/masterRémi Verschelde
Improve consistency in file order
2021-05-18Change EditorFileSystem and ScriptEditor file sorting order to improve ↵Georgi Genkov
consistency. Fixes #37721.
2021-05-17Improve TreeItem API and allow to move nodestrollodel
2021-05-17Merge pull request #48168 from LightningAA/control-to-ctrl-4.0Rémi Verschelde
2021-05-15Make Sort by X translatablefox
2021-05-13Make shortcut for focusing searchbar in filesystem dockfox
2021-05-07Rename "Control" key to "Ctrl" and add "_pressed" suffix to all ↵Lightning_A
InputEventWithModifiers properties/methods
2021-05-06Merge pull request #45607 from Calinou/improve-editor-themeRémi Verschelde
Improve the editor theme
2021-05-01FileSystem: Force update when we delete a folder from the editor and ↵Mateo Kuruk Miccino
searching changes only if we change the directory successfully in the scan_fs_changes
2021-04-27Improve the editor themeHugo Locurcio
The editor theme now makes use of rounded corners and less borders to follow modern visual trends. The default theme's colors were also tweaked to make the blue hue more subtle (similar to the Arc theme, which was removed as a consequence). The Alien theme was replaced by a Breeze Dark theme, which should blend in well with the KDE theme.
2021-04-05Style: Apply clang-tidy's `readability-braces-around-statements`Rémi Verschelde
2021-04-01Merge pull request #46991 from madmiraal/rename-invert-reverseRémi Verschelde
Rename Array.invert() to Array.reverse()
2021-03-24edit if statement in FileSystemDock::_select_file()James Castanho