Open Alhadis opened 9 years ago
Just plugged this in to do exactly what you indicated -- was sorely disappointed when it didn't work. :(
I would also be very happy if this was implemented.
A workaround if you want to switch all the quotes in a .js file is to run something similar to: eslint --parser-options=ecmaVersion:6 --no-eslintrc --no-ignore --fix --rule 'quotes: [2, single]' someFile.js
It would be much more flexible to have this plugin operate on an atom selection instead though.
Would be a useful feature.
This is currently what's in my Atom window right now. Additional 1898 values not displayed.
Needless to say, there's no damn way anybody in their right mind is gonna want to toggle each of those strings separately, so it's back to ye olde search-and-replace. Maybe add support for toggling strings that're enclosed by the buffer's current selection?