Maran23 / script-ide

Script-IDE is a plugin for Godot. It transforms the Script UI into an IDE like UI. Tabs are used for navigating between scripts. The default Outline got an overhaul and now shows all members of the script (not just methods) with unique icons for faster navigation.
MIT License
368 stars 16 forks source link

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

Open Griiimon opened 4 months ago

Griiimon commented 4 months ago

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!

Maran23 commented 4 months ago

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.

Griiimon commented 4 months ago

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

Maran23 commented 4 months ago

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.