Thaddeus Crews
94282d88f9
Core: Use Math namespace for constants
2025-04-10 16:29:30 -05:00
Hugo Locurcio
e8eeccebcb
Unify Scripts Panel naming for the script and shader editors
...
Both use the same shortcut and action, so it makes sense to call it
a Files panel as opposed to a Scripts panel.
2025-04-09 01:17:36 +02:00
Pāvels Nadtočajevs
302fa831cc
Initial editor accessibility.
2025-04-08 20:25:48 +03:00
Yufeng Ying
4f4031a675
Replace size() == 0 with is_empty().
2025-04-02 19:18:43 +08:00
kobewi
6f25babd6b
Remove empty constructors and destructors from editor/
2025-03-17 21:20:02 +01: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
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
Lars Pettersson
d2d02d0ea8
EditorNode: Add function to load file as scene or resource
2025-03-12 23:59:48 +01:00
Rémi Verschelde
507df7b6ec
Merge pull request #103842 from timothyqiu/script-filename-no-i18n
...
ScriptEditor: Disable auto translation of the filename label
2025-03-12 22:57:13 +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
Thaddeus Crews
165fdce84e
Merge pull request #102709 from KoBeWi/repeatranslations2
...
Split repeated translation for floating windows
2025-03-11 16:53:50 -05:00
Haoyu Qiu
82a0290871
Add auto translate mode for items in PopupMenu and OptionButton
2025-03-09 23:50:11 +08:00
Haoyu Qiu
f329439249
ScriptEditor: Disable auto translation of the filename label
2025-03-09 10:01:26 +08:00
A Thousand Ships
466590d0ec
Use get_slicec instead of get_slice for single character splitters
2025-03-08 20:36:37 +01:00
kobewi
dade8bd66f
Update script modified times when saved in EditorNode
2025-03-06 14:47:33 +01:00
kobewi
6abb40990a
Fix modified time when LSP reload script
2025-02-13 16:15:22 +01:00
kobewi
3448fe6c71
Split repeated translation for floating windows
2025-02-11 14:51:09 +01:00
Danil Alexeev
ead16435bf
Script Editor: Add option to disable documentation tooltips
2025-02-09 11:02:10 +03:00
kobewi
a65fa94a21
Update modified time when reloading script
2025-02-01 19:15:09 +01:00
kobewi
b761ff662e
Rework script external modification tracking
2025-01-16 01:03:26 +01:00
kobewi
90ef140169
Add Copy Script UID option to Script Editor
...
Co-authored-by: Alex Drozd <drozdster@gmail.com>
2025-01-11 22:19:48 +01:00
Aarni Koskela
f134769506
Fix various typos
...
* Add TODO notes for typos that should be fixed for 5.0
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-01-08 14:47:42 +02:00
Hilderin
731a1ec206
Fix documentation tooltip over debug tooltip
2025-01-07 16:42:29 -05:00
A Thousand Ships
a1846b27ea
Improve use of Ref.is_null/valid
...
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05:00
Yufeng Ying
f241c1fda0
Remove unused header in editor.
...
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-24 00:40:38 +08:00
Haoyu Qiu
bf4e5cca3f
Make editor's shortcut names translated on-site
2024-12-18 13:00:30 +08:00
Rémi Verschelde
66b8101cef
Merge pull request #95460 from m4gr3d/enable_mouse_forward_back_buttons
...
Enable `BUTTON_FORWARD` and `BUTTON_BACK` mouse buttons on Android
2024-12-17 22:59:20 +01:00
Aaron Franke
0ab3dc273e
Rename internal EditorPlugin icon/name to match exposed methods
2024-12-15 17:31:01 -08:00
Lukas Tenbrink
b5c31ebb41
Add contains_char() for single-character 'contains' calls.
2024-12-06 20:23:35 +01:00
Rémi Verschelde
05b80ae0a1
Merge pull request #96449 from Maran23/editor-help-scroll-fix
...
Fix jumping to editor help does not scroll correctly sometimes
2024-11-29 22:45:51 +01:00
Thaddeus Crews
9e259ef061
Merge pull request #97884 from passivestar/list-variations
...
Add theme type variations for secondary Trees and ItemLists
2024-11-27 10:47:14 -06:00
kobewi
289e548e34
Untangle ColorPicker includes
2024-11-22 21:42:50 +01:00
passivestar
0ff5d5fd04
Add theme type variations for secondary Trees and ItemLists
2024-11-19 18:33:30 +04:00
Thaddeus Crews
a595ae2abb
Merge pull request #97461 from lalitshankarchowdhury/better-replace
...
Improve "Replace in Files" dialog button text
2024-11-14 14:51:58 -06:00
aXu-AP
f168d0c80f
Highlight scripts used by current scene
2024-11-05 17:10:02 +02:00
Aaron Franke
562c666e3d
Rename internal Button icon to button_icon to match exposed methods
2024-10-29 16:23:03 -07:00
Thaddeus Crews
fd75707035
Merge pull request #78312 from Calinou/editor-add-markdown-highlighting
...
Add Markdown syntax highlighting to the script editor
2024-10-24 13:23:02 -05:00
Marius Hanl
af92685445
Fix jumping to editor help does not scroll correctly sometimes
2024-10-18 18:50:21 +02:00
ocean
0ad55e964f
Fix GDScript docs not updating when modified externally
2024-10-01 20:06:28 -04:00
Lalit Shankar Chowdhury
b9ce6c9047
Improve "Replace in Files" dialog button text
2024-10-01 22:22:12 +05:30
Rémi Verschelde
621cadcf65
Merge pull request #97168 from Hilderin/fix-reloading-scripts-already-in-use
...
Fix reloading scripts already in use
2024-09-20 21:35:08 +02:00
Hilderin
9638220473
Fix reloading scripts already in use
2024-09-20 12:12:24 -04:00
Haoyu Qiu
14321b8ed5
Set auto translate mode for drag previews
...
- Controls
- `LineEdit`, `TextEdit`: Always disabled since it's dragging user input.
- `TabBar`: Use the same auto translate mode as the node.
- `RichTextLabel`: Always disable since auto translation is done
differently from other controls (selection text you get
programmatically is always after auto translation).
- Editor
- Disable drag preview auto translation if the text is user input,
filename, or class name.
- Also disabled unexpected auto translation for audio bus effect names.
2024-09-19 19:21:29 +08:00
Rémi Verschelde
4ee5630a4b
Merge pull request #96909 from aXu-AP/script-list-default-width
...
Make script list default wider, minimum narrower
2024-09-17 09:17:46 +02:00
Rémi Verschelde
4d35402c1c
Merge pull request #96400 from Maran23/inputmap-usage-for-filter-and-corresponding-refactor
...
Use InputMap actions consistently across all LineEdit's that filter an underlying Tree or ItemList.
2024-09-16 13:34:38 +02:00
A Thousand Ships
dd6443193c
[Editor] Expose more editor settings to documentation
...
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2024-09-12 15:34:49 +02:00
aXu-AP
610d98f3ea
Make script list default wider, minimum narrower
...
Give more space to the script lists by default, but makes minimum smaller than it was. Unifies script editor and shader editor to use same values.
2024-09-12 14:51:22 +03:00
Rémi Verschelde
f5bf9b60bd
Merge pull request #92916 from Naros/expose-update-docs-from-script
...
Expose `update_docs_from_script` method
2024-09-12 09:17:35 +02:00