Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automatically expand all in Eclipse Search results

Tags:

search

eclipse

I usually want to have all the search results (from ctrl-H) fully expanded, but only the first leaf node is expanded by default.

What I end up doing is clicking the "Expand All" button in the Search view but this is tedious.

Is there a way to automatically have results fully expanded?

like image 403
prismaticorb Avatar asked May 11 '12 14:05

prismaticorb


People also ask

How do I expand all in eclipse?

Tap * once for each level that all folders under the selected folder should be expanded. For example, tapping * three times will expand all folders out to three levels. Tap Numpad / once to collapse all folders under the selected folder.

How do I search for specific packages in Eclipse?

Ctrl+H opens the search dialog which you can use to search for packages. Show activity on this post. Click on the root package and start typing the name of the package you are looking for.

How do I minimize project explorer in eclipse?

Thanks Anantha, Cmd/Ctrl + F7 works.


1 Answers

No but you can use the keyboard shortcuts of your OS. On Linux, use Nk* (* on the numpad) to expand the current node and all children.

Windows user can use Shift+Nk*

On the Mac, select all nodes with Command+A and then expand them with Command+Right Arrow

like image 141
Aaron Digulla Avatar answered Sep 28 '22 08:09

Aaron Digulla