question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add CamelCase transform

See original GitHub issue

There is Title Case, Snake Case, Lowercase, Uppercase, but no Camel Case. It would be nice to transform: nice_feature -> NiceFeature

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:32
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
rochdiboudjehemcommented, May 18, 2022

It would be a great feature. You could use that extension: https://marketplace.visualstudio.com/items?itemName=SophodorosLLC.codevalet-vscode until then. I also think that they should work on the Title Case to exclude articles and even custom words. Prince of Persia instead of Prince Of Persia which is not accaptable in many academic organizations.

0reactions
ssigwartcommented, Dec 19, 2022

@hediet, I added #169512 to do this. I have more details in the PR description about how different use cases should be handled. I don’t really have a strong opinion on it. I wrote a personal extension long ago that has it’s own set of rules, so I probably will keep using that over the one I implemented in the PR.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to convert "camelCase" to "Camel Case"? - Stack Overflow
1. Good man, splitting it up. · Are you sure this is compatible with IE? Just tried in IETester7 & got an error....
Read more >
Convert a String to Camel Case - Baeldung
Camel case text conversion can be achieved by using regular expressions, or via some library functions. We look at a couple of ...
Read more >
How to convert string to camel case in JavaScript
Approach: Use reduce() method to iterate over the character of string and convert it into camel case. The toUpperCase() and toLowerCase() ...
Read more >
How to UPPER_CASE to camelCase in raw Typescript generics
Today's challenge is to retype an UPPER_CASE static string into camelCase and apply this transformation recursively to the object keys.
Read more >
JavaScript Algorithm: Convert String to Camel Case | by Erica N
Convert dash and or underscore delimited words into camel casing ... We are going to write a function called toCamelCase() that will accept...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found