Skip to content

Add CamelCase Transformation - #169512

Merged
Henning Dieterichs (hediet) merged 1 commit into
microsoft:mainfrom
ssigwart:camel
Jan 3, 2023
Merged

Add CamelCase Transformation#169512
Henning Dieterichs (hediet) merged 1 commit into
microsoft:mainfrom
ssigwart:camel

Conversation

@ssigwart

Copy link
Copy Markdown
Contributor

Closes #149824.

Added tests to src/vs/editor/contrib/linesOperations/test/browser/linesOperations.test.ts.

I made some guesses about how to best handle existing capitalization. I decided to retain them. If I lowercased, then if you run it on something that' already camelcase, it would make it all lowercase. Also, I make it so it converts sentences, snake case or kebab case to camelcase. Any other separators it should use?

@hediet
Henning Dieterichs (hediet) merged commit 1f74c24 into microsoft:main Jan 3, 2023
@patrickelectric

Copy link
Copy Markdown

Thanks Stephen Sigwart (@ssigwart)

@github-actions github-actions Bot locked and limited conversation to collaborators Feb 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add CamelCase transform

4 participants