kobewi
134e4d168b
Improve save handling for built-in scripts
2021-11-07 23:51:12 +01:00
kobewi
e393c2a734
Add is_built_in() method to Resource
2021-11-04 12:45:58 +01:00
Rémi Verschelde
3b11e33a09
clang-format: Disable alignment of operands, too unreliable
...
Sets `AlignOperands` to `DontAlign`.
`clang-format` developers seem to mostly care about space-based indentation and
every other version of clang-format breaks the bad mismatch of tabs and spaces
that it seems to use for operand alignment. So it's better without, so that it
respects our two-tabs `ContinuationIndentWidth`.
2021-10-28 15:19:35 +02:00
Paulb23
3010bca41b
Move add_syntax_highlighter bind to ScriptEditorBase
2021-10-11 18:13:31 +01:00
Paulb23
44e260e247
Allow breakpoints in closed files
2021-10-07 19:48:58 +01:00
Eric M
bd3cc8d6cc
Fixed ScriptTextEditor errors/warnings panel formatting.
2021-10-04 18:03:26 +10:00
Eric M
6b65092c57
Added ability to override shortcut definitions for OSX (remove preprocessor defines)
2021-09-22 00:09:57 +10:00
Yuri Roubinsky
1dda47c280
Added status bar and toggle scripts panel button to EditorHelp/VScripts
2021-09-15 11:35:03 +03:00
Yuri Roubinsky
6a9e855af9
Fix editor crash on pressing Go to Previous Bookmark
menu button
2021-09-14 14:21:51 +03:00
Gilles Roudière
321ee7bda1
Merge pull request #52106 from Paulb23/text-edit-optimisation
...
Optimise TextEdit get line height and width
2021-09-08 14:04:41 +02:00
Fabio Alessandrelli
58c30b2626
Merge pull request #51639 from Ev1lbl0w/gsoc21-dap
...
Implement more advanced features for DAP
2021-09-01 16:17:32 +02:00
Ev1lbl0w
292ed61c18
Implemented advanced features of DAP
...
Respect client "supportsVariableType" capability
Implement "breakpointLocations" request
Implement "restart" request
Implement "evaluate" request
Fix error messages not being shown, and improved wrong path message
Removed thread option and behavior
Implemented detailed inspection of complex variables
Fix "const"ness of functions
Added a configurable timeout for requests
Implement Godot custom data request/event
Implement syncing of breakpoints
Added support for debugging native platforms
2021-08-31 15:17:58 +01:00
Wilson E. Alvarez
d11c1afc04
Rename String::is_rel_path to String::is_relative_path
2021-08-29 20:41:29 -04:00
Paulb23
de009cb5ae
Optimise TextEdit get height and width
2021-08-28 11:27:23 +01:00
Rémi Verschelde
de7b6d13eb
Merge pull request #51627 from mhilbrunner/todo-for-neikeq
2021-08-18 20:13:50 +02:00
Rémi Verschelde
aa3909cf54
Merge pull request #51729 from yjh0502/ext-reload-master
...
Auto-reload scripts with external editor
2021-08-17 19:42:44 +02:00
Max Hilbrunner
5161c97c9c
Remove underscore hacks
...
Way less cruft. :)
Co-authored-by: Ignacio Roldán Etcheverry <neikeq@users.noreply.github.com>
2021-08-17 16:10:28 +02:00
Haoyu Qiu
16c2d4ef22
Improve Undo/Redo menu items
...
* Make Undo/Redo menu items disabled when clicking it does nothing.
* Context menu of `TextEdit`
* Context menu of `LineEdit`
* Editor's Scene menu
* Script editor's Edit menu and context menu (for Script and Text)
* Make editor undo/redo log messages translatable.
* Mark `UndoRedo`'s `has_{un,re}do()` methods as `const`.
* Expose `TextEdit`'s `has_{un,re}do()` to scripts since `{un,re}do()` are already available.
2021-08-17 21:11:10 +08:00
Jihyun Yu
1c61245990
Auto-reload scripts with external editor
2021-08-17 21:43:45 +09:00
Paulb23
bcfc591f86
Reorganise text editor settings
2021-08-16 17:18:49 +01:00
Rémi Verschelde
81512a3732
Style: Cleanup code using text_editor/completion/use_single_quotes
2021-08-13 21:27:57 +02:00
Haoyu Qiu
dae51cc6b3
Allow dropping property path into script editor
2021-08-13 23:04:48 +08:00
Paulb23
ae4dcb8918
Cleanup and bind remaing methods in TextEdit
2021-08-12 11:43:35 +01:00
Paulb23
b700011314
Protect internal CodeEdit --> TextEdit API
2021-08-12 09:29:58 +01:00
Paulb23
9ec3e7f3d7
Cleanup TextEdit selection methods
2021-08-12 09:29:56 +01:00
Paulb23
d5dcaee4c5
Cleanup and rename caret operations
2021-08-12 09:29:13 +01:00
Aaron Franke
fa3a32a2d6
Use Key enum instead of plain integers
2021-08-10 16:26:55 -05:00
Bhuvan Vemula
a0a019a998
Added EditorCommandPalette
2021-08-09 17:41:50 +05:30
Paulb23
809a32c045
Clean up and complete CodeEdit inspector and docs
2021-08-01 12:24:19 +01:00
Paulb23
dd5a37f556
Move symbol lookup into CodeEdit
2021-08-01 12:06:33 +01:00
Paulb23
12f0053555
Move auto brace completion to CodeEdit
2021-08-01 12:06:33 +01:00
Rémi Verschelde
ac3322b0af
Use const references where possible for List range iterators
2021-07-25 12:22:25 +02:00
Aaron Franke
4e6efd1b07
Use C++ iterators for Lists in many situations
2021-07-23 17:38:28 -04:00
Rémi Verschelde
dfc1ec7fb9
Merge pull request #50606 from Chaosus/textedit_fix_guttertype
...
Fixed typos in `TextEdit::GutterType` enum
2021-07-19 16:40:42 +02:00
Yuri Roubinsky
1597045b09
Fixed typos in TextEdit::GutterType
enum
2021-07-19 11:18:54 +03:00
reduz
6631f66c2a
Optimize StringName usage
...
* Added a new macro SNAME() that constructs and caches a local stringname.
* Subsequent usages use the cached version.
* Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time.
* Replaced all theme usages by this new macro.
* Replace all signal emission usages by this new macro.
* Replace all call_deferred usages by this new macro.
This is part of ongoing work to optimize GUI and the editor.
2021-07-18 21:20:02 -03:00
kobewi
5e593dda9b
Support single quote when dropping files to script
2021-07-03 13:03:20 +02:00
Rémi Verschelde
d41f4aca77
Script editor: Rename 'Clone Down' to 'Duplicate Selection'
...
Fixes #36670 .
2021-06-29 12:14:24 +02:00
Paulb23
1a0cfc219b
Move indent management to CodeEdit
2021-06-20 20:00:54 +01:00
Lightning_A
e28fd07b2b
Rename instance()
->instantiate()
when it's a verb
2021-06-19 20:49:18 -06:00
Rémi Verschelde
60dcc4f39c
Merge pull request #49742 from Paulb23/remove_keywords_textedit
...
Remove redundant keywords from TextEdit
2021-06-20 00:39:18 +02:00
Paulb23
ab49ea032c
Remove redundant keywords from TextEdit
2021-06-19 13:56:54 +01:00
Eric M
d0e78c86d7
Added support for scripts reporting multiple errors to ScriptTextEditor
...
Scripts can now report multiple errors to the scripting editors in the engine. UI elements were added to support multiple errors.
2021-06-19 22:20:30 +10:00
Rémi Verschelde
341cb8da31
Merge pull request #49238 from Paulb23/code_edit_code_folding
...
Move code folding into CodeEdit and hide line hiding API
2021-06-16 20:11:39 +02:00
kobewi
7ff135b015
Consistently prefix bound virtual methods with _
2021-06-12 00:55:52 +02:00
kobewi
da6aebeb4c
Move FindReplaceBar out of CodeTextEditor
2021-06-08 23:23:07 +02:00
Paulb23
5c618dd03d
Move code folding into CodeEdit and hide line hiding API
2021-06-01 17:07:01 +01:00
Paulb23
c1b9971ad8
Move and expose Code Hint in CodeEdit
2021-06-01 15:38:45 +01:00
Paulb23
1c16673798
Move and expose AutoComplete in CodeEdit
2021-06-01 15:38:45 +01:00
Paulb23
680dc9e81a
Add comment and string tracking to CodeEdit
2021-06-01 15:38:45 +01:00