jdavisclark / CaseConversion

Case conversion plugin (pascal, camel, snake) for sublime text 2
MIT License
300 stars 47 forks source link

Please provide multi-line support #50

Open hehe-2016 opened 4 years ago

hehe-2016 commented 4 years ago

This plugin is very useful. I use it to convert camelCase to snake_case. I hope you provide multi-line support, convert multi-line to multi-line, for instance:

sortField sortType

convert to

sort_field sort_type

another request is support consecutive uppercase letters to lowercase, only add underline before first uppercase letter.

customerBGCode -> customer_bgcode

CheyenneForbes commented 4 years ago

Just ran into the same issue too

DiegoGary commented 3 years ago

A workaround is using the multi-line editing in sublime and then converting the case.