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
As listed in the known issues, the current behavior is not ideal.
The | represents the current caret position.
There are two problems:
Does not work at all when the caret is placed at the end of a string, ie.: "camelCase|"
Does not work when the caret is placed after the second-last string's character, ie.: "camelCa|se" (visible on gif)
It happens due to the string length change - it varies between camelCase and snake_case / kebab-case. Caret's position should update in some smart way.
Acceptance criteria:
Toggling works as expected when the caret is placed at the end of the to-be-toggled string: ie.: camelCase|.
Toggling works as expected when the caret is placed after the second-last character of the to-be-toggled-string, ie.: camelCas|e.
The known issues section of the README.md is removed.
I'm open to any suggestions.
The text was updated successfully, but these errors were encountered:
As listed in the known issues, the current behavior is not ideal.
The
|
represents the current caret position.There are two problems:
"camelCase|"
"camelCa|se"
(visible on gif)It happens due to the string length change - it varies between
camelCase
andsnake_case
/kebab-case
. Caret's position should update in some smart way.Acceptance criteria:
camelCase|
.camelCas|e
.I'm open to any suggestions.
The text was updated successfully, but these errors were encountered: