Commit Graph

513 Commits

Author SHA1 Message Date
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 7a1a970c25 size() <= 0 and size() < 1. 2025-04-02 19:18:44 +08:00
Yufeng Ying 4f4031a675 Replace size() == 0 with is_empty(). 2025-04-02 19:18:43 +08:00
kobewi 10f6c01b9c Remove ABS in favor of Math::abs 2025-03-19 13:52:40 +01:00
Lars Pettersson d2d02d0ea8 EditorNode: Add function to load file as scene or resource 2025-03-12 23:59:48 +01:00
Thaddeus Crews 5280c0bf4a Merge pull request #102469 from sockeye-d/warning-highlights
Highlight warning lines in Script editor
2025-03-11 14:00:33 -05:00
A Thousand Ships 331a43a9d8 Add String::remove_char(s) methods for performance and convenience 2025-03-10 13:19:28 +01:00
A Thousand Ships 466590d0ec Use get_slicec instead of get_slice for single character splitters 2025-03-08 20:36:37 +01:00
Innaias eb99adb11b Added warning line highlight 2025-02-11 18:59:28 -08:00
kobewi d29a7450fa Drop preload Resources as UID 2025-02-11 14:17:05 +01:00
Danil Alexeev ead16435bf Script Editor: Add option to disable documentation tooltips 2025-02-09 11:02:10 +03:00
Thaddeus Crews 6fdf91cc2f Merge pull request #101616 from KoBeWi/how_was_it_even_functional
Rework script external modification tracking
2025-01-26 11:49:20 -06:00
Thaddeus Crews 1351d3098e Merge pull request #101565 from Hilderin/laspencer91/add-lookup-symbol-shortcut
Added shortcut for Lookup Symbol action
2025-01-17 17:09:24 -06:00
kobewi b761ff662e Rework script external modification tracking 2025-01-16 01:03:26 +01:00
Adam Scott 33e16435f5 Replace some problematic uses of String::num to String::num_int64 2025-01-15 12:51:51 -05:00
laspencer91 ba411e95f8 Added shortcut for Lookup Symbol action
Co-authored-by: laspencer91 <laspencer@live.com>
2025-01-14 18:42:07 -05:00
Lars Pettersson e813d3021b Show tooltips for res:// and uid:// strings in ScriptEditor 2025-01-14 15:29:41 +01:00
Pāvels Nadtočajevs b252867145 [macOS/Windows] Add Emoji & Symbols context menu item to LineEdit/TextEdit to show system character picker. 2025-01-10 09:25:34 +02:00
Danil Alexeev cd918ff470 GDScript: Remove RENAMED_IN_GODOT_4_HINT from GDScriptWarning::Code enum 2025-01-09 21:07:41 +03:00
Rémi Verschelde 01913e0852 Merge pull request #101156 from Hilderin/fix-documentation-tooltip-over-debug-tooltip
Fix documentation tooltip over debug tooltip
2025-01-07 23:18:00 +01:00
Rémi Verschelde ce6c3c5c28 Merge pull request #100556 from KoBeWi/unlimited_contextizer
Add more menus support to EditorContextMenuPlugin
2025-01-07 23:17:23 +01: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
Thaddeus Crews 3df8eb5abc Merge pull request #100707 from dalexeev/editor-restore-old-ctrl-click
Editor: Restore old `Ctrl+Click` behavior
2024-12-23 11:15:19 -06:00
Thaddeus Crews 98c5267ce5 Merge pull request #91388 from kitbdev/fix-goto-line
Make Goto line a Popup and column input
2024-12-23 11:15:12 -06:00
Danil Alexeev b8dfe2cca9 Editor: Restore old Ctrl+Click behavior 2024-12-21 21:10:09 +03:00
kobewi ba54a2805a Add more menus support to EditorContextMenuPlugin 2024-12-18 21:30:45 +01:00
Haoyu Qiu bf4e5cca3f Make editor's shortcut names translated on-site 2024-12-18 13:00:30 +08:00
Danil Alexeev 80d11500b5 Code Editor: Add documentation tooltips 2024-12-15 10:51:33 +03:00
Lukas Tenbrink b5c31ebb41 Add contains_char() for single-character 'contains' calls. 2024-12-06 20:23:35 +01:00
kobewi 289e548e34 Untangle ColorPicker includes 2024-11-22 21:42:50 +01:00
A Thousand Ships 68f638cf02 Use (r)find_char instead of (r)find for single characters 2024-11-17 10:02:18 +01:00
kobewi 5be53c36c0 Simplify some UID conversions 2024-11-14 23:22:59 +01:00
kit f41cd8ad52 Make Goto line a Popup and allow column input 2024-10-31 10:11:46 -04:00
Haoyu Qiu a751c05b15 Fix script editor wrongly replaces and quotes non-ASCII letters 2024-09-23 00:05:16 +08:00
Rémi Verschelde d0a7dcd8c0 Merge pull request #96371 from KoBeWi/mentos
Improve dropping code in script editor
2024-09-03 16:14:02 +02:00
Rémi Verschelde 69888aabb8 Merge pull request #96179 from passivestar/mac-breakpoint-shortcuts
[macOS] Change breakpoint shortcuts to avoid conflicts
2024-09-03 11:43:31 +02:00
kobewi 731fd1f0b9 Improve dropping code in script editor 2024-08-31 11:35:59 +02:00
kobewi b4c92dbd0e Refactor toggling script list 2024-08-28 17:00:51 +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
passivestar 06baff5f01 [macOS] Change breakpoint shortcuts to avoid conflict with the settings shortcut 2024-08-27 23:12:32 +04:00
Haoyu Qiu 8bf4ecc026 Add String.is_valid_unicode_identifier()
- Adds `is_valid_unicode_identifier()`
- Adds `is_valid_ascii_identifier()`
- Deprecates `is_valid_identifier()`
- Renames `validate_identifier()` to `validate_ascii_identifier()`
2024-08-27 11:34:08 +08:00
kit 06b17a4d2f Fix goto line issues in code editor 2024-07-31 10:34:10 -04:00
Danil Alexeev 063a362755 Editor: Consider tabs when calculating column for jump to error 2024-07-17 18:20:50 +03:00
kit fc16465d17 Fix dropping on selection in script editor 2024-07-04 19:42:38 -04:00
A Thousand Ships 755a0efbb6 [Scene] Add SceneStringNames::id_pressed 2024-05-30 22:54:04 +02:00
Rémi Verschelde aa147b74ea Merge pull request #90664 from KoBeWi/shadowdropped_resource
Prevent crash when dropping Resource that can't load
2024-05-30 11:47:38 +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 408228889f Merge pull request #92223 from KoBeWi/do_people_really_copy_whole_shortcut_definitions_multiple_times_and_unironically_think_this_is_alright_🤔
Remove duplicate shortcut definitions
2024-05-22 09:27:00 +02:00