Maran23/script-ide

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

Opened this issue · 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!

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.

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..

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.