-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage_cn.json
172 lines (172 loc) · 5.9 KB
/
package_cn.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
{
"name": "lazykey",
"displayName": "LazyKey",
"publisher": "mrxy001",
"description": "press the key least by automated macros",
"version": "0.0.1",
"keywords": [
"lazy",
"key",
"auto",
"macros"
],
"engines": {
"vscode": "^1.36.0"
},
"categories": [
"Keymaps"
],
"icon": "images/icon.png",
"activationEvents": [
"onCommand:extension.ImLazy",
"onCommand:extension.dotToPoint",
"onLanguage:c",
"onLanguage:cpp",
"onLanguage:java",
"onLanguage:php",
"onLanguage:js",
"onLanguage:jsp",
"onLanguage:cs"
],
"main": "./extension.js",
"contributes": {
"configuration": {
"type": "object",
"title": "懒键",
"properties": {
"LazyKey.AllEnabled": {
"type": "boolean",
"default": true,
"description": "启用懒键"
},
"LazyKey.DotToPoint": {
"type": "boolean",
"default": true,
"description": "C指针、C++类、PHP类 点号转指针(新变量首次启用需两个点)"
},
"LazyKey.DotToPointDisabledOnce": {
"type": "boolean",
"default": false,
"description": "点号转指针禁用一次(请勿修改)"
},
"LazyKey.NumberToParentheses": {
"type": "boolean",
"default": true,
"description": "数字【9/0】转【(/)】"
},
"LazyKey.TabSkipRightParenthese": {
"type": "boolean",
"default": false,
"description": "允许 tab 键跳出数字【9】插入的成对括号"
},
"LazyKey.SpaceFill": {
"type": "boolean",
"default": true,
"description": "if/else/for/while/switch 空格键自动补全括号"
},
"LazyKey.AutoOperators": {
"type": "boolean",
"default": true,
"description": "自适应运算符:-、=、+、<、>、,、[、]"
},
"LazyKey.AutoSemicolon": {
"type": "boolean",
"default": true,
"description": "分号强制到末尾,并且视情况换行"
},
"LazyKey.SemicolonNewLine": {
"type": "boolean",
"default": false,
"description": "声明变量添加分号时是否立即换行,只在一个代码块结束位置或空行前面生效"
},
"LazyKey.AutoSuggestion": {
"type": "boolean",
"default": false,
"description": "填充符号后,显示补全提示"
},
"LazyKey.BranchCurlyBraceInSingleLine": {
"type": "boolean",
"default": true,
"description": "if/for/...大括号是否单独一行"
},
"LazyKey.FunctionCurlyBraceInSingleLine": {
"type": "boolean",
"default": true,
"description": "函数大括号是否单独一行"
},
"LazyKey.AutoCurlyBraceInSingleLine": {
"type": "boolean",
"default": true,
"description": "分支:大括号跟随上方\n函数:单独一行"
},
"LazyKey.TabSkip": {
"type": "boolean",
"default": true,
"description": "Tab键跳出函数括号、补全多个参数逗号、跳到花括号末尾"
},
"LazyKey.EnterSkip": {
"type": "boolean",
"default": true,
"description": "Enter键无视右括号强行换行"
},
"LazyKey.ChangeSymbol": {
"type": "boolean",
"default": true,
"description": "中文符号转英文符号"
},
"LazyKey.ShowTipOnStart": {
"type": "boolean",
"default": true,
"description": "启动时提示已开启懒键"
}
}
},
"commands": [
{
"command": "extension.dotToPoint",
"title": "点号转指针"
},
{
"command": "extension.switchLazyKey",
"title": "ImLazy"
}
],
"keybindings": [
{
"command": "extension.helloWorld",
"key": "ctrl+f12",
"mac": "cmd+f12",
"when": "editorTextFocus"
},
{
"command": "extension.switchLazyKey",
"key": "ctrl+f11",
"mac": "cmd+f11",
"when": "editorTextFocus"
}
],
"menus": {
"editor/context": [
{
"when": "editorFocus",
"command": "extension.switchLazyKey",
"group": "w_lazykey@2"
}
]
}
},
"scripts": {
"test": "node ./test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^5.2.6",
"@types/node": "^10.12.21",
"@types/vscode": "^1.39.0",
"eslint": "^5.13.0",
"glob": "^7.1.4",
"mocha": "^6.1.4",
"typescript": "^3.3.1",
"vscode-test": "^1.2.0"
}
}