godotengine / godot-proposals

Godot Improvement Proposals (GIPs)
MIT License
1.16k stars 97 forks source link

Add a button / toggle to collapse node tree to 1st level nodes, 2nd level nodes, etc . . #2576

Open jasperbrooks79 opened 3 years ago

jasperbrooks79 commented 3 years ago

Describe the project you are working on

A Tomb raider game <3

Describe the problem or limitation you are having in your project

Right now, if I'm at the bottom, of the node inspector, there's no button, to go all the way, to the top, have to scroll, it takes some time, esp. for complex scenes . . I was thinking, if ' home ' and, ' end ' sort of did that, it'd be nice . . Also, consider a feature, that collapses the node tree, to the top node, hiding all ' lower ' nodes, a button, to collapse it, so one sees root node, and direct ' child ' nodes, 1 level, and also 2 levels, 3 levels . . This would allow faster navigation, of the node tree . .

Describe the feature / enhancement and how it helps to overcome the problem or limitation

Right now, navigating the node inspector, the scene tree, is a bit tedious . . Be nice if there were some buttons, to do that . . Maybe 'home', 'end' could take on to top, bottom, and 'PG UP', 'PG DWN' could collapse the tree, to 1 level, 2 levels, or so . . <3 LEVEL 1 Skærmbillede (1422)

LEVEL 2 . . . Skærmbillede (1423)

I'm not sure which buttons are left, but it'd help navigate the node inspector, a lot faster . .

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

Like above, where some short-cut keys / buttons, do that . . <3

If this enhancement will not be used often, can it be worked around with a few lines of script?

I have no idea <3 . . .

Is there a reason why this should be core and not an add-on in the asset library?

Well, it just takes forever, to do this, using the ' expand all/collapse all ', have to press it several times, then it only shows, the root node <3

Maybe, press 'PG UP' to go to level 1, then 'PG DOWN' to go, to the lower levels, of the tree <3

or, use 'F1' to go to level 1, 'F2' to go to level 2, etc . . . .

Xrayez commented 3 years ago

Well, it just takes forever, to do this, using the ' expand all/collapse all ', have to press it several times, then it only shows, the root node <3

You can also use Shift + left mouse button on the arrows.

jasperbrooks79 commented 3 years ago

Thanks, I just tried it, so the ' arrow ' keys work, for moving up - down, and pg up, pg down works :OO why, is ' home ', and ' end ' not also added, I often need to go to top, real fast, well, wanted to give suggestion <3 . .

Shift-click + left-click, I had no idea <3 . . .