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
Rémi Verschelde
a4e77d94bc
Merge pull request #96539 from KoBeWi/feat_context_menu_plugin4.x_2-electric_boogaloo
...
Add EditorContextMenuPluginManager and refactor menu plugins
2024-09-11 12:34:53 +02:00
kit
5e1c9d68aa
Extract editor main screen
2024-09-09 11:06:18 -04:00
kobewi
ecc0ab8061
Add EditorContextMenuPluginManager and refactor menu plugins
2024-09-03 23:59:25 +02:00
Rémi Verschelde
514c564a8c
Merge pull request #96520 from Giganzo/fix-make-floating-tooltip
...
Mention screen selector in Make Floating button tooltip
2024-09-03 16:14:08 +02:00
Rémi Verschelde
d15de6f264
Merge pull request #96292 from AThousandShips/null_check_ref_fix
...
Cleanup of raw `nullptr` checks with `Ref`
2024-09-03 16:13:55 +02:00
Rémi Verschelde
79da448d5f
Merge pull request #94582 from citizenll/feat_context_menu_plugin4.x
...
Add support for custom items to editor right-click context menus
2024-09-03 16:13:47 +02:00
citizenl
6b2348adac
Add support for custom items to editor right-click context menus
2024-09-03 20:14:14 +08:00
Giganzo
edba5edcb8
Fix Make floating tooltip mention screen selector
2024-09-02 00:00:14 +02:00
Fredia Huya-Kouadio
d1891adced
Enable `BUTTON_FORWARD` and `BUTTON_BACK` mouse buttons on Android
2024-09-01 11:01:49 -07:00
Marius Hanl
74f64aaf98
Use InputMap actions consistently across all LineEdit's that filter an underlying Tree or ItemList.
...
- Instead of checking for Key::UP, Key::DOWN, Key::PAGEUP, Key::PAGEDOWN etc., we rather check for the action like 'ui_up' or 'ui_down'.
- Also use AcceptDialog's 'register_text_enter' functionality to consistently close a dialog when ENTER is pressed while the LineEdit has focus (instead of redirecting ENTER keys to e.g. the underlying Tree).
- Unify the LineEdit filter behavior for the SceneTreeDialog and corresponding usages
- Improve OK Button disablement (something should be selected)
2024-08-31 21:10:27 +02:00
A Thousand Ships
194bdde947
Cleanup of raw `nullptr` checks with `Ref`
...
Using `is_valid/null` over checks with `nullptr` or `ERR_FAIL_NULL` etc.
2024-08-31 15:01:09 +02:00
Rémi Verschelde
66dd06837c
Merge pull request #90782 from bruvzg/export_platform_extension
...
Allow adding custom export platforms using scripts / GDExtension.
2024-08-30 09:58:52 +02:00
Yuri Rubinsky
52889ab7ee
[Scene] Add SceneStringName::toggled
2024-08-28 15:14:26 +03:00
bruvzg
07e986f728
Allow adding custom export platforms using scripts / GDExtension.
2024-08-28 10:29:01 +03:00
Rémi Verschelde
9f70823eec
Merge pull request #94012 from KoBeWi/reload_everything_to_update_one_line
...
Allow live reloading of built-in scripts
2024-08-28 00:11:53 +02:00
Rémi Verschelde
d35bee9cdd
Merge pull request #94002 from kitbdev/fix-goto-error
...
Fix goto line issues in code editor
2024-08-27 22:27:25 +02:00
Rémi Verschelde
61f2a33353
Merge pull request #96007 from kitbdev/fix-external-script-reloading
...
Fix script overwriting with external editor
2024-08-27 16:55:11 +02:00
Rémi Verschelde
ac5a528620
Merge pull request #84944 from KoBeWi/legacy_of_ancient_godots
...
Fix some legacy code
2024-08-26 23:28:14 +02:00
kit
23927c3d9b
Fix script overwriting with external editor
2024-08-23 16:34:24 -04:00
Aaron Franke
99e997ae15
Make shader language editors inherit the same base class
2024-08-15 15:12:39 -07:00
kobewi
0d1c388991
Fix some legacy code
2024-08-01 12:08:14 +02:00
kit
06b17a4d2f
Fix goto line issues in code editor
2024-07-31 10:34:10 -04:00
kit
ad8f065f4a
Fix request_save_previous_state signal type
2024-07-07 19:12:30 -04:00
kobewi
5636518358
Allow live reloading of built-in scripts
2024-07-06 23:43:37 +02:00
Hugo Locurcio
3eb8b0ac8c
Add Markdown syntax highlighting to the script editor
2024-07-02 20:06:33 +02:00
passivestar
1a1d8a58ca
Center the label in overview of script editor
2024-06-27 16:01:35 +04:00
kobewi
b70368b78a
Don't insert newline while saving
2024-06-26 13:19:25 +02:00
Rémi Verschelde
a50b535988
Merge pull request #93110 from Hilderin/fix-signal-panel-after-connection
...
Fix Can't reopen signals panel immediately after connecting a signal
2024-06-19 10:10:14 +02:00
A Thousand Ships
fbb879debd
[Scene] Add `SceneStringNames::text/value_changed`
2024-06-19 09:44:38 +02:00
A Thousand Ships
ca18a06ecb
[Scene] Add `SceneStringNames::confirmed`
2024-06-19 09:40:54 +02:00
A Thousand Ships
d9e2fc74c7
[Scene] Add `SceneStringNames::item_selected`
2024-06-19 09:39:05 +02:00
Hilderin
64ba2cf3a9
Fix Can't reopen signals panel immediately after connecting a signal #92996
2024-06-18 18:24:40 -04:00
A Thousand Ships
d519715d94
[Scene] Add `SceneStringNames::font(_size/_color)`
2024-06-18 17:24:27 +02:00
Chris Cranford
beef0f687c
Expose `update_docs_from_script` method
2024-06-08 16:45:49 -04:00
Rémi Verschelde
9c87e8c7b4
Merge pull request #91953 from AThousandShips/use_normal_sname
...
Use `CoreStringNames::normal` in more places
2024-05-31 14:16:05 +02:00
A Thousand Ships
cade5b88d9
Use `CoreStringNames::normal` in more places
2024-05-30 22:57:54 +02:00
A Thousand Ships
926afccbd8
[Scene] Add `SceneStringNames::panel`
2024-05-30 22:54:50 +02:00
A Thousand Ships
755a0efbb6
[Scene] Add `SceneStringNames::id_pressed`
2024-05-30 22:54:04 +02:00
Rémi Verschelde
838eb5a0fd
Merge pull request #87099 from bitwise-aiden/ba-add-trim-newlines
...
Implement `trim_final_newlines` setting and functionality
2024-05-30 11:47:28 +02:00
Rémi Verschelde
4d906f46b3
Merge pull request #90660 from adamscott/rename-file-updated-dialog
...
Improve UX when saving newer files on disk
2024-05-29 11:19:41 +02:00
kobewi
e065d7132a
Remove duplicate shortcut definitions
2024-05-21 23:28:49 +02:00
Rémi Verschelde
45f6aaeb10
Merge pull request #91887 from minionprocyk/master
...
Use Option+Cmd+Left/Right for script editor history navigation on macOS
2024-05-20 17:06:46 +02:00
Gaktan
cafa64cd27
Add option to open online doc for selected native class in script editor
2024-05-14 21:44:46 +02:00
A Thousand Ships
ee79386f7b
[Scene] Add SceneStringNames::pressed
2024-05-14 15:51:28 +02:00
kobewi
413c11357d
Use Core/Scene stringnames consistently
2024-05-13 23:41:07 +02:00
Peter Procyk
82c2a74646
Use Option+Cmd+Left/Right for script editor history navigation on macOS
2024-05-12 19:55:27 -04:00
kobewi
a262d2d881
Add shorthand for using singleton string names
2024-05-11 18:53:08 +02:00
Rémi Verschelde
a9a1d0a162
Merge pull request #91619 from AThousandShips/find_improve
...
Replace `find` with `contains/has` where applicable
2024-05-08 14:35:44 +02:00
A Thousand Ships
b4c6cc7d82
[Core] Add case-insensitive `String::containsn`
2024-05-08 12:48:01 +02:00
A Thousand Ships
a0dbdcc3ab
Replace `find` with `contains/has` where applicable
...
* Replaces `find(...) != -1` with `contains` for `String`
* Replaces `find(...) == -1` with `!contains` for `String`
* Replaces `find(...) != -1` with `has` for containers
* Replaces `find(...) == -1` with `!has` for containers
2024-05-08 12:37:42 +02:00
Rémi Verschelde
68bd282c50
Merge pull request #81906 from the-sink/dominant-script-default
...
Set `open_dominant_script_on_scene_change` to off by default
2024-05-07 16:49:07 +02:00
A Thousand Ships
955d5affa8
Reduce and prevent unnecessary random-access to `List`
...
Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when
accessing a single element)
* Removed subscript operator, in favor of a more explicit `get`
* Added conversion from `Iterator` to `ConstIterator`
* Remade existing operations into other solutions when applicable
2024-05-04 16:08:55 +02:00
Aiden Storey
b4c1634b52
Implement trim_final_newlines functionality
2024-05-02 22:57:34 -04:00
Christian Kaiser
09f01d611c
Fix editor tooltip flicker caused by _tree_changed
2024-04-27 21:11:45 -03:00
kobewi
3a1246c198
Store line change in script navigation history
2024-04-25 23:22:47 +02:00
kobewi
fd3ed998ce
Further speed up closing multiple scripts
2024-04-23 23:33:01 +02:00
Rémi Verschelde
84457f66bb
Merge pull request #90189 from Naros/expose-goto-help
...
Expose `goto_help` for GDExtension on `ScriptEditor`
2024-04-17 10:58:32 +02:00
Chris Cranford
d8f1287bcf
Expose `goto_help` for GDExtension on `ScriptEditor`
2024-04-16 19:32:33 -04:00
Adam Scott
38d8abea12
Improve UX when saving newer files on disk
2024-04-14 11:36:07 -04:00
Rémi Verschelde
fe25b18432
Merge pull request #89861 from dalexeev/editor-help-fix-csharp-crash
...
Fix regression with C# build editor crash due to `EditorHelpHighlighter`
2024-04-05 12:15:57 +02:00
bruvzg
61f7145f43
[Native File Dialog] Add support for using native dialogs in the editor.
2024-03-28 11:53:03 +02:00
Rémi Verschelde
c4aa1078fb
Merge pull request #88465 from AeioMuch/search_results_button
...
[Editor] Hide Search Results by default and show it on first search.
2024-03-25 11:18:35 +01:00
Danil Alexeev
eab05558c4
Fix regression with C# build editor crash due to `EditorHelpHighlighter`
2024-03-24 21:26:18 +03:00
Rémi Verschelde
05372773e1
Merge pull request #89599 from timothyqiu/vegetate
...
Fix unexpected auto translation of editor `Tree` content
2024-03-23 21:15:39 -07:00
A Thousand Ships
2cbf469912
Fix sorting of files/dirs in dialogs
...
Sorts leading `_` before other characters except `.`.
2024-03-20 13:45:47 +01:00
Haoyu Qiu
8cd1ebbd6d
Fix unexpected auto translation of Tree content
2024-03-18 09:31:00 +08:00
AeioMuch
5cf6f3c779
Hide Search Results by default. Show it on first search and push it at the end. Add a close button to hide it back. Also switch to Script Editor if a searched line is clicked.
2024-03-16 20:42:05 +01:00
Hugo Locurcio
8221e7546b
Add editor shortcuts to toggle bottom panel visibility
...
Default shortcuts use the first or second letter of each word.
This also adds a new shortcut to toggle the last opened bottom panel.
On editor startup, this defaults to the first panel in the list
(which is the Output panel).
2024-03-05 15:53:15 +01:00
Rémi Verschelde
16bdd83ea4
Merge pull request #86705 from KoBeWi/resourception
...
Improve saving of built-in resources
2024-02-29 13:53:44 +01:00
Rémi Verschelde
e770a38d00
Merge pull request #88742 from MajorMcDoom/text-editor-zoom
...
Fix the text editor theme not being applied on editor start
2024-02-27 10:17:47 +01:00
Muller-Castro
1638c1b28f
Add const lvalue ref to editor/* container parameters
2024-02-26 15:28:15 -03:00
Rémi Verschelde
abe73c3db0
Merge pull request #88675 from MajorMcDoom/script-editor-redundancy
...
Remove some redundant method calls from ScriptEditor
2024-02-26 10:48:57 +01:00
Zi Ye
ea401f9853
Fixed the text editor theme not being applied on editor start.
2024-02-25 14:42:48 -06:00
Rémi Verschelde
4582ee1a0f
Merge pull request #87760 from kitbdev/extract-bottom-dock
...
Extract BottomPanel from EditorNode
2024-02-23 22:18:50 +01:00
Zi Ye
943f6aa113
Removed some redundant calls from ScriptEditor.
2024-02-22 12:13:48 -06:00
kobewi
aeec3c1309
Add methods to add submenus without using names
2024-02-22 15:13:53 +01:00
Zi Ye
9281c441f6
Improved text editor status bar and zooming UX.
2024-02-21 17:33:16 -06:00
kit
eb6ca91ba6
Extract BottomPanel from EditorNode
2024-02-20 15:09:07 -05:00
kobewi
a031911c82
Use check_changed_settings_in_group() everywhere
2024-02-19 21:34:45 +01:00
Michael Alexsander
7b42c24550
Make auto translation inheritable
2024-02-15 16:51:19 -03:00
Paul Joannon
9fa2355cef
Disable signal callback generation in C#
2024-02-14 13:26:45 +01:00
Hugo Locurcio
04a930d9a6
Disable multi-window buttons instead of hiding them when support is unavailable
...
This is more explicit as for why this functionality isn't available
depending on editor settings and current platform.
This also exposes a `EditorInterface.is_multi_window_enabled()` method
so that editor plugins can easily query whether the editor is able and
expected to create multiple windows.
2024-01-27 19:38:39 +01:00
Yuri Sizov
c027aecc2e
Merge pull request #86676 from rune-scape/sparse-script-reload
...
GDScript: Hot-reload changed scripts only
2024-01-17 18:52:54 +01:00
Yuri Sizov
95b27fe8c7
Reorganize code related to editor theming
...
This change introduces a new EditorThemeManager class
to abstract theme generatio and its subroutines.
Logic related to EditorTheme, EditorColorMap, and editor
icons has been extracted into their respective files with
includes cleaned up.
All related files have been moved to a separate folder to
better scope them in the project. This includes relevant
generated files as well.
2024-01-16 11:57:45 +01:00
kobewi
0e8f90f4c8
Update deferred calls to use Callables
2024-01-09 16:11:47 +01:00
Rémi Verschelde
ee42c9e7ef
Merge pull request #82498 from aXu-AP/docs-double-navigation
...
Fix opening docs writing extra navigation history
2024-01-09 15:30:38 +01:00
Rémi Verschelde
5eb22a317d
Merge pull request #83577 from DennisManaa/fix-translation-for-item-list
...
Add automatic translation of items to ItemList
2024-01-04 16:39:36 +01:00
Rémi Verschelde
6c390b620d
Merge pull request #84445 from Rubonnek/add-const-references-clang-tidy
...
Add const references detected by clang-tidy
2024-01-04 14:25:33 +01:00