Type hierarchy for text under caret?
Hi,
I find Ctrl+H (Type Hierarchy) quite useful.
Unfortunately it always shows the hierarchy for the currently opened class. I would expect it to work on the text under the caret like all the other actions in IDEA do.
e.g.
class PhoneList {
private BiMap<Type, PhoneNumber> book = Maps.newHashBiMap();
}
If the caret is on PhoneNumber and I press Ctrl+H then I would love to see the type hierarchy for PhoneNumber and not for the class PhoneList.
Did I miss something? Is this possible somehow?
Thanks,
wallaby
Please sign in to leave a comment.
Hello wallaby.pouch,
No, this is not currently possible (other than recording a macro of Ctrl-B
Ctrl-H and assigning it to the Ctrl-H shortcut). Feel free to post a JIRA
issue.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Thanks. I reported the issue on JIRA.
Which issue? Cause I'd like to vote!
Erik,
the issue is http://www.jetbrains.net/jira/browse/IDEA-19550 .
Thanks for voting :)
Wallaby