-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
198 lines (198 loc) · 6.69 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
{
"name": "save-editors-layout",
"displayName": "Save Editors Layout",
"description": "save opened editors layout",
"version": "2.0.2",
"publisher": "ctf0",
"repository": "https://github.com/ctf0/vscode-save-editor-layout",
"engines": {
"vscode": "^1.80.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/main",
"contributes": {
"commands": [
{
"command": "editorLayout.save",
"title": "save group",
"category": "Save Editor Layout",
"icon": "$(references)"
},
{
"command": "editorLayout.open",
"title": "open group",
"category": "Save Editor Layout",
"icon": "$(symbol-array)"
},
{
"command": "editorLayout.remove",
"title": "remove group",
"category": "Save Editor Layout"
},
{
"command": "editorLayout.update",
"title": "update group",
"category": "Save Editor Layout"
},
{
"command": "editorLayout.openFile",
"title": "open file",
"category": "Save Editor Layout"
},
{
"command": "editorLayout.treeRemove",
"title": "remove group/file",
"icon": "$(chrome-close)"
},
{
"command": "editorLayout.openGroup",
"title": "open group",
"icon": "$(folder-opened)"
},
{
"command": "editorLayout.closeAll",
"title": "close all opened editors",
"icon": "$(close-all)"
},
{
"command": "editorLayout.openSettingsFile",
"title": "open settings file",
"category": "Save Editor Layout",
"icon": "$(settings-gear)"
}
],
"menus": {
"commandPalette": [
{
"command": "editorLayout.save",
"when": "editorIsOpen"
},
{
"command": "editorLayout.update",
"when": "editorIsOpen"
},
{
"command": "editorLayout.openFile",
"when": "false"
},
{
"command": "editorLayout.treeRemove",
"when": "false"
},
{
"command": "editorLayout.openGroup",
"when": "false"
},
{
"command": "editorLayout.closeAll",
"when": "false"
}
],
"view/title": [
{
"command": "editorLayout.open",
"when": "view == layouts_list",
"group": "navigation"
},
{
"command": "editorLayout.save",
"when": "view == layouts_list && editorIsOpen",
"group": "navigation"
},
{
"command": "editorLayout.closeAll",
"when": "view == layouts_list && editorIsOpen",
"group": "navigation"
},
{
"command": "editorLayout.openSettingsFile",
"when": "view == layouts_list",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "editorLayout.treeRemove",
"when": "view == layouts_list",
"group": "inline"
},
{
"command": "editorLayout.openGroup",
"when": "view == layouts_list && viewItem != child",
"group": "inline"
}
]
},
"configuration": {
"title": "Save Editor Layout",
"type": "object",
"properties": {
"saveEditorLayout.list": {
"type": "array",
"default": [],
"description": "groups"
},
"saveEditorLayout.saveToGlobal": {
"type": "boolean",
"default": false,
"description": "save groups globally or per workspace"
},
"saveEditorLayout.closeEditorsAfterSave": {
"type": "boolean",
"default": false,
"description": "close all opened editors after saving a group"
},
"saveEditorLayout.hideSideBarAfterOpen": {
"type": "boolean",
"default": true,
"description": "close sidebar after opening a group"
},
"saveEditorLayout.saveToGlobalWhenPossible": {
"type": "boolean",
"default": true,
"markdownDescription": "save group globally when no workspace is opened\n\n require `#saveEditorLayout.saveToGlobal#` to be set to false"
},
"saveEditorLayout.restoreLayoutOnly": {
"type": "boolean",
"default": false,
"description": "restore layout only without opening any files"
}
}
},
"viewsContainers": {
"activitybar": [
{
"id": "editor-layouts",
"title": "Save Editor Layout",
"icon": "img/icon.svg"
}
]
},
"views": {
"editor-layouts": [
{
"id": "layouts_list",
"name": "List"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run esbuild-base -- --pure:console.log --minify",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch",
"watch": "npm run esbuild"
},
"devDependencies": {
"@types/node": "^22.5.0",
"@types/vscode": "^1.80.0",
"typescript": "^5.5.4",
"esbuild": "^0.23.1"
}
}