How to efficient work with file structure popup?
Is there a way to work efficiently using the file structure popup?
In a Java file the popup is efficient:
- Press <Ctrl>+<F12>
- Navigate to method
- Press <Enter>
- Popup closes and you are at the method
In JavaScript it is not:
- Press <Ctrl>+<F12>
- Navigate to function you want to go to
- Press <Enter>
- You're presented with a list of local vars and closures ... But I just wanted to go to the function
- Select a local var and press <Enter>
- Popup closes and you are somewhere in the function
Even worser for XML:
- Press <Ctrl>+<F12>
- Navigate to element you want to go to
- Press <Enter>
- You're presented with a list of subnodes
- Navigate the XML tree until you hit a leaf node
- Popup closes and you are somewhere in the XML
I haven't found a key combo in documentation or even by guessing which allows to exit this tree-down-navigation-to-leaf-node on a node where I want to go to.
Can someone help me on this?
Thanks in advance,
Helge
请先登录再写评论。
Hi Helge,
Press F4 ('Jump to Source' action) instead of 'Enter' then.
Denis
Thanks Denis, this works.
You should add this to the documentation.
Helge
Thanks for the tip.
Now if only the structure popup would work reliably for JS at al ... http://youtrack.jetbrains.net/issue/IDEA-74915
Is there a shortcut to go to the top level in the file structure popup?
AFAIK no, use sequence of 'Home' & 'Enter'.
Denis
I use a sequence of <Backspace>s. ;)
+1 :)