vscode-change-case icon indicating copy to clipboard operation
vscode-change-case copied to clipboard

Title Case Strips Special Characters

Open jsmarble opened this issue 7 years ago • 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

jsmarble avatar Oct 26 '16 13:10 jsmarble

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.

wmaurer avatar Nov 01 '16 20:11 wmaurer

ref blakeembrey/no-case/issues/13

wmaurer avatar Nov 01 '16 21:11 wmaurer

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

Eldaw avatar Nov 10 '17 20:11 Eldaw