t9md / atom-quick-highlight

Highlight text quickly
https://atom.io/packages/quick-highlight
MIT License
32 stars 7 forks source link

Highlighting selections on the fly #1

Closed sohocoke closed 8 years ago

sohocoke commented 9 years ago

Really like the plugin. Would it be feasible to allow making the first highlight work on whatever’s selected? Then the toggle command can make it a persistent highlight, and I can use this plugin to meet the highlighting behaviour in SublimeText 3.

t9md commented 9 years ago

So you want automatically highlighted selected word and refresh highlight each time selection change?

I didn't intended that. How is it useful?

sohocoke commented 9 years ago

Sorry for the slow response.

It’s useful to quickly analyse usage of many symbols in a function or method, by clicking around the symbols in the function rapidly. One can quickly understand how pervasive a symbol is being used this way, or to find out you made a typo on one of the references (because it wouldn’t highlight).

Very useful before attempting rename refactors in a Ruby or Coffeescript file, to make up for compilation failures that would catch out bad changes.

Come to think of it, I think it would be awesome the highlight can also show in the minimap. It could help one understand how localised (or not) a symbol is.

t9md commented 8 years ago

released as v0.3.5, need Atom v1.1.0 above.