Dedicated tabs for Resources and stand-alone Scripts #5184
azur-wolve
started this conversation in
Editor
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Have been playing around with custom
Resource
s, and have find missing something that also felt while working with scripts.There's no creation dialog for creating resources in Godot Editor.
There are for creating scenes and nodes.
But for resources you must right-click on the FileSystem dock → New Resource, but that's a bit raw.
Also regarding the way you create stand-alone scripts is similar. You're enforced to always attach them to a node, regarding the editor UI workflow.
Otherwise you must create the script by right-click on the FileSystem dock → New Script, or through Script Workspace → File → New Script. It feels a bit hidden, and also there's no default hotkey to create a script.
There's no way to open a dedicated tab for a resource, allowing to see its exported properties in the inspector, the attached script etc.
(right now what can do is double-click the resource file in the FileSystem dock, but it doesn't open a dedicated tab, can't see its attached script, and the only panel that shows info of the resource is the Inspector panel).
If want to open the script attached to a resource (or any script not-attached to a node) you must go to the Script Editor, but it is a bit hidden, and feels a bit rough IMO.
[DOUBT: Godot 4.x will have an improved Script Editor?]
So, what about have:
dedicated editor tabs for
Resource
sdedicated editor tabs for (at least stand-alone)
Script
s (could show a list of which nodes they're attached to, instead of the Scene Panel)use the '+' tab button "Add a new scene." to instead have it to show a popup (
MenuButton
) with 3 options:Another observation: when you have focused a
Script
that isn't attached to a node, a scene is still shown on the Scene panel.And when a
Scene
/Node
that has no script, in the Script Workspace the last selected script is shown.Those can lead to confusion, because there's a mixing between what you have selected, and what is shown.
I'm missing something, a way to do, or any reason or caveat? Any hidden feature?
Beta Was this translation helpful? Give feedback.
All reactions