Conversion stops without reaching an expected output due to exceeded iteration limit · Issue #30 · netnexus/camelcaseplugin · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
fo-folder
added a commit
to fo-folder/camelcaseplugin
that referenced
this issue
Jan 20, 2025
In the plugin config: choose only two cases for conversion. One of this combinations:
Result: The process stops after 20 iterations, with an output of an intermediate conversion state, and fails to reach the final expected conversion.
Examples:
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.
The text was updated successfully, but these errors were encountered: