jdavisclark / CaseConversion

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

Conversion of multiple lines remove the return carriage #20

Open jion opened 9 years ago

jion commented 9 years ago

When I select multiple lines in a file, and try to convert the case of this lines to anything of convertions of this plugins, the words are concatenated, i.e., the return characters are removed. This dont happens with the sublime built-in conversions.

jdavisclark commented 9 years ago

never thought it would be used that way, but you are right, the casing functions build in to sublime do handle it.

The only issue is that we use sublime's token detection to figure out boundaries. Meaning, we could add this feature and it would work fine for camel, pascal, snake, and dash case, but would likely do crazy things for some of the others (e.g. sublime detects this/is/one/token as 4 different tokens)

qiutiaoming commented 9 years ago

+1.Need this feature.

hnielsen commented 6 years ago

Would very much like to have this as well.