From d83481c6a4bebcfac2c4357eed7a38c039cc7082 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=A2=A8?= Date: Fri, 5 Dec 2025 10:21:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20CHANGELOG.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 4 ++-- CHANGELOG.md | 10 ++++++++++ README.md | 13 +++++++++---- 3 files changed, 21 insertions(+), 6 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 6d54d72..d584f34 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -11,7 +11,7 @@ // Code Spell Checker 插件 "cSpell.words": [ - "Gitee", - "coder-xiaomo" + "coder-xiaomo", + "Gitee" ], } diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d52783..79e6ed3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 --> +## [Unreleased] + +### Added + +- Add new configuration `variable-conversion.formatOrder` to customize the display order of variable naming conventions. (新增 `variable-conversion.formatOrder` 配置项,用于自定义变量命名方式的显示顺序) + +### Improved + +- Improve cyclic conversion to follow user-configured formatOrder. (改进了循环转换功能,使其遵循用户配置的formatOrder顺序) + ## 2.1.0 ### Changed diff --git a/README.md b/README.md index cd28635..605739d 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,10 @@ A powerful variable and path conversion extension. Supports one-key conversion & > **【近期更新】** > +> **v2.2.0 (2025-12-05)** +> +> - 支持配置目标转换格式顺序 +> > **v2.1.0 (2025-07-14)** > > - 支持仅开启部分目标转换格式 (优化 VSCode 配置项) @@ -90,10 +94,11 @@ Or right-click on the selected text -> Convert string to... ## 配置项 Configurations -| 配置项 Configuration Key | 描述 Description | 配置示例 | 默认值 | -| --------------------------------------- | ------------------------------------------------------------ | ------------------------------------- | -------- | -| `variable-conversion.enabledFormats` | 配置启用的变量命名方式
Configuration of Enabled Variable Naming Conventions. | `{ "xxxCase.enabled": boolean, ... }` | 见配置项 | -| `variable-conversion.disablePathFormat` | 定义哪些路径风格是禁用的
Define which path formats are disabled. | `["windows_style", "unix_style"]` | 见配置项 | +| 配置项 Configuration Key | 描述 Description | 配置示例 | 默认值 | +| --------------------------------------- | ------------------------------------------------------------ | ----------------------------------------------- | -------- | +| `variable-conversion.enabledFormats` | 配置启用的变量命名方式
Configuration of Enabled Variable Naming Conventions. | `{ "xxxCase.enabled": boolean, ... }` | 见配置项 | +| `variable-conversion.formatOrder` | 配置变量命名方式的显示顺序
Configure the display order of variable naming conventions. | `[ "camel_case", "pascal_case", "snake_case" ]` | 见配置项 | +| `variable-conversion.disablePathFormat` | 定义哪些路径风格是禁用的
Define which path formats are disabled. | `["windows_style", "unix_style"]` | 见配置项 | ## 支持的类型 Support Case