finntenzor / change-case

A VSCode extension to quickly change cases
MIT License
5 stars 3 forks source link

Kebab/snake to camel/Pascal and back doesn't convert double capitals back correctly #10

Closed feedstation closed 2 years ago

feedstation commented 2 years ago

Using 2/19/2022, 04:02:46 on Mac Kebab or snake to camel or Pascal and back doesn't convert double capitals back correctly

Example behavior:

open-a-review
OpenAReview
open-areview
open_a_review
OpenAReview
open_areview
open-a-review
openAReview
open-areview
open_a_review
openAReview
open_areview
finntenzor commented 2 years ago

This issue is a little difficult for me. I think this problem should only arise if there are single-letter words. I will try to fix the problem, but I may not be able to fix it in a short time.

finntenzor commented 2 years ago

Fixed in version 0.0.6.