1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-04 17:04:49 +00:00
Commit Graph

568 Commits

Author SHA1 Message Date
kobewi
0138e33792 Fix get_class_icon() ignoring fallback 2025-05-30 14:59:28 +02:00
KaiN
8cdb1768a4 Add EditorInterface::close_scene()
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2025-05-28 21:53:32 +02:00
Thaddeus Crews
f5bf37a2d4 Merge pull request #106866 from KoBeWi/more_cache
Add class icon cache to EditorNode
2025-05-28 09:47:44 -05:00
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
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
kobewi
e0e8bd5394 Optimize unsaved history checking 2025-05-13 00:13:12 +02: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
Rémi Verschelde
694d034d5b Rename editor "File" MenuOption enums for clarity 2025-04-30 16:32:11 +02:00
Anish Mishra
34b3582cf9 Embed TouchActionsPanel directly into the Android editor UI 2025-04-19 20:32:47 +05:30
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
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
runzh-crypto
9977abd697 Validate custom directory when project is started 2025-04-04 21:21:42 +08: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
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
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
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
kobewi
0434deced7 Prompt to Save As when saving all scenes 2025-03-14 00:38:29 +01:00
Lars Pettersson
d2d02d0ea8 EditorNode: Add function to load file as scene or resource 2025-03-12 23:59:48 +01:00
kobewi
a3a1cf0a7f Replace UID and Surface upgrade tools with universal one 2025-03-10 16:41:02 +01:00
Thaddeus Crews
324512e11c Style: Replace header guards with #pragma once 2025-03-07 17:33:47 -06:00
kobewi
c1b08dda36 Don't save unnecessarily with save_before_running 2025-03-07 19:14:50 +01:00
Hilderin
dba92c9354 Fix headless import always emits errors 2025-03-04 18:45:40 -05:00
kobewi
00d8f5f70c Ask before restarting project from settings 2025-02-16 15:00:51 +01:00
Agustín Marsero
2ba64a57c5 Fix Global Class names cache not saved with upgrade to 4.4.
Co-authored-by: Hilderin <81109165+Hilderin@users.noreply.github.com>
2025-02-12 18:33:38 +01:00
Thaddeus Crews
acddf31c39 Merge pull request #101489 from RandomShaper/optimize_classnames_enumeration
Optimize classnames enumeration
2025-02-04 09:03:59 -06:00
Thaddeus Crews
9ee1873ae1 Merge pull request #102070 from ryevdokimov/reparent-save-confirmation
Make save confirmation a child of last exclusive window of EditorNode before popup
2025-01-30 11:39:05 -06:00
Malcolm Anderson
d034d124b2 Add UID upgrade tool
Apply suggestions from code review

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>

memdelete the UID upgrade tool

Remove redeclaration of singleton

Add note about committing .uid files to version control

Add "Learn more" button that links to Godot blog post about UIDs

Detect project from 4.3 or less and automatically display UID upgrade window

Display popup after first run of `_sources_changed`

Apply suggestions from code review

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>

Replace magic strings with constants

Update editor/editor_node.cpp

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2025-01-30 08:42:07 -08:00
Pedro J. Estébanez
a20934c8e4 Optimize enumeration of global classes in create dialog and autocomplete 2025-01-29 09:39:50 +01:00
Robert Yevdokimov
c7fd0bb740 Make save confirmation a child of last exclusive window of EditorNode before popup 2025-01-28 11:28:48 +04:00
kobewi
8aa3ee6a35 Create .uid files in EditorFileSystem 2025-01-18 21:01:39 +01:00
Rémi Verschelde
8cf6061dfd Merge pull request #99844 from KoBeWi/give_back_the_focus
Fix progress dialog steals focus
2025-01-14 12:08:46 +01:00
kobewi
77d18d1ad4 Fix progress dialog steals focus
Co-authored-by: Hilderin <81109165+Hilderin@users.noreply.github.com>
2025-01-14 01:37:21 +01:00
Malcolm Anderson
6b33037021 Add menu bar item for "Pack Project as ZIP..."
Apply suggestions from code review

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

Fix includes

Update editor/editor_node.cpp

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2025-01-09 20:37:02 -08:00
kobewi
24eadaa6a4 Reorganize EditorNode menu options 2025-01-09 12:21:56 +01:00
AeioMuch
96e59b99ba Cleanup editor history when opening the history menu popup & set appropriate class icon for object in it. Handle do&undo for selection when reparenting 2025-01-07 23:15:30 +01:00
Ricardo Subtil
b77aa473a1 Implement a "Recovery Mode" for recovering crashing/hanging projects during initialization 2025-01-03 10:50:15 +00:00
Hilderin
9d2a4c03be Embedding game process in editor 2024-12-18 17:52:42 -05:00
Robert Yevdokimov
7f09804154 Add inherit parameter to open_scene_from_path 2024-12-12 10:24:58 -05:00
Nông Văn Tình
e6a49ab6ac Save color palette as resources to reuse later
Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>
2024-12-06 20:16:06 +07:00
kobewi
28e5b213ae Create .uid file when creating new Resource 2024-11-13 00:40:31 +01:00
Thaddeus Crews
89a311205f Style: Apply clang-tidy fixes
• `modernize-use-default-member-init` and `readability-redundant-member-init`
• Minor adjustments to `.clang-tidy` to improve syntax & remove redundancies
2024-11-04 12:11:06 -06:00
Adam Scott
0d350e7108 Set clang-format RemoveSemicolon rule to true
- Set clang-format `Standard` rule to `c++20`
2024-10-25 13:49:43 -04:00