| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
| |
Implements open_in_external_editor for subclasses of ScriptLanguage.
Add option 'Debug with external editor' to debug menu to control the behavoir of script opened by editor.
|
| |\
| |
| | |
Added script overview
|
| | | |
|
| |/
|
|
|
| |
Also renamed the "tutorials" button in the script editor to be consistent with the help menu entry.
Fixed #8921
|
| |
|
|
| |
this might cause bugs I haven't found yet..
|
| |\
| |
| | |
New customizable editor theme
|
| | | |
|
| | |
| |
| |
| | |
This reverts commit f045efe007cffb87238ee519b7f33d710814ded7.
|
| |\ \
| | |
| | | |
Editor: Make "open 2d/3d/script editor" shortcuts configurable.
|
| | |/
| |
| |
| | |
Also adds shortcuts for opening the AssetLib and for switching to the next/prev editor.
|
| |/ |
|
| |\
| |
| | |
Fix to use editor theme instead of handling each UI
|
| | | |
|
| |\ \
| |/
|/| |
Added recent scripts to script editor
|
| | | |
|
| |/ |
|
| | |
|
| | |
|
| | |
|
| |\
| |
| | |
External editor improvements and fixes
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Notable changes:
- Now ScriptLanguages have the option to override the global external editor setting.
If `ScriptLanguage::open_in_external_editor()` returns `ERR_UNAVAILABLE` (which it does by default), then the global external editor option will be used.
- Added formatting to the external editor execution arguments. Now it's possible to write something like this: `{project} -g {file}:{line}:{col}`.
- `VisualScript::get_member_line()` now can return the line of functions (well, it returns the id of the _Function_ node of the function). I guess there is nothing else we can get a "line" from.
Fixes:
- Fixes a bug where `ScriptEditor::script_goto_method()` would not work if the script is not already open in the built-in editor.
- Fixes wrong DEFVAL for `cursor_set_column` and `cursor_set_line` in TextEdit.
- `Script::get_member_line()` now returns -1 ("found nothing") by default.
|
| |\ \
| | |
| | | |
Support for space indentation
|
| | | | |
|
| | |/ |
|
| |/ |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I can show you the code
Pretty, with proper whitespace
Tell me, coder, now when did
You last write readable code?
I can open your eyes
Make you see your bad indent
Force you to respect the style
The core devs agreed upon
A whole new world
A new fantastic code format
A de facto standard
With some sugar
Enforced with clang-format
A whole new world
A dazzling style we all dreamed of
And when we read it through
It's crystal clear
That now we're in a whole new world of code
|
|
|
The other subfolders of tools/ had already been moved to either
editor/, misc/ or thirdparty/, so the hiding the editor code that
deep was no longer meaningful.
|