wmaurer/vscode-change-case

Title Case Strips Special Characters

jsmarble opened this issue · 3 comments

I would not expect changing the case to strip all special characters. Also, there was an odd space inserted before the last character.

Sample Text

TEST: SOMEthing *$% 123 casE

Expected Result

Test: Something *$% 123 Case

Actual Result

Test Something 123 Cas E

Thanks for the report.
I'm using another npm module for the actual logic of changing case: https://www.npmjs.com/package/change-case
I'll look into why this is happening.

ref blakeembrey/no-case/issues/13

Eldaw commented

@wmaurer Did you manage to find a different module to improve the way title case works?