Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Change Case #40

Closed
ghost opened this issue Jun 30, 2017 · 6 comments
Closed

Change Case #40

ghost opened this issue Jun 30, 2017 · 6 comments
Assignees

Comments

@ghost
Copy link

ghost commented Jun 30, 2017

Is here where you request a feature? sorry if not... 😖

how about changing case of [original name] by entering something like this

example name - My symbol

* - keeps current name "My symbol"
*lc - for lower case "my symbol"
*uc - for upper case "MY SYMBOL"
*tc - for title case "My Symbol"

love this plugin ❤️

@rodi01
Copy link
Owner

rodi01 commented Jun 30, 2017

Great idea! I have to figure out how to escape the letters in case someone wants to actually write lc after the name.

@johanneslamers
Copy link

This would be great!

@rodi01 rodi01 self-assigned this Nov 5, 2017
@johanneslamers
Copy link

Just add one more rule:

*sc - for sentence case "My symbol"

@rodi01
Copy link
Owner

rodi01 commented Nov 9, 2017

@johanneslamers any ideas on how to escape *sc for users that want to actually use “sc” after the *
The reason why I haven’t implemented this feature is because I can’t find a away to escape it.

@rodi01
Copy link
Owner

rodi01 commented Dec 4, 2017

Finally added this feature #59
The only compromise is that I had to change * to %*

%* - Layer name (original name)

%*u% - LAYER NAME (uppercase)

%*l% - layer name (lowercase)

%*t% - Layer Name (title case)

%*uf% - Layer name (uppercase first letter)

%*c% - layerName (Camel Case)

@rodi01 rodi01 closed this as completed Dec 4, 2017
@zachj0hnston
Copy link

Thanks @rodi01! This is going to save us a lot of time :)

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

No branches or pull requests

3 participants