Automatic highlighting of current variable

Hello,

If there's a way to do this I haven't found it digging through the preferences.  In PHPStorm (and heck, in PyCharm too), I'd like any variable on which my cursor is blinking to be highlighted in the entire file, and have little anchors placed in the right side scrollbar.  Is this possible?

Thanks!

2 comments
Comment actions Permalink

I think that is the default behavior.

You can configure the colors for it in File | Settings | IDE Settings | Editor | Colors & Fonts | General
The options you are looking for are called Identifier under caret and Identifier under caret (write)

0
Comment actions Permalink

Also make sure that Settings | Editor | Highlight usages of element at caret is active.

0

Please sign in to leave a comment.