Select a variable and highlight all its appearance in the code


#1

Hi everyone,

I’m new to Atom and this forum.

I come from Sublime Text and I’ve been looking for a feature in Atom, with no success.

Is there a way to highlight everywhere in the code, a variable once selected.

For instance if I select “x” somewhere in my code, I’d like Atom to show me everywhere it appears.

Thanks,
Best.


#2

You can try this package

Of course, whether it works will depend on if the language you’re using is supported. You may also need to install a provider package, such as js-refactor


#3

Hi,

Thanks I’ll give it a try.