Highlighting Functions

I recently moved from Netbeans to PhpStorm and Netbeans had a really nice feature I don't see in PhpStorm. When I'm in my code, Netbeans would highlight which function I'm in the function navigator (i.e. structure pane). Is this possible in PhpStorm?

2 comments
Comment actions Permalink

Hi there,

When I'm in my code, Netbeans would highlight which function I'm in the function navigator (i.e. structure pane). Is this possible in PhpStorm?

Yes, just enable the "Always Select Opened Element" option: https://www.jetbrains.com/help/phpstorm/structure-tool-window-file-structure-popup.html#php

P.S. There is also a Breadcrumbs functionality -- also allows to see the structural element where the caret is currently in. More handy in classes rather than flat files (global code). Check "Settings/Preferences" for that:

1
Comment actions Permalink

Well, that was just too easy and thanks for the extra tip!

0

Please sign in to leave a comment.