Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More options for class name variations #28

Open
markspacehub opened this issue Mar 13, 2024 · 1 comment
Open

More options for class name variations #28

markspacehub opened this issue Mar 13, 2024 · 1 comment

Comments

@markspacehub
Copy link
Contributor

The class name is used to set the file name. I have come across use cases where I need the class name set in an lower/upper camel case (classNameExample/ClassNameExample) and the file names be underscore separated (class_name_example.h/.cpp).
Is it possible to provide more commands than the current class name variations? Ideally one of the following would allow the described use case:

CLASSNAMECAMELLOWER - converts an underscore separated CLASSNAME input into camelCase
CLASSNAMECAMELUPPER - converts an underscore separated CLASSNAME input into CamelCase

CLASSNAMEUNDERSCORED - converts a CamelCase CLASSNAME input into Camel_Case (or camelCase into camel_Case) - keeping the capitals as input
CLASSNAMEUNDERSCOREDUPPER - converts a CamelCase CLASSNAME input into CAMEL_CASE
CLASSNAMEUNDERSCOREDLOWER - converts a CamelCase CLASSNAME input into camel_case

@tzAcee
Copy link
Owner

tzAcee commented Mar 18, 2024

Will take a look into it, as soon as I have the tests going.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants