Anatomy handling of uppercase and lowercase modifiers
It would be awesome to allow Anatomy syntax to force uppercase or lowercase.
Here is an example :
{folder[name]:upper}_{task[name]:lower}
It is already discussed here :
- Enhancement: Add custom formatting specifiers for uppercase, lowercase, etc. in templates #739 | AYON Core
Log in to comment and vote
Comments5
Roy Nieterau
Here’s a proposal issue I once created that overlaps with this:
https://github.com/ynput/ayon-core/issues/739
Alain Xerri
This PR is related :
https://github.com/ynput/ayon-frontend/pull/1539
If I understood correctly, it controls entity naming.
The original feedback is related, but different : using Anatomy to control how files and folders are named.
For example we want all our folders uppercase, and all our files lowercase.
Shea
We have custom local modifications that do this but for Title case - would be super useful to have it supported natively
Olle Rydberg
Why not expand and also allow
Title case
Camel case
Mustafa Zaky Jafar
It’d be cool to consider such an expansion when implementing the request above.
I’ve added a comment on the issue about having a general implementation to make it easy to expand. thank you.