script-ide icon indicating copy to clipboard operation
script-ide copied to clipboard

Drag and Drop Script on Node in Scene Tree to attach it

Open Griiimon opened this issue 1 year ago • 3 comments

Hi,

One feature I'm missing is to drag and drop the script tab onto a node in the scene tree like you can from the vanilla script panel. Well, that and pinning scripts so that they aren't close when pressing "Close all", but I guess thats outside the scope of this plugin.

Thanks for the plugin btw, great work!

Griiimon avatar Jul 25 '24 15:07 Griiimon

image you can enable the Script List in the settings, then it is above the outline. I will check if the D&D Behavior can be implemented for the Tabs as well.

Maran23 avatar Jul 25 '24 16:07 Maran23

you can enable the Script List in the settings, then it is above the outline

Thanks, that helps a lot. I wrongly assumed this meant the new Script Outline Panel is visible by default..

Griiimon avatar Jul 25 '24 16:07 Griiimon

So I checked if I can add D&D to the Tabs. That is unfortunately not really possible due to a restriction in Godot. If the Tab rearrange feature is turned on, my D&D code is not used at all. But I added a new feature where you can see all scripts and drag from there! Just click on the three dots on the top right of the TabContainer.

Maran23 avatar Jul 27 '24 11:07 Maran23