In the plugin config: choose only two cases for conversion. One of this combinations:
- camelCase and snake_case
- kebab-case and SNAKE_CASE
- Camel Case and kebab-case
- space case and kebab-case
- PascalCase and camelCase
Then:
- Apply changes;
- Execute conversion 1-2 times on selected text. Example for some of the given case combinations:
- camelCaseConversion
- kebab-case-conversion
Result: The process stops after 20 iterations, with an output of an intermediate conversion state, and fails to reach the final expected conversion.
Examples:
- usePascalCaseWithSpace -> usepascalcasewithspace
- kebab-case-conversion -> KEBAB-CASE-CONVERSION
Expectation: The text must be converted following the specified conversion types, reaching the final expected format.
It might be solved in some cases by increasing the iteration limit. I'd suggest number of cases squared - 49 to cover most scenarios and not to affect performance.