Reputation: 63022
In the following screenshot we see the results of selecting
Edit|Find|Show Usages
while highlighting a class SparkAbstractBenchmark: Notice we do not get any useful information because the log files overwhelm the source files
So is there a way to exclude *.log from the search ?
Upvotes: 1
Views: 111
Reputation: 897
You might consider upgrading to the IntelliJ latest version, since in the newer versions the results are organized in sections that you can collapse/expand, I guess it could be usefull for this case, look:
If this is not enough (which is the case) you have the option to configure your own Scopes, just go to the Find Usages Settings and click the elipses in the Scope section, then click the + symbol to add a new (local) scope, name it and you should see this window:
Then in the Pattern: field you have to specify the pattern following the scope syntax which should be something like this:!file:*.log
After applying you should have this new Scope option available in the settings scopes list which you can use to filter the search.
Upvotes: 2