在IntelliJ IDEA下操作如下:
1. Edit->Find->Find in Path ;
2. Scope->Custom->Project and Libraries
参考自:https://ask.csdn.net/questions/685990