9281c441f6
Improved text editor status bar and zooming UX.
2024-02-21 17:33:16 -06:00
09df8f4a56
Merge pull request #87952 from paulloz/dotnet/byebye-signal-callback-generation
...
Disable signal callback generation in C#
2024-02-15 15:44:55 +01:00
9fa2355cef
Disable signal callback generation in C#
2024-02-14 13:26:45 +01:00
48e2f43ccf
Merge pull request #87479 from kitbdev/apply-ime
...
Fix TextEdit IME issues
2024-02-13 17:23:55 +01:00
76170379b3
Merge pull request #86633 from rune-scape/regression-79882
...
Fix possible crash (use after free) in ScriptTextEditor
2024-02-13 11:24:51 +01:00
a6af442b05
Apply TextEdit IME on most actions
2024-01-29 15:07:19 -05:00
745f8e112f
Revert "Add UID support to GDScript files"
...
This reverts commit c7f68a27ec .
We still think GDScript files need UIDs to allow safe refactoring,
but we're still debating what form those should take exactly.
So far there seems to be agreement that it shouldn't be done via an
annotation as implemented here, so we're reverting this one for now,
to revisit the feature in a future PR.
2024-01-29 21:00:26 +01:00
15369fdb1d
Remove unnecessary this-> expressions
2024-01-29 09:59:18 +01:00
d3003c48b3
Merge pull request #67132 from KoBeWi/This_commit_message_is_auto-generated._Do_not_modify_it-
...
Add UID support to GDScript files
2024-01-18 16:33:14 +01:00
c7f68a27ec
Add UID support to GDScript files
2024-01-17 22:30:56 +01:00
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
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
0e8f90f4c8
Update deferred calls to use Callables
2024-01-09 16:11:47 +01:00
0010096356
Merge pull request #83109 from Calinou/script-editor-add-more-toggle-comment-shortcuts
...
Allow Ctrl + KP / and Ctrl + # to toggle comment in the script editor
2024-01-04 16:39:10 +01:00
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
11d1844e66
Merge pull request #85869 from paulloz/dotnet-warning-out-of-date-properties
...
.NET: Add a warning in the inspector when properties might be out of sync
2024-01-03 15:43:41 +01:00
cde478bda6
Hot-reload only changed scripts
2024-01-02 17:56:52 -08:00
a938359cd3
Fix possible crash in script_text_editor.cpp
2023-12-29 18:05:58 -08:00
0818d015db
Inspector ⚠️ when C# props might be out of date
2023-12-22 23:27:13 +01:00
ead01d0ca4
Merge pull request #85527 from fdstevex/master
...
Fix for Cmd-B shortcut conflict on macOS
2023-12-19 13:02:14 +01:00
a3cb1b096f
Add const references detected by clang-tidy
2023-12-16 13:36:44 -05:00
86db8f921d
Fix for Cmd-B conflict on macOS, where Cmd-B was
...
both "Build Project" and "Go to Next Bookmark".
2023-11-30 06:58:52 -05:00
bc1949d797
Correctly check scripts that must inherit EditorPlugin
...
Also updates some error messages related to this kind of check
across the codebase.
2023-11-23 16:24:43 +01:00
b04b546092
Fix node names of submenu items across the editor
...
Also removes some programmer remarks and fixes some docs.
2023-11-08 14:42:42 +01:00
25fa5eadd5
Merge pull request #82986 from OmarShehata/fix-external-editor-hot-reload
...
Fix external editor hot reload for GDScript
2023-10-11 22:38:42 +02:00
936ad63709
Allow Ctrl + KP / and Ctrl + # to toggle comment in the script editor
...
This complements the existing Ctrl + K and Ctrl + / shortcuts.
2023-10-10 17:18:38 +02:00
71a8ac41fb
Merge pull request #72751 from dalexeev/doc-comment-color
...
Highlight doc comments in a different color
2023-10-09 23:21:54 +02:00
de7cbe8789
Highlight doc comments in a different color
2023-10-08 19:26:10 +03:00
f18aa00e85
Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable
2023-10-08 17:23:33 +02:00
c25a2d832b
Fix external editor hot reload
2023-10-07 22:14:54 -04:00
a93c19f373
create a constant when dropping a resource into the code editor while CRTL is held, and fix some inconsistencies
2023-09-27 14:37:00 -03:00
d2e651f403
Add Duplicate Lines shortcut to CodeTextEditor
...
This keyboard shortcut has been made with inspiration from the VS Code keyboard shortcut editor.action.copyLinesDownAction. It duplicates all selected lines and inserts them below no matter where the caret is within the line.
2023-09-25 23:41:31 +02:00
f2baba6ddb
Merge pull request #81927 from KoBeWi/uid﹕﹕∕∕c1ick
...
Make UIDs clickable in the script editor
2023-09-20 13:10:08 +02:00
3f43044a40
Make UIDs clickable in the script editor
2023-09-19 15:59:03 +02:00
6afadbaa9f
Replace Ctrl in editor shortcuts with Cmd or Ctrl depending on platform
2023-09-19 10:29:07 +02:00
8ecc0c4f47
Fix accessing editor theme items throughout the UI
...
This also exposes `EditorInterface::get_editor_theme`.
2023-09-15 14:51:01 +02:00
67dce301aa
Add code region folding to CodeEdit
2023-09-11 18:36:40 +02:00
6de34fde27
Add EditorStringNames singleton
2023-09-03 19:58:18 +02:00
cfd7dfd985
Fix a crash when built-in script is not saved and have syntax error
...
When built-in script is not saved, it has empty path, and origin
code assumes error with empty path is a depended_error but that's
not always the case.
Also add protection before access list index 0.
2023-08-30 17:45:58 +08:00
3f272f4910
Assume root when dropping node to unassigned script
2023-08-01 17:36:51 +02:00
25f3f660c5
Merge pull request #79610 from aaronfranke/toggle-comment-slash
...
Add Ctrl+/ as a shortcut to toggle comment in addition to Ctrl+K
2023-07-31 21:01:17 +02:00
74d20fe17e
Merge pull request #75216 from rune-scape/rune-dependancy-errors
...
Script editor (GDScript): Show depended script errors
2023-07-24 19:32:20 +02:00
2bd904e3db
Merge pull request #73196 from Vilcrow/fix-lookup-symbol
...
Fix jumping to function definition using `Ctrl+LMB` or the "Lookup Symbol" button
2023-07-24 19:32:12 +02:00
83b01708b2
Script editor: Show depended script errors
2023-07-24 15:49:39 +02:00
df3a1c18f1
Add Ctrl+/ as a shortcut to toggle comment in addition to Ctrl+K
2023-07-18 07:00:59 -05:00
56e2fad319
Fixed the jumping to function definition using 'Ctrl+LMB' and the 'Lookup Symbol' button.
2023-07-12 21:30:35 +03:00
a51116c6c7
Make onready variables created from dropping nodes include custom types
2023-07-12 07:58:26 -05:00
613c060e0b
Add a line break to error messages in the script editor
...
Fixes #71002
2023-06-19 15:57:27 +02:00
006e899bb3
sort code completions with rules
...
Fixups
Add levenshtein distance for comparisons, remove kind sort order, try to improve as many different use cases as possible
Trying again to improve code completion
Sort code autocompletion options by similarity based on input
To make it really brief, uses a combination `String.similiary`, the category system introduced in a previous PR, and some filtering to yield more predictable results, instead of scattering every completion option at seemingly random.
It also gives much higher priority to strings that contain the base in full, closer to the beginning or are perfect matches.
Also moves CodeCompletionOptionCompare to code_edit.cpp
Co-Authored-By: Micky <66727710+Mickeon@users.noreply.github.com >
Co-Authored-By: Eric M <41730826+EricEzaM@users.noreply.github.com >
2023-05-23 05:12:34 +02:00
d59cdb8327
Fix regression with right click on main selection
2023-05-08 21:56:16 +02:00