Hierarchy of current line

Hi all,

I'd like to know the hierarchy of the current line I'm in, for example:

function x -> if (foo) -> for (bar)

I tried using the Hierarchy tools in navigate but they are all grayed out..

I know I can press the vertical lines and see the declarations, but I was hoping for something more immediate and tree like

Help me obi wan kenobi, you're my only hope! ;-)

1
1 comment

Please vote for https://youtrack.jetbrains.com/issue/WEB-7386;

You can also use the Structure view (Alt+7) with 'Autoscroll from source' enabled, but it only allows to see the inner functions/properties, it doesn't show nested code blocks (if(), for(), etc.)

1

Please sign in to leave a comment.