Search code examples
eclipseeclipse-cdt

Eclipse - how to simultaneously switch working set for project explorer, call hierarchy, and search?


Whenever I switch working sets in the project explorer, the working set does not switch for the search and call hierarchy views, so I end up with search results from the wrong working set if I forget to switch those over manually.

Is there a shortcut for switching working sets in all those tools simultaneously?

Thanks!


Solution

  • There is a special working set concept in Eclipse called Window working set which is basically a 'centralized' way of managing your working sets.

    You can set up your working sets in Window / Working Sets. Most views which have support for working sets have an option to select this special working set (as you can see here). After finishing the setup you can turn on/off your active working set in Window / Working Sets and all views are automatically use the changed values.

    Project explorer, call hierarchy and search support this feature.