Search for Eclipse Project

Can I specify a project in which you want to search? It annoyed me for a long time. For example, when I press Ctrl + H to search, only the available areas are available:

  • Workspace
  • Selected resources
  • Projects for closing facilities
  • Work set

So, there are only three ways that I see for performing searches in specific projects, the following:

  • Open the file from the desired project, press Ctrl + H and select Application Objects area
  • Add the desired project to the Workset and search for that set.
  • Select a project in Project Explorer and search in Selected Resources

All these methods are not always convenient.
Sometimes I just want to manually specify the projects where the search should be performed

Edit:
The latter option is not suitable for two reasons:

1) I usually have the option "Link with editor", which associates the current file with the corresponding element in Project Explorer. Our project is quite large, so usually I have to scroll all the way to minimize the selected project, to make others visible.

2) In addition, Project Explorer is not available when I work in a different perspective, for example Debug (I know that I can add it through Window-> Show View, but this just violates the essence of perspectives).

+4
source share

Source: https://habr.com/ru/post/1369516/


All Articles