material-maker icon indicating copy to clipboard operation
material-maker copied to clipboard

[Proposal] Add hotkey for connecting two selected nodes.

Open fccDunce opened this issue 4 years ago • 2 comments

Feature/enhancement description:

Creating a connection between two distant nodes using mouse drag can be a mess, especially when it requires scrolling the node tree or extreme zooming out. Suggestions for routing nodes have been made here before, but not likely to be implemented until Godot updates its node framework. As a workaround, I propose a hotkey that when pressed will create a wire between the first available output of the first (leftmost) node, and the first available input of the second one. Once such a connection is made, dragging its ends in order to place them on the desired input and output is a simpler task.

fccDunce avatar Nov 26 '20 11:11 fccDunce

Hmm I don't like this solution.

It's already possible to use the middle button while connecting to pan the view.

Maybe it's possible, while connecting, to automatically move the view to follow the mouse cursor.

Or maybe place a "bookmark" on a node so it's possible to focus on that node later?

RodZill4 avatar Nov 26 '20 23:11 RodZill4

I agree, a bookmark sounds like a very nice solution. The way I'm imagining it is with a node selected you press shift+ number to keep a reference to the node. Then press only the number to jump straight to it from anywhere on the canvas, even while dragging a connection.

fccDunce avatar Nov 27 '20 07:11 fccDunce