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:

  1. Press <Ctrl>+<F12>
  2. Navigate to method
  3. Press <Enter>
  4. Popup closes and you are at the method


In JavaScript it is not:

  1. Press <Ctrl>+<F12>
  2. Navigate to function you want to go to
  3. Press <Enter>
  4. You're presented with a list of local vars and closures ... But I just wanted to go to the function
  5. Select a local var and press <Enter>
  6. Popup closes and you are somewhere in the function


Even worser for XML:

  1. Press <Ctrl>+<F12>
  2. Navigate to element you want to go to
  3. Press <Enter>
  4. You're presented with a list of subnodes
  5. Navigate the XML tree until you hit a leaf node
  6. 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

7 comments
Comment actions Permalink

Hi Helge,

Press F4 ('Jump to Source' action) instead of 'Enter' then.

Denis

0
Comment actions Permalink

Thanks Denis, this works.

You should add this to the documentation.

Helge

0
Comment actions Permalink

Thanks for the tip.

Now if only the structure popup would work reliably for JS at al ... http://youtrack.jetbrains.net/issue/IDEA-74915

0
Comment actions Permalink

Is there a shortcut to go to the top level in the file structure popup?

0
Comment actions Permalink

bewalticus wrote:

Is there a shortcut to go to the top level in the file structure popup?


AFAIK no, use sequence of 'Home' & 'Enter'.

Denis

0
Comment actions Permalink

I use a sequence of <Backspace>s. ;)

0

Please sign in to leave a comment.