Commit graph

207 commits

Author SHA1 Message Date
jinyangcruise
251af31089 fix hover/pressed style overwride custom drawed content 2026-04-16 22:56:54 +08:00
kit
67e93e735f Clean up FindInFiles code 2026-04-10 11:58:50 -04:00
Thaddeus Crews
4f0eccae9c
Merge pull request #118168 from KoBeWi/fif.inc
Handle gdshaderinc files in Find in Files
2026-04-08 09:25:37 -05:00
Thaddeus Crews
d7a88c4dc2
Merge pull request #118179 from raulsntos/fix-unsaved-bug
Fix adding duplicate entries for already opened files in built-in editor
2026-04-08 09:25:35 -05:00
Raul Santos
b3f01cd4b3
Fix adding duplicate entries for already opened files in built-in editor 2026-04-04 09:02:31 +02:00
kobewi
bd3f550c14 Handle gdshaderinc files in Find in Files 2026-04-03 22:13:12 +02:00
Infiland
07d360fbf6 Fix script editor errors shown out of order
When warnings are treated as errors in GDScript, they are appended to
the error list via `push_error()` without regard for line ordering.
This causes them to appear after all other errors in the editor panel,
regardless of their actual line numbers.

Sort errors by line number (with column as tiebreaker) in
`_validate_script()` before display. This ensures the error panel and
the first-error indicator both reflect the correct source order. The
fix is language-agnostic, benefiting all script languages.
2026-04-02 23:18:44 +02:00
Thaddeus Crews
edd83fa534
Merge pull request #117742 from p-b-b/breakpoint-fix
Fix breakpoints resetting on external editor save
2026-04-01 12:55:09 -05:00
Thaddeus Crews
bcf3d9a9c6
Merge pull request #113772 from LilithSilver/add-close-file
Add `ScriptEditor::close_file()`
2026-03-30 13:35:19 -05:00
StarryWorm
4ae336740d Add missing resource_*.h includes
Add missing `resource_importer.h` includes
Add missing `resource_loader.h` includes
Add missing `resource_saver.h` includes
2026-03-27 07:03:39 -04:00
nikitalita
8628738a34 Add ScriptEditor::close_file() 2026-03-24 13:27:49 -07:00
Rémi Verschelde
40be61def8
Merge pull request #113762 from LilithSilver/bind-get-unsaved-scripts
Expose `ScriptEditor::get_unsaved_files`
2026-03-23 22:33:47 +01:00
Pedro Barroso de Brito
246ce46513 Fix breakpoints resetting on external editor save 2026-03-22 22:43:30 +00:00
Lukas Tenbrink
05c33acbb1 Make memnew(RefCounted) return Ref, to force callers to take ownership of it through a reference. 2026-03-18 20:34:08 +01:00
nikitalita
6bf7ca2dbb Add ScriptEditor::get_unsaved_files 2026-03-18 09:25:26 -07:00
Rémi Verschelde
e33e98a26f
Style: Apply clang-format grouping rules 2026-03-17 20:11:01 +01:00
Rémi Verschelde
280e06c2fe
Merge pull request #117375 from kitbdev/fix-te-menu-error
Fix error on opening script after documentation
2026-03-16 23:41:20 +01:00
Rémi Verschelde
6e07a6c3c9
Merge pull request #117442 from Ivorforce/classdb-dedup-name
De-duplicate name and inherits `StringName` properties from `ClassDB::ClassInfo`, in favour of `GDType`
2026-03-16 12:08:25 +01:00
Rémi Verschelde
005e054245
Remove unused includes in editor with clangd-tidy
Also includes the few changes flagged in `main`.
2026-03-15 20:47:05 +01:00
Lukas Tenbrink
67f63addc1 De-duplicate name and inherits StringName properties from ClassDB::ClassInfo, in favour of GDType. 2026-03-15 16:57:10 +01:00
kit
e5a66b7628 Fix error on opening script after documentation 2026-03-12 13:41:59 -04:00
Thaddeus Crews
3f040adfac
Merge pull request #117016 from Mrfanta-stick/fix-script-create-dialog-fallback
Add explicit OptionButton fallback state in ScriptCreateDialog
2026-03-09 15:18:10 -05:00
Thaddeus Crews
938369749a
Merge pull request #116734 from kitbdev/sc-drag-nested-intersection
SplitContainer drag nested intersections
2026-03-06 12:40:12 -06:00
Mrfanta-stick
4b86e36947 Add explicit OptionButton fallback state in ScriptCreateDialog 2026-03-06 19:31:05 +05:30
kit
f51857cbaf Fix TextEditor breakpoint and bookmark shortcuts not working until menu is opened 2026-03-05 18:33:56 -05:00
kit
339bc4f88f SplitContainer drag nested intersections 2026-03-05 10:35:02 -05:00
Rémi Verschelde
2dd1f4ef60
Decouple node.h from scene_tree.h, minimize its other includes 2026-03-05 13:54:46 +01:00
StarryWorm
3cb2d376f8 Get rid of all unnecessary class_db.h includers 2026-03-04 17:40:05 -05:00
Thaddeus Crews
db25be3646
Merge pull request #116585 from jinyangcruise/fix_symbol_jump
Fix symbol jump history navigation issue.
2026-03-04 11:20:33 -06:00
Rémi Verschelde
eabb9a63d4
Rename callable_method_pointer.h to callable_mp.h and include it explicitly
This allows removing it from `class_db.h`, significantly reducing the amount of files
that include it transitively.

Also includes some include cleanup in `control.h` and `rich_text_label.h` done while
ensure they don't depend on `callable_mp`.
2026-03-04 16:23:23 +01:00
Rémi Verschelde
8c0f175c94
Decouple RenderingServer from as much of the codebase as possible
Notably decouples it from:
- AccessibilityServer
- DisplayServer
- Viewport
- Window
2026-03-03 12:48:07 +01:00
Rémi Verschelde
a447ac95ec
Move DisplayServer enums and typedefs to DisplayServerEnums
This will allow decoupling `display_server.h` from a number of headers in the
codebase which only require those enums and not all the DisplayServer API.
2026-03-03 12:44:02 +01:00
jinyangcruise
e4e31abeaa fix symbol jump history navigation issue. 2026-02-28 09:45:06 +08:00
kobewi
1b543e85cf Reorganize interface/editor setttings 2026-02-27 22:25:59 +01:00
Thaddeus Crews
28c37846d8
Merge pull request #111547 from sockeye-d/script-editor-join-lines
Add script editor `join_lines` keybind
2026-02-27 08:49:31 -06:00
Thaddeus Crews
e380a41752
Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
Rémi Verschelde
f5a290ac46
Move RenderingServer enums to a dedicated RenderingServerEnums (RSE) namespace
A number of headers in the codebase included `rendering_server.h` just for
some enum definitions. This means that any change to `rendering_server.h` or
one of its dependencies would trigger a massive incremental rebuild.

With this change, we decouple a number of classes from `rendering_server.h`,
greatly speeding up incremental rebuilds for that area.

On my machine, this reduces incremental compilation time after an edit of
`rendering_server.h` by 60s (from 2m57s).
2026-02-25 19:43:03 +01:00
Thaddeus Crews
594c587a1a
Merge pull request #116658 from Giganzo/navigate-to-script
Fix empty navigate to script list button in Script Editor
2026-02-25 09:27:43 -06:00
Thaddeus Crews
1e4277e34b
Merge pull request #114813 from KoBeWi/harry_POTter
Generate translation template from Command Palette
2026-02-25 09:27:34 -06:00
Thaddeus Crews
e41577abdf
Merge pull request #112219 from Meorge/feat/signals-ui-use-monospaced-font
Use monospaced font for code names (methods, signals, properties) in UI
2026-02-24 09:29:18 -06:00
Malcolm Anderson
f05049fce7 Use monospaced font for code names (methods, signals, properties)
Add monospace font styling to more items in signal workflow

Use monospace font in method and property selection dialogs

Use monospaced font in Animation editor

Add editor setting

Additional fixes and things

Add documentation to editor setting

# Conflicts:
#	editor/inspector/property_selector.cpp

Update doc/classes/EditorSettings.xml

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2026-02-23 07:47:43 -08:00
Simon Döhl
33edf7f43c Remove unused variable causing warnings 2026-02-23 13:42:11 +01:00
Giganzo
6e91d27d9a Fix empty navigate to script list button in Script Editor 2026-02-23 12:54:06 +01:00
fish
4d294caac9 Add script editor join line functionality 2026-02-20 15:59:41 -08:00
tomasciviero
346150a9ff Fix: Sync built-in script memory before signal connection 2026-02-19 23:05:47 -03:00
Thaddeus Crews
afc720e35c
Merge pull request #116450 from fkeyzuwu/fix-export-dragndrop-type-hint
Match type hint behavior of drag and drop `@export` to `@onready`
2026-02-19 19:20:38 -06:00
Thaddeus Crews
4f62fa03f5
Merge pull request #116187 from nikitalita/expose_reload_scripts
Add reload_open_files() to script editor
2026-02-19 09:46:09 -06:00
Kai
8770218577 Add reload_open_files() to script editor 2026-02-18 17:06:14 -08:00
Thaddeus Crews
ad4c2c3da8
Merge pull request #116097 from KoBeWi/but_who_will_validate_validation_panel
Fix auto-translation of EditorValidationPanel
2026-02-18 17:28:30 -06:00
fkeyz
b60e662c25 Match type hint behavior of drag and drop @export to @onready 2026-02-18 22:06:38 +02:00