Reputation: 5521
I was searching to get a keymap or any option in IntelliJ to search a string in files but "not in" some files.
For example :
Search string : abcd
Search in : Module1
Search NOT in : Module1/path1/x/folder2/, Module1/path2/y/folder1/
Any idea to get this done ?
Upvotes: 1
Views: 373
Reputation: 34816
For instance this screenshot shows custom scope for searching only in com.company
package:
More information on scopes is in IntelliJ help.
Upvotes: 1