@codingame/monaco-vscode-explorer-service-override 28.4.1 → 29.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-explorer-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "29.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - explorer service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-api": "
|
|
18
|
+
"@codingame/monaco-vscode-api": "29.0.0"
|
|
19
19
|
},
|
|
20
20
|
"main": "index.js",
|
|
21
21
|
"module": "index.js",
|
|
@@ -24,13 +24,13 @@ const configurationRegistry = ( Registry.as(Extensions.Configuration));
|
|
|
24
24
|
configurationRegistry.registerConfiguration({
|
|
25
25
|
"id": "explorer",
|
|
26
26
|
"order": 10,
|
|
27
|
-
"title": ( localize(
|
|
27
|
+
"title": ( localize(9715, "File Explorer")),
|
|
28
28
|
"type": "object",
|
|
29
29
|
"properties": {
|
|
30
30
|
"explorer.openEditors.visible": {
|
|
31
31
|
"type": "number",
|
|
32
32
|
"description": ( localize(
|
|
33
|
-
|
|
33
|
+
9716,
|
|
34
34
|
"The initial maximum number of editors shown in the Open Editors pane. Exceeding this limit will show a scroll bar and allow resizing the pane to display more items."
|
|
35
35
|
)),
|
|
36
36
|
"default": 9,
|
|
@@ -39,7 +39,7 @@ configurationRegistry.registerConfiguration({
|
|
|
39
39
|
"explorer.openEditors.minVisible": {
|
|
40
40
|
"type": "number",
|
|
41
41
|
"description": ( localize(
|
|
42
|
-
|
|
42
|
+
9717,
|
|
43
43
|
"The minimum number of editor slots pre-allocated in the Open Editors pane. If set to 0 the Open Editors pane will dynamically resize based on the number of editors."
|
|
44
44
|
)),
|
|
45
45
|
"default": 0,
|
|
@@ -48,12 +48,12 @@ configurationRegistry.registerConfiguration({
|
|
|
48
48
|
"explorer.openEditors.sortOrder": {
|
|
49
49
|
"type": "string",
|
|
50
50
|
"enum": ["editorOrder", "alphabetical", "fullPath"],
|
|
51
|
-
"description": ( localize(
|
|
52
|
-
"enumDescriptions": [( localize(
|
|
53
|
-
|
|
51
|
+
"description": ( localize(9718, "Controls the sorting order of editors in the Open Editors pane.")),
|
|
52
|
+
"enumDescriptions": [( localize(9719, "Editors are ordered in the same order editor tabs are shown.")), ( localize(
|
|
53
|
+
9720,
|
|
54
54
|
"Editors are ordered alphabetically by tab name inside each editor group."
|
|
55
55
|
)), ( localize(
|
|
56
|
-
|
|
56
|
+
9721,
|
|
57
57
|
"Editors are ordered alphabetically by full path inside each editor group."
|
|
58
58
|
))],
|
|
59
59
|
"default": "editorOrder"
|
|
@@ -62,16 +62,16 @@ configurationRegistry.registerConfiguration({
|
|
|
62
62
|
"type": ["boolean", "string"],
|
|
63
63
|
"enum": [true, false, "focusNoScroll"],
|
|
64
64
|
"default": true,
|
|
65
|
-
"enumDescriptions": [( localize(
|
|
65
|
+
"enumDescriptions": [( localize(9722, "Files will be revealed and selected.")), ( localize(9723, "Files will not be revealed and selected.")), ( localize(9724, "Files will not be scrolled into view, but will still be focused."))],
|
|
66
66
|
"description": ( localize(
|
|
67
|
-
|
|
67
|
+
9725,
|
|
68
68
|
"Controls whether the Explorer should automatically reveal and select files when opening them."
|
|
69
69
|
))
|
|
70
70
|
},
|
|
71
71
|
"explorer.autoRevealExclude": {
|
|
72
72
|
"type": "object",
|
|
73
73
|
"markdownDescription": ( localize(
|
|
74
|
-
|
|
74
|
+
9726,
|
|
75
75
|
"Configure paths or [glob patterns](https://aka.ms/vscode-glob-patterns) for excluding files and folders from being revealed and selected in the Explorer when they are opened. Glob patterns are always evaluated relative to the path of the workspace folder unless they are absolute paths."
|
|
76
76
|
)),
|
|
77
77
|
"default": {
|
|
@@ -82,7 +82,7 @@ configurationRegistry.registerConfiguration({
|
|
|
82
82
|
"anyOf": [{
|
|
83
83
|
"type": "boolean",
|
|
84
84
|
"description": ( localize(
|
|
85
|
-
|
|
85
|
+
9727,
|
|
86
86
|
"The glob pattern to match file paths against. Set to true or false to enable or disable the pattern."
|
|
87
87
|
))
|
|
88
88
|
}, {
|
|
@@ -93,8 +93,9 @@ configurationRegistry.registerConfiguration({
|
|
|
93
93
|
pattern: "\\w*\\$\\(basename\\)\\w*",
|
|
94
94
|
default: "$(basename).ext",
|
|
95
95
|
description: ( localize(
|
|
96
|
-
|
|
97
|
-
"Additional check on the siblings of a matching file. Use
|
|
96
|
+
9728,
|
|
97
|
+
"Additional check on the siblings of a matching file. Use {0} as variable for the matching file name.",
|
|
98
|
+
"$(basename)"
|
|
98
99
|
))
|
|
99
100
|
}
|
|
100
101
|
}
|
|
@@ -104,7 +105,7 @@ configurationRegistry.registerConfiguration({
|
|
|
104
105
|
"explorer.enableDragAndDrop": {
|
|
105
106
|
"type": "boolean",
|
|
106
107
|
"description": ( localize(
|
|
107
|
-
|
|
108
|
+
9729,
|
|
108
109
|
"Controls whether the Explorer should allow to move files and folders via drag and drop. This setting only effects drag and drop from inside the Explorer."
|
|
109
110
|
)),
|
|
110
111
|
"default": true
|
|
@@ -112,7 +113,7 @@ configurationRegistry.registerConfiguration({
|
|
|
112
113
|
"explorer.confirmDragAndDrop": {
|
|
113
114
|
"type": "boolean",
|
|
114
115
|
"description": ( localize(
|
|
115
|
-
|
|
116
|
+
9730,
|
|
116
117
|
"Controls whether the Explorer should ask for confirmation to move files and folders via drag and drop."
|
|
117
118
|
)),
|
|
118
119
|
"default": true
|
|
@@ -120,7 +121,7 @@ configurationRegistry.registerConfiguration({
|
|
|
120
121
|
"explorer.confirmPasteNative": {
|
|
121
122
|
"type": "boolean",
|
|
122
123
|
"description": ( localize(
|
|
123
|
-
|
|
124
|
+
9731,
|
|
124
125
|
"Controls whether the Explorer should ask for confirmation when pasting native files and folders."
|
|
125
126
|
)),
|
|
126
127
|
"default": true
|
|
@@ -128,7 +129,7 @@ configurationRegistry.registerConfiguration({
|
|
|
128
129
|
"explorer.confirmDelete": {
|
|
129
130
|
"type": "boolean",
|
|
130
131
|
"description": ( localize(
|
|
131
|
-
|
|
132
|
+
9732,
|
|
132
133
|
"Controls whether the Explorer should ask for confirmation when deleting files and folders."
|
|
133
134
|
)),
|
|
134
135
|
"default": true
|
|
@@ -136,7 +137,7 @@ configurationRegistry.registerConfiguration({
|
|
|
136
137
|
"explorer.enableUndo": {
|
|
137
138
|
"type": "boolean",
|
|
138
139
|
"description": ( localize(
|
|
139
|
-
|
|
140
|
+
9733,
|
|
140
141
|
"Controls whether the Explorer should support undoing file and folder operations."
|
|
141
142
|
)),
|
|
142
143
|
"default": true
|
|
@@ -145,16 +146,16 @@ configurationRegistry.registerConfiguration({
|
|
|
145
146
|
"type": "string",
|
|
146
147
|
"enum": [UndoConfirmLevel.Verbose, UndoConfirmLevel.Default, UndoConfirmLevel.Light],
|
|
147
148
|
"description": ( localize(
|
|
148
|
-
|
|
149
|
+
9734,
|
|
149
150
|
"Controls whether the Explorer should ask for confirmation when undoing."
|
|
150
151
|
)),
|
|
151
152
|
"default": UndoConfirmLevel.Default,
|
|
152
|
-
"enumDescriptions": [( localize(
|
|
153
|
+
"enumDescriptions": [( localize(9735, "Explorer will prompt before all undo operations.")), ( localize(9736, "Explorer will prompt before destructive undo operations.")), ( localize(9737, "Explorer will not prompt before undo operations when focused."))]
|
|
153
154
|
},
|
|
154
155
|
"explorer.expandSingleFolderWorkspaces": {
|
|
155
156
|
"type": "boolean",
|
|
156
157
|
"description": ( localize(
|
|
157
|
-
|
|
158
|
+
9738,
|
|
158
159
|
"Controls whether the Explorer should expand multi-root workspaces containing only one folder during initialization"
|
|
159
160
|
)),
|
|
160
161
|
"default": true
|
|
@@ -171,26 +172,26 @@ configurationRegistry.registerConfiguration({
|
|
|
171
172
|
],
|
|
172
173
|
"default": SortOrder.Default,
|
|
173
174
|
"enumDescriptions": [( localize(
|
|
174
|
-
|
|
175
|
+
9739,
|
|
175
176
|
"Files and folders are sorted by their names. Folders are displayed before files."
|
|
176
177
|
)), ( localize(
|
|
177
|
-
|
|
178
|
+
9740,
|
|
178
179
|
"Files and folders are sorted by their names. Files are interwoven with folders."
|
|
179
180
|
)), ( localize(
|
|
180
|
-
|
|
181
|
+
9741,
|
|
181
182
|
"Files and folders are sorted by their names. Files are displayed before folders."
|
|
182
183
|
)), ( localize(
|
|
183
|
-
|
|
184
|
+
9742,
|
|
184
185
|
"Files and folders are grouped by extension type then sorted by their names. Folders are displayed before files."
|
|
185
186
|
)), ( localize(
|
|
186
|
-
|
|
187
|
+
9743,
|
|
187
188
|
"Files and folders are sorted by last modified date in descending order. Folders are displayed before files."
|
|
188
189
|
)), ( localize(
|
|
189
|
-
|
|
190
|
+
9744,
|
|
190
191
|
"Files and folders are sorted by their names. Folders are displayed before files. Files with nested children are displayed before other files."
|
|
191
192
|
))],
|
|
192
193
|
"markdownDescription": ( localize(
|
|
193
|
-
|
|
194
|
+
9745,
|
|
194
195
|
"Controls the property-based sorting of files and folders in the Explorer. When `#explorer.fileNesting.enabled#` is enabled, also controls sorting of nested files."
|
|
195
196
|
))
|
|
196
197
|
},
|
|
@@ -203,45 +204,45 @@ configurationRegistry.registerConfiguration({
|
|
|
203
204
|
LexicographicOptions.Unicode
|
|
204
205
|
],
|
|
205
206
|
"default": LexicographicOptions.Default,
|
|
206
|
-
"enumDescriptions": [( localize(
|
|
207
|
+
"enumDescriptions": [( localize(9746, "Uppercase and lowercase names are mixed together.")), ( localize(9747, "Uppercase names are grouped together before lowercase names.")), ( localize(9748, "Lowercase names are grouped together before uppercase names.")), ( localize(9749, "Names are sorted in Unicode order."))],
|
|
207
208
|
"description": ( localize(
|
|
208
|
-
|
|
209
|
+
9750,
|
|
209
210
|
"Controls the lexicographic sorting of file and folder names in the Explorer."
|
|
210
211
|
))
|
|
211
212
|
},
|
|
212
213
|
"explorer.sortOrderReverse": {
|
|
213
214
|
"type": "boolean",
|
|
214
215
|
"description": ( localize(
|
|
215
|
-
|
|
216
|
+
9751,
|
|
216
217
|
"Controls whether the file and folder sort order, should be reversed."
|
|
217
218
|
)),
|
|
218
219
|
"default": false
|
|
219
220
|
},
|
|
220
221
|
"explorer.decorations.colors": {
|
|
221
222
|
type: "boolean",
|
|
222
|
-
description: ( localize(
|
|
223
|
+
description: ( localize(9752, "Controls whether file decorations should use colors.")),
|
|
223
224
|
default: true
|
|
224
225
|
},
|
|
225
226
|
"explorer.decorations.badges": {
|
|
226
227
|
type: "boolean",
|
|
227
|
-
description: ( localize(
|
|
228
|
+
description: ( localize(9753, "Controls whether file decorations should use badges.")),
|
|
228
229
|
default: true
|
|
229
230
|
},
|
|
230
231
|
"explorer.incrementalNaming": {
|
|
231
232
|
"type": "string",
|
|
232
233
|
enum: ["simple", "smart", "disabled"],
|
|
233
234
|
enumDescriptions: [( localize(
|
|
234
|
-
|
|
235
|
+
9754,
|
|
235
236
|
"Appends the word \"copy\" at the end of the duplicated name potentially followed by a number."
|
|
236
237
|
)), ( localize(
|
|
237
|
-
|
|
238
|
+
9755,
|
|
238
239
|
"Adds a number at the end of the duplicated name. If some number is already part of the name, tries to increase that number."
|
|
239
240
|
)), ( localize(
|
|
240
|
-
|
|
241
|
+
9756,
|
|
241
242
|
"Disables incremental naming. If two files with the same name exist you will be prompted to overwrite the existing file."
|
|
242
243
|
))],
|
|
243
244
|
description: ( localize(
|
|
244
|
-
|
|
245
|
+
9757,
|
|
245
246
|
"Controls which naming strategy to use when giving a new name to a duplicated Explorer item on paste."
|
|
246
247
|
)),
|
|
247
248
|
default: "simple"
|
|
@@ -249,7 +250,7 @@ configurationRegistry.registerConfiguration({
|
|
|
249
250
|
"explorer.autoOpenDroppedFile": {
|
|
250
251
|
"type": "boolean",
|
|
251
252
|
"description": ( localize(
|
|
252
|
-
|
|
253
|
+
9758,
|
|
253
254
|
"Controls whether the Explorer should automatically open a file when it is dropped into the explorer"
|
|
254
255
|
)),
|
|
255
256
|
"default": true
|
|
@@ -257,7 +258,7 @@ configurationRegistry.registerConfiguration({
|
|
|
257
258
|
"explorer.compactFolders": {
|
|
258
259
|
"type": "boolean",
|
|
259
260
|
"description": ( localize(
|
|
260
|
-
|
|
261
|
+
9759,
|
|
261
262
|
"Controls whether the Explorer should render folders in a compact form. In such a form, single child folders will be compressed in a combined tree element. Useful for Java package structures, for example."
|
|
262
263
|
)),
|
|
263
264
|
"default": true
|
|
@@ -265,9 +266,9 @@ configurationRegistry.registerConfiguration({
|
|
|
265
266
|
"explorer.copyRelativePathSeparator": {
|
|
266
267
|
"type": "string",
|
|
267
268
|
"enum": ["/", "\\", "auto"],
|
|
268
|
-
"enumDescriptions": [( localize(
|
|
269
|
+
"enumDescriptions": [( localize(9760, "Use slash as path separation character.")), ( localize(9761, "Use backslash as path separation character.")), ( localize(9762, "Uses operating system specific path separation character."))],
|
|
269
270
|
"description": ( localize(
|
|
270
|
-
|
|
271
|
+
9763,
|
|
271
272
|
"The path separation character used when copying relative file paths."
|
|
272
273
|
)),
|
|
273
274
|
"default": "auto"
|
|
@@ -275,14 +276,14 @@ configurationRegistry.registerConfiguration({
|
|
|
275
276
|
"explorer.copyPathSeparator": {
|
|
276
277
|
"type": "string",
|
|
277
278
|
"enum": ["/", "\\", "auto"],
|
|
278
|
-
"enumDescriptions": [( localize(
|
|
279
|
-
"description": ( localize(
|
|
279
|
+
"enumDescriptions": [( localize(9764, "Use slash as path separation character.")), ( localize(9765, "Use backslash as path separation character.")), ( localize(9766, "Uses operating system specific path separation character."))],
|
|
280
|
+
"description": ( localize(9767, "The path separation character used when copying file paths.")),
|
|
280
281
|
"default": "auto"
|
|
281
282
|
},
|
|
282
283
|
"explorer.excludeGitIgnore": {
|
|
283
284
|
type: "boolean",
|
|
284
285
|
markdownDescription: ( localize(
|
|
285
|
-
|
|
286
|
+
9768,
|
|
286
287
|
"Controls whether entries in .gitignore should be parsed and excluded from the Explorer. Similar to {0}.",
|
|
287
288
|
"`#files.exclude#`"
|
|
288
289
|
)),
|
|
@@ -293,7 +294,7 @@ configurationRegistry.registerConfiguration({
|
|
|
293
294
|
"type": "boolean",
|
|
294
295
|
scope: ConfigurationScope.RESOURCE,
|
|
295
296
|
"markdownDescription": ( localize(
|
|
296
|
-
|
|
297
|
+
9769,
|
|
297
298
|
"Controls whether file nesting is enabled in the Explorer. File nesting allows for related files in a directory to be visually grouped together under a single parent file."
|
|
298
299
|
)),
|
|
299
300
|
"default": false
|
|
@@ -301,7 +302,7 @@ configurationRegistry.registerConfiguration({
|
|
|
301
302
|
"explorer.fileNesting.expand": {
|
|
302
303
|
"type": "boolean",
|
|
303
304
|
"markdownDescription": ( localize(
|
|
304
|
-
|
|
305
|
+
9770,
|
|
305
306
|
"Controls whether file nests are automatically expanded. {0} must be set for this to take effect.",
|
|
306
307
|
"`#explorer.fileNesting.enabled#`"
|
|
307
308
|
)),
|
|
@@ -311,14 +312,14 @@ configurationRegistry.registerConfiguration({
|
|
|
311
312
|
"type": "object",
|
|
312
313
|
scope: ConfigurationScope.RESOURCE,
|
|
313
314
|
"markdownDescription": ( localize(
|
|
314
|
-
|
|
315
|
+
9771,
|
|
315
316
|
"Controls nesting of files in the Explorer. {0} must be set for this to take effect. Each __Item__ represents a parent pattern and may contain a single `*` character that matches any string. Each __Value__ represents a comma separated list of the child patterns that should be shown nested under a given parent. Child patterns may contain several special tokens:\n- `${capture}`: Matches the resolved value of the `*` from the parent pattern\n- `${basename}`: Matches the parent file's basename, the `file` in `file.ts`\n- `${extname}`: Matches the parent file's extension, the `ts` in `file.ts`\n- `${dirname}`: Matches the parent file's directory name, the `src` in `src/file.ts`\n- `*`: Matches any string, may only be used once per child pattern",
|
|
316
317
|
"`#explorer.fileNesting.enabled#`"
|
|
317
318
|
)),
|
|
318
319
|
patternProperties: {
|
|
319
320
|
"^[^*]*\\*?[^*]*$": {
|
|
320
321
|
markdownDescription: ( localize(
|
|
321
|
-
|
|
322
|
+
9772,
|
|
322
323
|
"Each key pattern may contain a single `*` character which will match any string."
|
|
323
324
|
)),
|
|
324
325
|
type: "string",
|