Age | Commit message (Collapse) | Author |
|
Pressing Enter key creates or loads script on Attach script window
|
|
Focus path field after seleting file browser on Attach script window
|
|
We only need to validate the class name when creating a new script, existing scripts already have one.
Fixes #14643
Supersedes/Closes #14684
|
|
|
|
|
|
|
|
Also to prepare for upcoming refactoring for XDG support.
|
|
Changed FileDialogs for EditorFileDialogs in EditorNode.
Updated CheckButton.
|
|
- Make ScriptCreateDialog disable the built-in script checked button if the language does not support it.
- ScriptLanguage's get_template and make_template now receive the script path as class name if the the script language does not have named classes.
|
|
Fixes #12261
Signed-off-by: Jakob Sinclair <sinclair.jakob@mailbox.org>
|
|
|
|
|
|
|
|
|
|
Fixed create script editor dialog not changing extension
Options menu for inspector element is bigger
|
|
-Added system for feature overrides, it's pretty cool :)
|
|
|
|
|
|
|
|
|
|
Templates will be loaded from .godot/script_templates
For now they're disabled for GDNative.
Ideas for further improvements:
- Add a "Save as Template" option to the script editor, as it can normally only save to res://
- Support more placeholders / custom placeholders
|
|
Fixes a bunch of the most spammy console errors introduced by recent refactorings:
- `AudioServerState` does not exist, this was the reference to it in the source. The surrounding code made it clear that `AudioServerLayout` was meant to be used instead.
- `StreamCSVTranslation` same here, it's the only reference. I went with `Translation` here, but I'm not 100% sure on this one.
- Some methods have been moved from `Texture` to `Image`, but the old bindings were still there.
- A few `name == ""` errors related to duplicating nodes.
|
|
Untangled a lot of Controls logic code and placed it in one place.
Which squashed few bugs and made code easier to maintain.
|
|
|
|
|
|
|
|
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.
|