From d4277da88b1b04cbf421891db5f465d08b808110 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E5=91=98=E5=B0=8F=E5=A2=A8?= <2291200076@qq.com> Date: Thu, 13 Jun 2024 09:15:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E5=BE=AA=E7=8E=AF?= =?UTF-8?q?=E8=BD=AC=E6=8D=A2=E7=9A=84=E9=A1=BA=E5=BA=8F=EF=BC=9ACAMEL=5FC?= =?UTF-8?q?ASE=20=E2=86=92=20SNAKE=5FCASE=20=E2=86=92=20PASCAL=5FCASE=20?= =?UTF-8?q?=E2=86=92=20KEBAB=5FCASE=20=E2=86=92=20SPACE=5FCASE=20=E2=86=92?= =?UTF-8?q?=20...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 +++--- src/type-definition/SupportCaseType.ts | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 79999e2..4535177 100644 --- a/README.md +++ b/README.md @@ -9,13 +9,13 @@ A powerful variable naming conversion extension. Supports one-key conversion & c - ✅ 支持多窗口 (不支持子窗口状态栏) Support subwindow (subwindow status bar are not supported) - ✅ 支持撤回 & 重做 Support undo & redo (Ctrl + Z / Ctrl + Y) -## 如何使用? How to Use? +> 🔭 Tips for Chinese users: 如果您无法看到下文图片,请[点这里](https://gitee.com/coder-xiaomo/variable-conversion-vscode-extension/blob/main/README.md)查看 -> 🔭 Tips for Chinese users: 如果您无法看到下文图片,请[点击这里查看](https://gitee.com/coder-xiaomo/variable-conversion-vscode-extension/blob/main/README.md) +## 如何使用? How to Use? ### 循环转换 Cyclic conversion (Beta) -选中需要转换的内容,然后按下 `Ctrl + Alt + [` 或 `Ctrl + Alt + ]` 即可前后灵活切换变量命名方式。 +选中需要转换的内容,然后按下 `Ctrl + Alt + [` 或 `Ctrl + Alt + ]` 即可前后灵活切换变量命名方式。
Select what you want to convert in the editor, and then press `Ctrl + Alt + [` or `Ctrl + Alt + ]` to flexibly convert variable name flexibly. ![](image/cyclic-conversion.gif) diff --git a/src/type-definition/SupportCaseType.ts b/src/type-definition/SupportCaseType.ts index 5ba6414..bc3348b 100644 --- a/src/type-definition/SupportCaseType.ts +++ b/src/type-definition/SupportCaseType.ts @@ -366,9 +366,8 @@ export const quickPickSupportCases = [ */ export const cyclicConvertCaseOrder = [ SupportCase.CAMEL_CASE, - SupportCase.PASCAL_CASE, - SupportCase.SNAKE_CASE, + SupportCase.PASCAL_CASE, SupportCase.KEBAB_CASE, SupportCase.SPACE_CASE,