更新文档描述;release version 1.0.7
This commit is contained in:
parent
a8f7420d18
commit
efa2136959
@ -24,7 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
-->
|
||||
|
||||
|
||||
## [Unreleased]
|
||||
## 1.0.7
|
||||
|
||||
### Added
|
||||
|
||||
|
@ -36,9 +36,9 @@ Or right-click on the selected text -> Convert string to...
|
||||
|
||||
#### 3. 选择转换目标,转换完成 <br>Select the conversion target and complete
|
||||
|
||||
## 支持的类型
|
||||
## 支持的类型 Support Case
|
||||
|
||||
| 类型 | Type | 举例 e.g. |
|
||||
| 类型 | Case | 举例 e.g. |
|
||||
| ----------------------------------- | ------------------------ | ---------------- |
|
||||
| 小驼峰(驼峰)命名 | Camel Case | fooBar |
|
||||
| 大驼峰(帕斯卡)命名 | Pascal Case | FooBar |
|
||||
@ -50,6 +50,10 @@ Or right-click on the selected text -> Convert string to...
|
||||
| 连字符(脊柱式) + 小驼峰(驼峰)命名 | Kebab Camel Case | foo-Bar |
|
||||
| 连字符(脊柱式) + 大驼峰(帕斯卡)命名 | Kebab Pascal Case | Foo-Bar |
|
||||
| 连字符(脊柱式) + 全大写命名 | Kebab Upper Case | FOO-BAR |
|
||||
| 空格分隔命名 | Space Case | foo bar |
|
||||
| 空格分隔 + 小驼峰(驼峰)命名 | Space Camel Case | foo Bar |
|
||||
| 空格分隔 + 大驼峰(帕斯卡)命名 | Space Pascal Case | Foo Bar |
|
||||
| 空格分隔 + 全大写命名 | Space Upper Case | FOO BAR |
|
||||
| 全小写 | Lower Case | foo_bar / foobar |
|
||||
| 全大写 | Upper Case | FOO_BAR / FOOBAR |
|
||||
|
||||
|
@ -2,9 +2,9 @@
|
||||
// 插件 id 及名称
|
||||
"name": "variable-conversion",
|
||||
"displayName": "Variable Conversion",
|
||||
"description": "一个强大的变量名转换插件,支持右键菜单、快捷键、底栏等多种方式使用,支持小驼峰、大驼峰(帕斯卡)、下划线(蛇形)、连字符(脊柱式)、全小写、全大写等常用命名方式(及组合)转换。 \nA powerful variable naming conversion extension. You can use it through the editer menu, shortcut keys and bottom bar. Support camel, pascal, snake, kebab(spinal), lower, upper case, and more.",
|
||||
"description": "一个强大的变量名转换插件,支持右键菜单、快捷键、底栏等多种方式使用,支持小驼峰、大驼峰(帕斯卡)、下划线(蛇形)、连字符(脊柱式)、空格分隔、全小写、全大写等常用命名方式(及组合)转换。 \nA powerful variable naming conversion extension. You can use it through the editer menu, shortcut keys and bottom bar. Support camel, pascal, snake, kebab(spinal), space, lower, upper case, and more.",
|
||||
// 版本号
|
||||
"version": "0.0.6",
|
||||
"version": "1.0.7",
|
||||
// logo
|
||||
"icon": "image/logo.png",
|
||||
"publisher": "coder-xiaomo",
|
||||
|
@ -1,8 +1,8 @@
|
||||
{
|
||||
"name": "variable-conversion",
|
||||
"displayName": "Variable Conversion",
|
||||
"description": "一个强大的变量名转换插件,支持右键菜单、快捷键、底栏等多种方式使用,支持小驼峰、大驼峰(帕斯卡)、下划线(蛇形)、连字符(脊柱式)、全小写、全大写等常用命名方式(及组合)转换。 \nA powerful variable naming conversion extension. You can use it through the editer menu, shortcut keys and bottom bar. Support camel, pascal, snake, kebab(spinal), lower, upper case, and more.",
|
||||
"version": "0.0.6",
|
||||
"description": "一个强大的变量名转换插件,支持右键菜单、快捷键、底栏等多种方式使用,支持小驼峰、大驼峰(帕斯卡)、下划线(蛇形)、连字符(脊柱式)、空格分隔、全小写、全大写等常用命名方式(及组合)转换。 \nA powerful variable naming conversion extension. You can use it through the editer menu, shortcut keys and bottom bar. Support camel, pascal, snake, kebab(spinal), space, lower, upper case, and more.",
|
||||
"version": "1.0.7",
|
||||
"icon": "image/logo.png",
|
||||
"publisher": "coder-xiaomo",
|
||||
"engines": {
|
||||
|
@ -84,7 +84,7 @@ export function handleQuickPick() {
|
||||
let text = document.getText(selection);
|
||||
|
||||
if (text.length === 0) {
|
||||
vscode.window.showInformationMessage('Please select the variable you want to convert and try again.\n请选择需要转换的变量后重试');
|
||||
vscode.window.showInformationMessage('请选择需要转换的变量后重试\nPlease select the variable you want to convert and try again.');
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user