Reputation: 15402
I want to search only in my current project but the "enclosing project" option is grayed out most of the time. Sometimes, it is not greyed out... Bug ? Or I am missing something ?
I am on Mac OSX.
Upvotes: 4
Views: 1717
Reputation: 11
Make sure that the "File name patterns" field has a value. An empty value disables the Search button.
Upvotes: 1
Reputation: 20112
you need to have the focus (by clicking) on a file, that is in a project. This can be done for example by clicking on a file in the Project Explorer or clicking in the Editor View of a file.
If your focus is not on a file (for example, when you click on the Console before searching), the option "enclosing project" is disabled, because no file within a project is selected you could search in.
Upvotes: 5