Table of contents
Foreword
I rather often use 'Find Usages' ('Alt+F7') at IDEA. I like it more than 'Show Usages' ('Ctrl+Alt+F7') because the former keeps search results and it's possible to navigate between them easily without necessity to repeat the search.
However, this functionality may be configured in a way to get even better user experience.
The trick
It's not too seldom to get a single result from 'Find Usages' and it's not convenient to view separate panel with it then:

I never noticed that we can configure 'Find Usages' dialog in order to get a better behavior exactly at situation like this - there is a small check box at the dialog shown when you press 'Alt+F7' - 'Skip results tab with one usage':

Let's perform the search now and IDE directly points us to the single found match:

0 comments:
Post a Comment