Closed guillaumealgis closed 1 year ago
Hi, Sure, i'm open to rename some commands, specially the param case
command (did you search for kebab case before checking the readme?)
I do not like the idea of creating aliases, as you mention, it can cause confusion but for a couple of commands i think it's ok, at least for some time, if the Nova API improves and allows some keywords in the commands to improve search results or until people get used to the new names.
Param Case
should be renamed to Kebab Case
(i do not think people search param case) honestly i do not even remember why i used that name. I do not use Nova a lot so never thought about this.Train Case
as alias of the current command Header Case
Screaming Snake Case
as alias of the current command Constant Case
Flatcase
not sure if the same as the command No Case
, currently the No Case
command allows spaces, not sure if Flatcase
should remove all spaces. If same add as alias of No Case
The following are not handled by this extension yet but should be really easy to implement:
TWO-WORDS
two_Words
two_Words
twowords
? if different from No Case
Let me know what you think.
I was searching for the command to transform some text to
some-text
, after testing a few names I had in mind, I had to pull up my browser and open this repo's README to find out that the command is named "Make param case".I don't find the name to be super obvious (but that maybe just me). Would you be open to adding commands with alternative names for common naming conventions ?
For example Wikipedia lists the following conventions and names:
twowords
TWOWORDS
twoWords
TwoWords
two_words
TWO_WORDS
two_Words
Two_Words
two-words
TWO-WORDS
Two-Words
I'm not advocating to add all names, but maybe a few (popular) options would be a win?
I'm aware that it could also cause confusion if too many commands have the same effect, but I think it's worth considering.