1
0
Fork 0
Commit Graph

2183 Commits

Author SHA1 Message Date
kobewi 18df2ae9ca Add class icon cache to EditorNode 2025-05-27 13:59:13 +02:00
Haoyu Qiu 8d93b6a54c Add translation preview in editor 2025-05-27 07:59:28 +08:00
Thaddeus Crews 34fc2c1bb6
Merge pull request #106339 from Ryan-000/Run-EditorScript-from-FileSystemDock
Allow running EditorScripts from the FileSystemDock
2025-05-26 11:24:41 -05:00
Thaddeus Crews 420d7613fd
Merge pull request #106714 from jorgekorgut/fix-ignore-external-changes
Fix Ignore External Changes Bug
2025-05-26 11:24:39 -05:00
Thaddeus Crews f6a56c112f
Merge pull request #106500 from Frozenfire92/global-find-in-files
Make FindInFiles globally accessible
2025-05-26 11:24:20 -05:00
Jorge Korgut Junior f165ee211b Fix Ignore External Changes Bug
Fix Issue #106410 : Add a new list `disk_changed_scenes()` and a boolean `disk_changed_project` to keep track of modfied scenes and the project. Save them only if they are in the list or the boolean value is true, when ignoring external changes.
2025-05-24 14:44:53 +02:00
Ryan e3db0d62a8 Allow running EditorScripts from the FileSystemDock
Apply suggestions from code review

Co-Authored-By: Tomasz Chabora <kobewi4e@gmail.com>
2025-05-24 00:04:07 -04:00
Joel Kuntz 2cf64cc971 Make FindInFiles globally accessible
- Make ScriptEditor expose open_find_in_files_dialog to allow opening from anywhere
- Add FindInFiles to EditorNode as a keyboard shortcut, command, and menu option
- Change all find_in_files commands to be editor/find_in_files
2025-05-23 19:19:16 -03:00
LuoZhihao 8a9409257b ColorPicker: Add intensity slider
Add intensity slider to all color modes. Replace raw mode by linear mode, which uses linear color space.

When color is overbright, automatically switch hex text to script text. Allow executing expression in script text field to set color. Add the "script" icon to the default theme.
2025-05-23 12:45:29 +08:00
Mikael Hermansson 2d39bfaa57 Fix print/error ordering issue in editor Output 2025-05-21 13:10:57 +02:00
Thaddeus Crews 67b3db8053
Merge pull request #104010 from aaronfranke/main-screen-auto-switch
Improve editor 2D/3D main screen auto-switching logic
2025-05-14 09:44:09 -05:00
Thaddeus Crews cce59ac25f
Merge pull request #106326 from KoBeWi/editor_node_when_it_doesn't_check_unsaved_status_for_one_frame-😖
Optimize unsaved history checking
2025-05-13 16:22:19 -05:00
Marwen Azouzi 0d56b1c995
Remove `Don't save` button from "running project" confirmation modal 2025-05-13 07:43:17 +02:00
kobewi e0e8bd5394 Optimize unsaved history checking 2025-05-13 00:13:12 +02:00
Pāvels Nadtočajevs 44400b1419
Fix `EditorNode::drag_resource` crash. 2025-05-10 20:49:19 +03:00
Thaddeus Crews cb0f2b5230
Merge pull request #106117 from jaydensipe/zoom-performance-smoooooth
Improve zoom performance in `Script` and `Shader` editors
2025-05-09 11:29:12 -05:00
Thaddeus Crews 932a442379
Merge pull request #101765 from KoBeWi/exit_if_exit
Don't initialize editor when exiting
2025-05-09 11:28:54 -05:00
Jayden Sipe a874863c46 Improve zoom performance in Script and Shader editors 2025-05-08 19:33:21 -04:00
Anish Mishra e03942a6ef Add editor setting to collapse main menu 2025-05-07 08:39:21 +05:30
Anish Mishra 64b4598baa Improve Android editor layout 2025-05-07 08:39:21 +05:30
Thaddeus Crews aa24e3b671
Merge pull request #105884 from stuartcarnie/macos_embedded
macOS: Embedded window support.
2025-05-06 08:37:59 -05:00
Stuart Carnie 00e1fdec2c MacOS: Embedded window support. 2025-05-06 06:09:05 +10:00
Thaddeus Crews 97e5ddd544
Merge pull request #106082 from jaydensipe/open-recent-better-ui
Show "No Recent Scenes" under `Open Recent` instead of redundant button
2025-05-05 11:24:17 -05:00
Hugo Locurcio 961f9a891a
Improve editor progress reporting on the command line
This is useful when looking at the progress of command line exporting,
especially on continuous integration.
2025-05-05 16:23:03 +02:00
Jayden Sipe 7430711cb7 Show "No Recent Scenes" under `Open Recent` instead of clearing nothing 2025-05-05 08:07:34 -04:00
Thaddeus Crews 01fc9aee6c
Core: Modernize C headers with C++ equivalents 2025-05-02 08:23:01 -05:00
Rémi Verschelde 694d034d5b
Rename editor "File" MenuOption enums for clarity 2025-04-30 16:32:11 +02:00
Haoyu Qiu daaf4119de
Improve `ColorPicker` 2025-04-30 11:50:35 +02:00
Pāvels Nadtočajevs 03048aa94a
Improve edited scene layout direction detection. 2025-04-28 07:57:26 +03:00
Thaddeus Crews f8a8d6cf04
Merge pull request #105700 from dementive/config-file-get-improvement
Improve ConfigFile get_sections and get_section_keys by returning Vector<String>
2025-04-27 19:21:31 -05:00
dementive b8e44a0000 Improve ConfigFile get_sections and get_section_keys by returning Vector<String> 2025-04-24 20:10:31 -04:00
Pāvels Nadtočajevs 15cecfdac5
Add `SVGTexture` importer. 2025-04-24 08:15:53 +03:00
Thaddeus Crews eb6e8e59b1
Merge pull request #91594 from RedMser/remove-old-path-remaps
Remove old path remaps system
2025-04-23 12:01:25 -05:00
RedMser a96e8ac62c Remove old path remaps system
Unused in public repositories, deprecated for over 6 years, and the
replacement system is well-tested by now.
2025-04-23 15:48:33 +02:00
Pāvels Nadtočajevs 5b49fd4207
Selectively apply `FOCUS_ACCESSIBILITY` to the `Label`s instead of setting it by default. 2025-04-23 12:47:31 +03:00
Anish Mishra 34b3582cf9 Embed TouchActionsPanel directly into the Android editor UI 2025-04-19 20:32:47 +05:30
Hugo Locurcio 3ac7da9645
Update donation link to `fund.godotengine.org`
This points to the Development Fund page directly.
2025-04-11 18:59:40 +02:00
Thaddeus Crews 334006b501
Merge pull request #105216 from bruvzg/no_dummy_rs
Remove "dummy" renderer from the editor dropdown.
2025-04-11 09:50:46 -05:00
Priahoud bf963e767e Add Options, Functions and Settings to convert Node-Names and Strings to kebab-case
- refactored and renamed String::_camelcase_to_underscore to String:_separate_compound_words
- refactored String::to_snake_case to work with the refactored String::_separate_compound_words
- created char_utils::is_hyphen to catch all hyphen variants in kebab-case conversion
- created String::to_kebab_case using the new String::_separate_compound_words
- created corresponding Documentation in String and StringName
- simplified both switch statements in EditorNode and ProjectDialog
- added new kebab-casing Option for Node Names in ProjectSettings
- added missing camelCase Options to Scene- and Node-Names in ProjectSettings
- simplified Mono RuntimeInterop Functions
- hooked up the ConnectionsDialog
- created additional Unit Tests
2025-04-10 21:22:21 +02:00
A Thousand Ships 889410dcda
Add `String::replace_char(s)` methods for performance and convenience 2025-04-10 13:08:45 +02:00
Pāvels Nadtočajevs 1054ab8239
Remove "dummy" renderer from the editor dropdown. 2025-04-10 08:45:47 +03:00
Aaron Franke d9e1f5d678
Improve 2D/3D main screen auto-switching logic
Co-authored-by: Kit Bishop <kitbdev@gmail.com>
2025-04-09 09:34:44 -07:00
Yufeng Ying f7e4987d0e Dictionary::get_key_list use LocalVector instead of List. 2025-04-09 02:46:24 +08:00
Thaddeus Crews 86ff668614
Merge pull request #105154 from AThousandShips/fix_pack_zip
[Editor] Use separate `EditorFileDialog` for "Pack Project as ZIP"
2025-04-08 12:32:51 -05:00
Thaddeus Crews e6a61b1ecc
Merge pull request #76829 from bruvzg/ac_kit_direct
Implement screen reader support using AccessKit library.
2025-04-08 12:32:47 -05:00
Thaddeus Crews 1a90b115e1
Merge pull request #105106 from bruvzg/title_align
Add custom sort to center tab bar in the editor and project manager.
2025-04-08 12:32:44 -05:00
Thaddeus Crews c53e3b1723
Merge pull request #105103 from runzh-crypto/validate_custom_directory_v2
Validate custom directory when running from editor
2025-04-08 12:32:42 -05:00
Pāvels Nadtočajevs 302fa831cc
Initial editor accessibility. 2025-04-08 20:25:48 +03:00
A Thousand Ships 787cad1799
[Editor] Use separate `EditorFileDialog` for "Pack Project as ZIP"
This prevents state corruption for saving resources.
2025-04-08 18:39:02 +02:00
Pāvels Nadtočajevs 539e54567b
Add custom sort to center tab bar in the editor and project manager. 2025-04-08 00:05:22 +03:00
Thaddeus Crews 1b9f269700
Merge pull request #105015 from syntaxerror247/improve-touchActionsPanel
Android Editor: Add an editor setting to enable/disable `TouchActionsPanel`
2025-04-07 08:43:24 -05:00
runzh-crypto e57eeb14bc validate any form of running project 2025-04-07 00:29:19 +08:00
Anish Mishra a5c03dcd08 Add an editor setting to enable/disable TouchActionsPanel
Adds an editor setting to enable/disable TouchActionsPanel.

Automatically hide the panel when hardware keyboard is connected.
2025-04-05 19:07:46 +05:30
runzh-crypto 9977abd697 Validate custom directory when project is started 2025-04-04 21:21:42 +08:00
Thaddeus Crews e5c5cb4ce2
Merge pull request #104906 from Daylily-Zeleen/daylily-zeleen/allow_instantiate_unexposed_editor_plugin_from_gdextension
Allow instantiating unexposed `EditorPlugin` from GDExtension.
2025-04-03 09:27:50 -05:00
Daylily-Zeleen 1cc879afc0 Allow instantiate unexposed EditorPlugin form GDExtension. 2025-04-02 23:52:14 +08:00
Yufeng Ying 4f4031a675 Replace size() == 0 with is_empty(). 2025-04-02 19:18:43 +08:00
Thaddeus Crews 8f6bb119f4
Merge pull request #100602 from KoBeWi/over_100_changes_in_50_random_files_aka_the_best_kind_of_PR
Add templated version of `ObjectDB::get_instance()`
2025-03-31 12:03:47 -05:00
A Thousand Ships 5cc0539961
[Navigation] Create a dedicated 2D navigation server
* Add a dedicated 2D server
* Create dedicated tests
* Split performance metrics between 2D and 3D
* Rename the 3D only server module
2025-03-29 12:10:50 +01:00
Rémi Verschelde e8bc75f056
Merge pull request #103373 from YeldhamDev/build_remove_physics
Allow to compile templates without physics servers
2025-03-28 17:30:03 +01:00
Rémi Verschelde b12258bd22
Merge pull request #99897 from aaronfranke/editor-top-nodes
Clarify API for top selected nodes in EditorSelection and make public
2025-03-28 17:29:51 +01:00
Michael Alexsander 5ad414d046
Allow to compile templates without physics servers 2025-03-28 11:00:44 -03:00
Rémi Verschelde 3fe69cdf74
Merge pull request #104698 from bruvzg/loc_dir
Fix editor layout direction change on translation change.
2025-03-28 14:34:52 +01:00
Rémi Verschelde b33d907813
Merge pull request #104584 from KoBeWi/example_pr_for_translations
Improve auto-translation for static strings in docks
2025-03-28 14:33:10 +01:00
Rémi Verschelde 27181e89cc
Merge pull request #104252 from beicause/prompt-restart-when-data-missing
Prompt to restart when project data (.godot) is missing
2025-03-28 14:32:39 +01:00
Pablo Andres Fuente b4db9dc688 Update Inspector when rename a file via File System Dock
Fixes #56803

Connecting `FileSystemDock` `files_moved` signal to `InspectorDock`
and then checking if we need to update or not the object stored
on `EditorSelectionHistory`.
2025-03-28 08:26:17 -03:00
Aaron Franke 17db92b8b8
Clarify API for top selected nodes in EditorSelection and make public 2025-03-27 16:09:08 -07:00
Pāvels Nadtočajevs c3921954f2
Fix editor layout direction change on translation change. 2025-03-27 17:35:21 +02:00
kobewi bc9d0c7835 Add templated version of ObjectDB::get_instance() 2025-03-27 15:43:23 +01:00
kobewi ede1f8ef7e Improve auto-translation for static strings in docks 2025-03-26 14:09:38 +01:00
Rémi Verschelde 9328d24a72
Merge pull request #104296 from Rindbee/fix-editor-crash-when-inspecting-2-objects-handled-by-the-same-plugin
Fix editor crash when inspecting 2 objects handled by the same plugin
2025-03-25 23:08:10 +01:00
风青山 411f476319
Fix editor crash when inspecting 2 objects handled by the same plugin
Already activated plugins do not need to be added again to `editor_plugins_over`.

`fold_resource()` changes `active_plugins` and is unsafe to call while iterating
over `active_plugins`.
2025-03-26 00:40:21 +08:00
Thaddeus Crews ef4215472c
Merge pull request #102562 from KoBeWi/edytor_dans_todos_Sprache
Enable changing editor language without restart
2025-03-24 15:27:33 -05:00
Pāvels Nadtočajevs 8d6c6e25a0
Fix embedded help menu icons. 2025-03-21 15:46:37 +02:00
LuoZhihao 6f1b75fd79 Prompt to restart when project data (.godot) is missing 2025-03-20 19:35:05 +08:00
Hilderin efc3e3aea7 Fix crash when reimporting nested gltf scenes 2025-03-19 19:17:46 -04:00
Thaddeus Crews 17ae1d7728
Merge pull request #90226 from kitbdev/dock-shortcuts
Add Open Dock shortcuts
2025-03-19 17:46:07 -05:00
kit 4a65775dc5 Add shortcuts for opening docks 2025-03-19 10:39:45 -04:00
Rémi Verschelde 7b21950fb0
Merge pull request #103751 from bruvzg/glob_menu_icons_theme
[Editor] Change global menu icons theme independently of editor theme.
2025-03-19 12:26:57 +01:00
Rémi Verschelde a117a2b09c
Merge pull request #101980 from bruvzg/init_scale
[DisplayServer] Decouple `show_window(MAIN_WINDOW_ID)` from `DisplayServer` constructor, update project manager size/position after DS init.
2025-03-19 12:26:33 +01:00
Rémi Verschelde 3b6317159e
Merge pull request #95392 from hhhapz/terminate-before-quit
Prompt user to terminate if quitting while project is running
2025-03-19 12:25:51 +01:00
Pāvels Nadtočajevs f6891b0305
[DisplayServer] Decouple `show_window(MAIN_WINDOW_ID)` from `DisplayServer` constructor, update project manager size/position after DS init. 2025-03-19 11:23:04 +02:00
Thaddeus Crews 596a796e99
Merge pull request #103892 from bruvzg/mac_menu_crash
[macOS] Fix editor loading crash on native menu click.
2025-03-18 14:42:51 -05:00
kobewi 78334192df Call plugin edit before making visible 2025-03-18 15:01:56 +01:00
kobewi 6f25babd6b Remove empty constructors and destructors from editor/ 2025-03-17 21:20:02 +01:00
Thaddeus Crews 9cf741a315
Merge pull request #104102 from ryevdokimov/reload-saved-scene-fixes
Focus `Don't Save` in `Reload Saved Scene` and don't save unmodified scenes
2025-03-17 10:52:28 -05:00
Thaddeus Crews 8ca72e1490
Merge pull request #103848 from timothyqiu/popup-i18n
Add auto translate mode for items in `PopupMenu` and `OptionButton`
2025-03-17 10:52:26 -05:00
kobewi db64674a56 Fix Android build template message translation 2025-03-14 22:17:18 +01:00
Robert Yevdokimov 17f78cdcaa Focus `Don't Save` in `Reload Saved Scene` and don't save unmodified scenes 2025-03-14 18:04:04 +04:00
Rémi Verschelde 7bb86852a0
Merge pull request #102990 from KoBeWi/save_asing
Prompt to Save As when saving all scenes
2025-03-14 11:02:34 +01:00
Rémi Verschelde dca2bb887a
Merge pull request #100430 from shahriarlabib000/save
Always update `.tscn` name when "Save Scene As…" is pressed
2025-03-14 11:02:30 +01:00
kobewi 0434deced7 Prompt to Save As when saving all scenes 2025-03-14 00:38:29 +01:00
Thaddeus Crews c1b7865ae9
Merge pull request #103557 from aaronfranke/godot-version-defines
Rename version defines to `GODOT_VERSION_*` to match GDExtension godot-cpp
2025-03-13 08:57:42 -05:00
Thaddeus Crews 0cc7e2c27a
Merge pull request #95821 from anvilfolk/cache-gd-docs
Scripting: Fix script docs not being searchable without manually recompiling scripts
2025-03-13 08:57:40 -05:00
Thaddeus Crews 22a7079afd
Merge pull request #104047 from YYF233333/dict_iter
Add const iteration support to `Dictionary`
2025-03-13 08:57:23 -05:00
Lars Pettersson d2d02d0ea8
EditorNode: Add function to load file as scene or resource 2025-03-12 23:59:48 +01:00
Aaron Franke 97ee05e9b7
Rename version defines to GODOT_VERSION_* to match GDExtension godot-cpp 2025-03-12 11:11:38 -07:00
ocean 72045c8306 Scripting: Add script documentation cache to project
This PR adds a script documentation cache in the project folder.
It is loaded at alongside native documentation caches. This makes
scripts fully accessible through Search Help, including their
members, etc, right from project start, without having to compile
every single script.

Co-authored-by: Hilderin <81109165+Hilderin@users.noreply.github.com>
2025-03-12 13:44:41 -04:00
Yufeng Ying bebe037abf Add ConstIterator to Dictionary. 2025-03-13 01:28:46 +08:00
Thaddeus Crews 20651f1162
Merge pull request #99680 from YeldhamDev/multi_remote_selection
Allow to select multiple remote nodes at runtime
2025-03-11 14:00:56 -05:00