jvolkman/intellij-protobuf-editor

Add collapse option to Structure view

Closed this issue · 2 comments

In the Structure view, can you add an option to the toolbar to Collapse and Expand for all?

Currently, when I open a .proto, it shows all messages expanded by default with no way to collapse them (that I found) to just a list of the messages. This makes navigation harder as we have enums with lots of values, so it's a lot of scrolling to find the message I need. I also more often (always) need to find a specific message, not see the fields of a message.

The structure view could certainly use some love. I haven't looked at it for a long time.

However, I think collapse and expand all are built-in operations and not something the plugin provides. Have you tried the buttons at the top left of the view?

image

You ever look really hard for something, and keep looking right past thing you need? You are correct that's what I needed. So used to them being on the left in other tool tabs that I looked past the buttons on the right even when I went to the gear config menu...