Ctrl-Alt-F7: suggested improvements


It would be very nice is a subset of the regular "Find Usages" options could
work for Ctrl-Alt-F7.

The most valuable for me would be:
-Show import statements (Ctrl-I)
-Merge usages from the same file (Ctrl-F)
-Group by file structure (Ctrl-M) (see IDEA-13962)

I'm not asking about any buttons or anything in the Ctrl-Alt-F7 interface.

Instead, these shortcuts from the regular "Find Usages" could be supported
when the Ctrl-Alt-F7 popup is active.
The "toggle state" of any individual option would be persisted across Ctrl-Alt-F7
invokations, similar to how regular "Find Usages" works.

Ctrl-I would allow filtering out imports, which are (usually) not interesting,
and only fill space in the popup list.
Ctrl-F would allow grouping by file, which also can drastically reduce the
number of popup list items when only the containing file is relevant.
Ctrl-M would allow quickly understanding the context ("in which method?")
of a particular usage.

If those were available, I would expect Ctrl-Alt-F7 to actually fulfill 90%
of my "Find Usage" needs, relegating the regular "Find Usages" to the 10%
of "heavy" code queries.

-tt


2 comments
Comment actions Permalink

I've changed Show usages so that it takes all these things(merge usages/show
imports/etc) from the current Find usages settings.
E.g. if you have 'group by file structure' button on in the Find usages
toolwindow, the containing method will be shown in the Show usages popup.


--
regards,
--
Alexey Kudravtsev
Software Developer
JetBrains, Inc, http://www.jetbrains.com
"Develop with pleasure!"

"Taras Tielkes" <taras.tielkes@gmail.com> wrote in message
news:ae766d03b48b8c9a25c640979d0@news.jetbrains.com...
>

It would be very nice is a subset of the regular "Find Usages" options
could work for Ctrl-Alt-F7.

>

The most valuable for me would be:
-Show import statements (Ctrl-I)
-Merge usages from the same file (Ctrl-F)
-Group by file structure (Ctrl-M) (see IDEA-13962)

>

I'm not asking about any buttons or anything in the Ctrl-Alt-F7 interface.

>

Instead, these shortcuts from the regular "Find Usages" could be supported
when the Ctrl-Alt-F7 popup is active.
The "toggle state" of any individual option would be persisted across
Ctrl-Alt-F7 invokations, similar to how regular "Find Usages" works.

>

Ctrl-I would allow filtering out imports, which are (usually) not
interesting, and only fill space in the popup list.
Ctrl-F would allow grouping by file, which also can drastically reduce the
number of popup list items when only the containing file is relevant.
Ctrl-M would allow quickly understanding the context ("in which method?")
of a particular usage.

>

If those were available, I would expect Ctrl-Alt-F7 to actually fulfill
90% of my "Find Usage" needs, relegating the regular "Find Usages" to the
10% of "heavy" code queries.

>

-tt

>



0

Please sign in to leave a comment.