Skip to content

Add CamelCase Transformation#169512

Merged
hediet merged 1 commit intomicrosoft:mainfrom
ssigwart:camel
Jan 3, 2023
Merged

Add CamelCase Transformation#169512
hediet merged 1 commit intomicrosoft:mainfrom
ssigwart:camel

Conversation

@ssigwart
Copy link
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 hediet added this to the January 2023 milestone Jan 3, 2023
@hediet hediet merged commit 1f74c24 into microsoft:main Jan 3, 2023
@patrickelectric
Copy link

Thanks @ssigwart

@ssigwart ssigwart deleted the camel branch January 4, 2023 02:37
@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