I recently upgraded to Intellij IDEA 13.1.2
and the Find Usages command has started including Non-code usages which is very annoying/slow when searching for common words. I realize you can open up the Find Usages Settings (Ctrl + Alt + Shift + 7) to disable this, but it's only on a per-search basis. I want to disable it for all searches.
Press Ctrl+Alt+S to open the IDE settings and select Editor | Code Editing. Clear the Usages of element at caret checkbox in the Highlight on Caret Movement section.
Search everywhereFrom the main menu, select Navigate | Search Everywhere or press Shift twice to open the search window. By default, IntelliJ IDEA displays the list of recent files.
Unfortunately, the ability to "permanently" set find usage options was changed. The "Find Usage Settings" now resets each time. :( I recommend you vote for and comment on these issue reports:
This isn't a global setting, but will help address the slowness: in the "Project" panel, identify directories in your project that contain large non-code files, right-click select "Mark Directory as>Excluded" from the menu.
Myself my project directory contained a 'log' directory, plus other directories containing many generated files, and a reports directory containing Junit and checkstyle reports etc. After marking these all as excluded, the Find Usages function was much faster yay.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With