Skip to content

Commit fac4725

Browse files
committed
🐞 fix(修复v0.0.5版本Mac快捷键失效BUG):
1 parent dccf2f6 commit fac4725

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121

2222
* v0.0.5:
2323
1. 增加前5中变量命名转换支持Alt+(1—5)快捷键直接操作,Mac系统为Option+(1—5)。
24+
* v0.0.6:
25+
1. 修复上一版本中Mac系统快捷键失效的问题,已切换为command+option+(1—5)。
2426

2527
### 操作演示:
2628
![](演示.gif)

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "var-conv",
33
"displayName": "Var Conversion",
44
"description": "适用于VSCode IDE的代码变量名称快速转换工具",
5-
"version": "0.0.5",
5+
"version": "0.0.6",
66
"publisher": "xiaoxintongxue",
77
"icon": "images/icon.png",
88
"engines": {
@@ -175,31 +175,31 @@
175175
{
176176
"command": "var-conv.UpperCamelCase",
177177
"key": "alt+1",
178-
"mac": "option+1",
178+
"mac": "alt+cmd+1",
179179
"when": "editorTextFocus"
180180
},
181181
{
182182
"command": "var-conv.CamelCase",
183183
"key": "alt+2",
184-
"mac": "option+2",
184+
"mac": "alt+cmd+2",
185185
"when": "editorTextFocus"
186186
},
187187
{
188188
"command": "var-conv.Snake",
189189
"key": "alt+3",
190-
"mac": "option+3",
190+
"mac": "alt+cmd+3",
191191
"when": "editorTextFocus"
192192
},
193193
{
194194
"command": "var-conv.Hyphen",
195195
"key": "alt+4",
196-
"mac": "option+4",
196+
"mac": "alt+cmd+4",
197197
"when": "editorTextFocus"
198198
},
199199
{
200200
"command": "var-conv.Constant",
201201
"key": "alt+5",
202-
"mac": "option+5",
202+
"mac": "alt+cmd+5",
203203
"when": "editorTextFocus"
204204
}
205205
]

0 commit comments

Comments
 (0)