Skip to content

Commit cc1688f

Browse files
committed
Add example where only one of the two consecutive acronyms is preserved
1 parent 2a1c66a commit cc1688f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docs/for-contributors/Generator/name-processing.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,9 @@ Consecutive acronyms are pascal-cased, if they both are candidates for being upp
234234
For example, assuming a long acronym threshold of 4, `RGBA_ASTC` will be prettified as `RgbaAstc`, not `RGBAASTC`.
235235
This is because the latter is much harder to read.
236236

237+
However, if only one of the two consecutive acronyms is a candidate, for example, with a threshold of 2 and `RG_ASTC`,
238+
the result will be `RGAstc`.
239+
237240
#### Lowercase "x" between Numbers
238241

239242
Consecutive numbers are separated by a lowercase "x". Furthermore, if a name already is in the format `2_X_2`, the "X"

0 commit comments

Comments
 (0)