robhurring / atom-change-case

atom plugin for node-change-case
MIT License
34 stars 14 forks source link

Don't require selection #6

Closed kwerle closed 10 years ago

kwerle commented 10 years ago

The default case changer for Atom does not require you select any text. If you have not selected text, it changes the case of the 'closest' word. If your cursor is "|"

|ChangeMe

Chan|geMe

ChangeMe|

would all apply the appropriate change to 'ChangeMe'

deiga commented 10 years ago

Very good point and idea, I will have to look at how https://github.com/atom/toggle-quotes is implemented, it has the exact behaviour