forked from sirmspencer/vscode-autohide
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
293 lines (293 loc) · 7.59 KB
/
package.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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
{
"publisher": "kevin-kwong",
"name": "vscode-autohide-keyboard",
"displayName": "Auto Hide KB",
"version": "0.5.3",
"packageManager": "[email protected]",
"description": "Keyboard friendly Auto Hide",
"repository": {
"url": "https://github.com/kvoon3/vscode-autohide-kb"
},
"keywords": [
"terminal",
"panel",
"side",
"bar",
"hide",
"auto",
"sidebar",
"notifications",
"keyboard",
"vim"
],
"categories": [
"Other"
],
"main": "./dist/index.js",
"icon": "res/icon.png",
"files": [
"LICENSE.md",
"dist/*",
"res/*"
],
"engines": {
"vscode": "^1.81.0"
},
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"commands": [
{
"command": "autoHide.toggleEnable",
"category": "Auto Hide",
"title": "Toggle enable"
},
{
"command": "autoHide.toggleMode",
"category": "Auto Hide",
"title": "Toggle manual/auto mode"
},
{
"command": "autoHide.runHide",
"category": "Auto Hide",
"title": "Run hide immediately"
}
],
"configuration": {
"type": "object",
"title": "Auto Hide configuration",
"properties": {
"autoHide.enable": {
"type": "boolean",
"default": true,
"description": "Whether enable Auto Hide"
},
"autoHide.ui": {
"description": "UI hideable settings",
"type": "object",
"default": {
"sidebar": true,
"auxiliaryBar": true,
"panel": true,
"references": false,
"notifications": true,
"cursor": false
},
"properties": {
"sidebar": {
"type": "boolean",
"default": true,
"description": "Sidebar hideable"
},
"auxiliaryBar": {
"type": "boolean",
"default": true,
"description": "Auxiliary bar hideable"
},
"panel": {
"type": "boolean",
"default": true,
"description": "Panel hideable"
},
"references": {
"type": "boolean",
"default": false,
"description": "References hideable"
},
"notifications": {
"type": "boolean",
"default": true,
"description": "Notifications hideable"
},
"cursor": {
"type": [
"boolean",
"object"
],
"default": false,
"description": "Cursor(https://www.cursor.com) ui hideable",
"properties": {
"sidebar": {
"type": "boolean",
"default": false,
"description": "Cursor sidebar hideable"
}
}
}
}
},
"autoHide.triggerOnOpen": {
"type": "boolean",
"default": true,
"description": "Whether trigger when open"
},
"autoHide.triggerKind": {
"type": "array",
"items": {
"type": "string",
"enum": [
"mouse",
"command",
"keyboard"
]
},
"default": [
"mouse",
"command",
"keyboard"
],
"description": "Use which kind of event to trigger hide"
},
"autoHide.mode": {
"type": "string",
"enum": [
"auto",
"manual"
],
"default": "auto",
"description": "Auto/Manual mode"
},
"autoHide.throttleTime": {
"type": "number",
"default": 500,
"description": "Throttle trigger time in ms"
},
"autoHide.whitelist": {
"type": "array",
"items": {
"type": [
"string",
"object"
],
"properties": {
"match": {
"type": "string"
},
"status": {
"type": "array",
"items": {
"type": "string",
"enum": [
"focus",
"visible"
]
}
}
}
},
"default": [
"git",
"output",
{
"match": "debug",
"status": [
"visible"
]
}
],
"description": "Set editor whitelist , support RegExp, default match status is focus"
},
"autoHide.statusBarText.trigger": {
"type": "string",
"default": "$(eye-closed) Hide",
"description": "Status bar item label, See https://code.visualstudio.com/api/references/icons-in-labels#icon-listing to customize icon"
},
"autoHide.statusBarText.mode": {
"type": [
"string",
"object"
],
"default": "-- $(mode) --",
"description": "Status bar label for mode, use $(mode) to get current mode",
"properties": {
"manual": {
"type": "string",
"default": "-- MANUAL --"
},
"auto": {
"type": "string",
"default": "-- AUTO --"
}
}
},
"autoHide.navigateFallback": {
"type": "object",
"description": "Navigate fallback settings",
"default": {
"left": "sidebar",
"right": "auxiliaryBar",
"down": "panel"
},
"properties": {
"left": {
"type": "string",
"default": "sidebar",
"enum": ["sidebar", "auxiliaryBar", "panel"]
},
"right": {
"type": "string",
"default": "auxiliaryBar",
"enum": ["sidebar", "auxiliaryBar", "panel"]
},
"down": {
"type": "string",
"default": "panel",
"enum": ["sidebar", "auxiliaryBar", "panel"]
}
}
}
}
}
},
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"pack": "vsce package --no-dependencies",
"dev": "tsup --watch",
"build": " tsup",
"publish": "vsce publish --no-dependencies",
"vscode:prepublish": "nr build",
"release": "bumpp && nr publish",
"type-check": "tsc --noEmit",
"update": "vscode-ext-gen --output src/generated/meta.ts --scope autoHide",
"prepare": "simple-git-hooks && nr update",
"up": "taze -I major"
},
"devDependencies": {
"@antfu/eslint-config": "^3.2.0",
"@antfu/ni": "^0.23.0",
"@antfu/utils": "^0.7.10",
"@reactive-vscode/vueuse": "^0.2.2",
"@types/fs-extra": "^11.0.4",
"@types/mocha": "^10.0.7",
"@types/node": "^22.5.3",
"@vscode/vsce": "^3.0.0",
"@vue/reactivity": "^3.5.1",
"bumpp": "^9.5.2",
"eslint": "^9.9.1",
"esno": "^4.7.0",
"fs-extra": "^11.2.0",
"lint-staged": "^15.2.10",
"mocha": "^10.7.3",
"reactive-vscode": "^0.2.2",
"simple-git-hooks": "^2.11.1",
"taze": "^0.16.7",
"tsup": "^8.2.4",
"typescript": "^5.5.4",
"vscode-ext-gen": "^0.4.3"
},
"extensionKind": [
"ui",
"workspace"
],
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
},
"extensionDependencies": [
"kvoon.command-task"
]
}