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

Convert to title case without stripping punctuation like commas and periods.

Open Eldaw opened this issue 7 years ago • 9 comments

If I want to convert this:

one two three. four, five

into this:

One Two Three. Four, Five

there is no way to currently do this.

Eldaw avatar Sep 29 '17 10:09 Eldaw

It also seams to strip html brackets. one two <em>three</em> turns into One Two Em Three Em

erikstagg avatar Nov 30 '17 18:11 erikstagg

It also strips colons and apostrophes. from: What's on the table: who knows?

to: What S On The Table Who Knows

alexdevero avatar Aug 28 '18 07:08 alexdevero

I'm having the same issue.

dougouverson avatar Jan 10 '19 15:01 dougouverson

+1 I would love for this to be fixed/implemented.

bcon avatar Feb 01 '19 19:02 bcon

+1. I use this extension a lot and having it strip out punctuation is really a pain.

gmccullo avatar Sep 11 '19 14:09 gmccullo

+1. This command is actually not doing Title Case, since any title can have punctuation. Please do not remove punctuation from my titles!

bosborne avatar Feb 09 '20 20:02 bosborne

can't stop, won't stop -> Can T Stop Won T Stop

Young Gunz are sad.

cratermoon avatar Aug 01 '21 18:08 cratermoon

Another test case: Allow "neutral" arguments --> Allow "Neutral" Arguments

koppor avatar Jun 06 '22 06:06 koppor

Side node: The functionality is implemented at https://github.com/blakeembrey/change-case. Thus, one should check if the upstream library already supports this featre and "just" an update of the dependency is necessary.

koppor avatar Jun 06 '22 06:06 koppor