| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |/ / |
|
| | | |
|
| | | |
|
| |\ \
| | |
| | | |
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
|
| | | | | |
|
| | | | | |
|
| | | |/
| |/| |
|
| |/ / |
|
| |\ \
| | |
| | | |
Fix signal error when starting editor
|
| | | |
| | |
| | |
| | | |
need to merge #8198 to work properly
|
| |/ /
| |
| |
| |
| |
| |
| |
| | |
Control set_pos -> set_position
Control set_global_pos -> set_global_position
[gs]et_mouse_pos -> [gs]et_mouse_position
[gs]et_global_mouse_pos -> [gs]et_global_mouse_position
fixes #8005
|
| |/ |
|
| | |
|
| | |
|
| | |
|
| |\
| |
| | |
Several enhancements for the tile map editor
|
| | |
| |
| |
| |
| | |
Allow sorting tile palette by name
Allow hiding tile ids in tile palette
|
| |\ \
| | |
| | | |
Include uniform (Shift down) mode in only-one-Node2D dragging
|
| | |/
| |
| |
| | |
in only-one-Node2D dragging
|
| |\ \
| | |
| | | |
Improved 2D snapping behavior
|
| | |/
| |
| |
| |
| |
| |
| | |
Make snapping affect nodes created by drag & drop
Make snapping for a single Node2D refer to its pivot
Refactor duplicate drag setup code
Replace one occurrence of the old set_pos by set_position
|
| |\ \
| | |
| | | |
Implement warped mouse panning for 2D & 3D editors
|
| | |/
| |
| |
| |
| | |
Enabled by default as in Blender, but can be disabled separately for 2D & 3D;
the core functionality is in Input so this could be reused or even exposed to scripts in the future
|
| |/
|
|
| |
From https://github.com/lucasdemarchi/codespell
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|