@codingame/monaco-vscode-explorer-service-override 29.1.1 → 30.0.1
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": "30.0.1",
|
|
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": "30.0.1"
|
|
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(9780, "File Explorer")),
|
|
28
28
|
"type": "object",
|
|
29
29
|
"properties": {
|
|
30
30
|
"explorer.openEditors.visible": {
|
|
31
31
|
"type": "number",
|
|
32
32
|
"description": ( localize(
|
|
33
|
-
|
|
33
|
+
9781,
|
|
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
|
+
9782,
|
|
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(9783, "Controls the sorting order of editors in the Open Editors pane.")),
|
|
52
|
+
"enumDescriptions": [( localize(9784, "Editors are ordered in the same order editor tabs are shown.")), ( localize(
|
|
53
|
+
9785,
|
|
54
54
|
"Editors are ordered alphabetically by tab name inside each editor group."
|
|
55
55
|
)), ( localize(
|
|
56
|
-
|
|
56
|
+
9786,
|
|
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(9787, "Files will be revealed and selected.")), ( localize(9788, "Files will not be revealed and selected.")), ( localize(9789, "Files will not be scrolled into view, but will still be focused."))],
|
|
66
66
|
"description": ( localize(
|
|
67
|
-
|
|
67
|
+
9790,
|
|
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
|
+
9791,
|
|
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
|
+
9792,
|
|
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,7 +93,7 @@ configurationRegistry.registerConfiguration({
|
|
|
93
93
|
pattern: "\\w*\\$\\(basename\\)\\w*",
|
|
94
94
|
default: "$(basename).ext",
|
|
95
95
|
description: ( localize(
|
|
96
|
-
|
|
96
|
+
9793,
|
|
97
97
|
"Additional check on the siblings of a matching file. Use {0} as variable for the matching file name.",
|
|
98
98
|
"$(basename)"
|
|
99
99
|
))
|
|
@@ -105,7 +105,7 @@ configurationRegistry.registerConfiguration({
|
|
|
105
105
|
"explorer.enableDragAndDrop": {
|
|
106
106
|
"type": "boolean",
|
|
107
107
|
"description": ( localize(
|
|
108
|
-
|
|
108
|
+
9794,
|
|
109
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."
|
|
110
110
|
)),
|
|
111
111
|
"default": true
|
|
@@ -113,7 +113,7 @@ configurationRegistry.registerConfiguration({
|
|
|
113
113
|
"explorer.confirmDragAndDrop": {
|
|
114
114
|
"type": "boolean",
|
|
115
115
|
"description": ( localize(
|
|
116
|
-
|
|
116
|
+
9795,
|
|
117
117
|
"Controls whether the Explorer should ask for confirmation to move files and folders via drag and drop."
|
|
118
118
|
)),
|
|
119
119
|
"default": true
|
|
@@ -121,7 +121,7 @@ configurationRegistry.registerConfiguration({
|
|
|
121
121
|
"explorer.confirmPasteNative": {
|
|
122
122
|
"type": "boolean",
|
|
123
123
|
"description": ( localize(
|
|
124
|
-
|
|
124
|
+
9796,
|
|
125
125
|
"Controls whether the Explorer should ask for confirmation when pasting native files and folders."
|
|
126
126
|
)),
|
|
127
127
|
"default": true
|
|
@@ -129,7 +129,7 @@ configurationRegistry.registerConfiguration({
|
|
|
129
129
|
"explorer.confirmDelete": {
|
|
130
130
|
"type": "boolean",
|
|
131
131
|
"description": ( localize(
|
|
132
|
-
|
|
132
|
+
9797,
|
|
133
133
|
"Controls whether the Explorer should ask for confirmation when deleting files and folders."
|
|
134
134
|
)),
|
|
135
135
|
"default": true
|
|
@@ -137,7 +137,7 @@ configurationRegistry.registerConfiguration({
|
|
|
137
137
|
"explorer.enableUndo": {
|
|
138
138
|
"type": "boolean",
|
|
139
139
|
"description": ( localize(
|
|
140
|
-
|
|
140
|
+
9798,
|
|
141
141
|
"Controls whether the Explorer should support undoing file and folder operations."
|
|
142
142
|
)),
|
|
143
143
|
"default": true
|
|
@@ -146,16 +146,16 @@ configurationRegistry.registerConfiguration({
|
|
|
146
146
|
"type": "string",
|
|
147
147
|
"enum": [UndoConfirmLevel.Verbose, UndoConfirmLevel.Default, UndoConfirmLevel.Light],
|
|
148
148
|
"description": ( localize(
|
|
149
|
-
|
|
149
|
+
9799,
|
|
150
150
|
"Controls whether the Explorer should ask for confirmation when undoing."
|
|
151
151
|
)),
|
|
152
152
|
"default": UndoConfirmLevel.Default,
|
|
153
|
-
"enumDescriptions": [( localize(
|
|
153
|
+
"enumDescriptions": [( localize(9800, "Explorer will prompt before all undo operations.")), ( localize(9801, "Explorer will prompt before destructive undo operations.")), ( localize(9802, "Explorer will not prompt before undo operations when focused."))]
|
|
154
154
|
},
|
|
155
155
|
"explorer.expandSingleFolderWorkspaces": {
|
|
156
156
|
"type": "boolean",
|
|
157
157
|
"description": ( localize(
|
|
158
|
-
|
|
158
|
+
9803,
|
|
159
159
|
"Controls whether the Explorer should expand multi-root workspaces containing only one folder during initialization"
|
|
160
160
|
)),
|
|
161
161
|
"default": true
|
|
@@ -172,26 +172,26 @@ configurationRegistry.registerConfiguration({
|
|
|
172
172
|
],
|
|
173
173
|
"default": SortOrder.Default,
|
|
174
174
|
"enumDescriptions": [( localize(
|
|
175
|
-
|
|
175
|
+
9804,
|
|
176
176
|
"Files and folders are sorted by their names. Folders are displayed before files."
|
|
177
177
|
)), ( localize(
|
|
178
|
-
|
|
178
|
+
9805,
|
|
179
179
|
"Files and folders are sorted by their names. Files are interwoven with folders."
|
|
180
180
|
)), ( localize(
|
|
181
|
-
|
|
181
|
+
9806,
|
|
182
182
|
"Files and folders are sorted by their names. Files are displayed before folders."
|
|
183
183
|
)), ( localize(
|
|
184
|
-
|
|
184
|
+
9807,
|
|
185
185
|
"Files and folders are grouped by extension type then sorted by their names. Folders are displayed before files."
|
|
186
186
|
)), ( localize(
|
|
187
|
-
|
|
187
|
+
9808,
|
|
188
188
|
"Files and folders are sorted by last modified date in descending order. Folders are displayed before files."
|
|
189
189
|
)), ( localize(
|
|
190
|
-
|
|
190
|
+
9809,
|
|
191
191
|
"Files and folders are sorted by their names. Folders are displayed before files. Files with nested children are displayed before other files."
|
|
192
192
|
))],
|
|
193
193
|
"markdownDescription": ( localize(
|
|
194
|
-
|
|
194
|
+
9810,
|
|
195
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."
|
|
196
196
|
))
|
|
197
197
|
},
|
|
@@ -204,45 +204,45 @@ configurationRegistry.registerConfiguration({
|
|
|
204
204
|
LexicographicOptions.Unicode
|
|
205
205
|
],
|
|
206
206
|
"default": LexicographicOptions.Default,
|
|
207
|
-
"enumDescriptions": [( localize(
|
|
207
|
+
"enumDescriptions": [( localize(9811, "Uppercase and lowercase names are mixed together.")), ( localize(9812, "Uppercase names are grouped together before lowercase names.")), ( localize(9813, "Lowercase names are grouped together before uppercase names.")), ( localize(9814, "Names are sorted in Unicode order."))],
|
|
208
208
|
"description": ( localize(
|
|
209
|
-
|
|
209
|
+
9815,
|
|
210
210
|
"Controls the lexicographic sorting of file and folder names in the Explorer."
|
|
211
211
|
))
|
|
212
212
|
},
|
|
213
213
|
"explorer.sortOrderReverse": {
|
|
214
214
|
"type": "boolean",
|
|
215
215
|
"description": ( localize(
|
|
216
|
-
|
|
216
|
+
9816,
|
|
217
217
|
"Controls whether the file and folder sort order, should be reversed."
|
|
218
218
|
)),
|
|
219
219
|
"default": false
|
|
220
220
|
},
|
|
221
221
|
"explorer.decorations.colors": {
|
|
222
222
|
type: "boolean",
|
|
223
|
-
description: ( localize(
|
|
223
|
+
description: ( localize(9817, "Controls whether file decorations should use colors.")),
|
|
224
224
|
default: true
|
|
225
225
|
},
|
|
226
226
|
"explorer.decorations.badges": {
|
|
227
227
|
type: "boolean",
|
|
228
|
-
description: ( localize(
|
|
228
|
+
description: ( localize(9818, "Controls whether file decorations should use badges.")),
|
|
229
229
|
default: true
|
|
230
230
|
},
|
|
231
231
|
"explorer.incrementalNaming": {
|
|
232
232
|
"type": "string",
|
|
233
233
|
enum: ["simple", "smart", "disabled"],
|
|
234
234
|
enumDescriptions: [( localize(
|
|
235
|
-
|
|
235
|
+
9819,
|
|
236
236
|
"Appends the word \"copy\" at the end of the duplicated name potentially followed by a number."
|
|
237
237
|
)), ( localize(
|
|
238
|
-
|
|
238
|
+
9820,
|
|
239
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."
|
|
240
240
|
)), ( localize(
|
|
241
|
-
|
|
241
|
+
9821,
|
|
242
242
|
"Disables incremental naming. If two files with the same name exist you will be prompted to overwrite the existing file."
|
|
243
243
|
))],
|
|
244
244
|
description: ( localize(
|
|
245
|
-
|
|
245
|
+
9822,
|
|
246
246
|
"Controls which naming strategy to use when giving a new name to a duplicated Explorer item on paste."
|
|
247
247
|
)),
|
|
248
248
|
default: "simple"
|
|
@@ -250,7 +250,7 @@ configurationRegistry.registerConfiguration({
|
|
|
250
250
|
"explorer.autoOpenDroppedFile": {
|
|
251
251
|
"type": "boolean",
|
|
252
252
|
"description": ( localize(
|
|
253
|
-
|
|
253
|
+
9823,
|
|
254
254
|
"Controls whether the Explorer should automatically open a file when it is dropped into the explorer"
|
|
255
255
|
)),
|
|
256
256
|
"default": true
|
|
@@ -258,7 +258,7 @@ configurationRegistry.registerConfiguration({
|
|
|
258
258
|
"explorer.compactFolders": {
|
|
259
259
|
"type": "boolean",
|
|
260
260
|
"description": ( localize(
|
|
261
|
-
|
|
261
|
+
9824,
|
|
262
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."
|
|
263
263
|
)),
|
|
264
264
|
"default": true
|
|
@@ -266,9 +266,9 @@ configurationRegistry.registerConfiguration({
|
|
|
266
266
|
"explorer.copyRelativePathSeparator": {
|
|
267
267
|
"type": "string",
|
|
268
268
|
"enum": ["/", "\\", "auto"],
|
|
269
|
-
"enumDescriptions": [( localize(
|
|
269
|
+
"enumDescriptions": [( localize(9825, "Use slash as path separation character.")), ( localize(9826, "Use backslash as path separation character.")), ( localize(9827, "Uses operating system specific path separation character."))],
|
|
270
270
|
"description": ( localize(
|
|
271
|
-
|
|
271
|
+
9828,
|
|
272
272
|
"The path separation character used when copying relative file paths."
|
|
273
273
|
)),
|
|
274
274
|
"default": "auto"
|
|
@@ -276,14 +276,14 @@ configurationRegistry.registerConfiguration({
|
|
|
276
276
|
"explorer.copyPathSeparator": {
|
|
277
277
|
"type": "string",
|
|
278
278
|
"enum": ["/", "\\", "auto"],
|
|
279
|
-
"enumDescriptions": [( localize(
|
|
280
|
-
"description": ( localize(
|
|
279
|
+
"enumDescriptions": [( localize(9829, "Use slash as path separation character.")), ( localize(9830, "Use backslash as path separation character.")), ( localize(9831, "Uses operating system specific path separation character."))],
|
|
280
|
+
"description": ( localize(9832, "The path separation character used when copying file paths.")),
|
|
281
281
|
"default": "auto"
|
|
282
282
|
},
|
|
283
283
|
"explorer.excludeGitIgnore": {
|
|
284
284
|
type: "boolean",
|
|
285
285
|
markdownDescription: ( localize(
|
|
286
|
-
|
|
286
|
+
9833,
|
|
287
287
|
"Controls whether entries in .gitignore should be parsed and excluded from the Explorer. Similar to {0}.",
|
|
288
288
|
"`#files.exclude#`"
|
|
289
289
|
)),
|
|
@@ -294,7 +294,7 @@ configurationRegistry.registerConfiguration({
|
|
|
294
294
|
"type": "boolean",
|
|
295
295
|
scope: ConfigurationScope.RESOURCE,
|
|
296
296
|
"markdownDescription": ( localize(
|
|
297
|
-
|
|
297
|
+
9834,
|
|
298
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."
|
|
299
299
|
)),
|
|
300
300
|
"default": false
|
|
@@ -302,7 +302,7 @@ configurationRegistry.registerConfiguration({
|
|
|
302
302
|
"explorer.fileNesting.expand": {
|
|
303
303
|
"type": "boolean",
|
|
304
304
|
"markdownDescription": ( localize(
|
|
305
|
-
|
|
305
|
+
9835,
|
|
306
306
|
"Controls whether file nests are automatically expanded. {0} must be set for this to take effect.",
|
|
307
307
|
"`#explorer.fileNesting.enabled#`"
|
|
308
308
|
)),
|
|
@@ -312,14 +312,14 @@ configurationRegistry.registerConfiguration({
|
|
|
312
312
|
"type": "object",
|
|
313
313
|
scope: ConfigurationScope.RESOURCE,
|
|
314
314
|
"markdownDescription": ( localize(
|
|
315
|
-
|
|
315
|
+
9836,
|
|
316
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",
|
|
317
317
|
"`#explorer.fileNesting.enabled#`"
|
|
318
318
|
)),
|
|
319
319
|
patternProperties: {
|
|
320
320
|
"^[^*]*\\*?[^*]*$": {
|
|
321
321
|
markdownDescription: ( localize(
|
|
322
|
-
|
|
322
|
+
9837,
|
|
323
323
|
"Each key pattern may contain a single `*` character which will match any string."
|
|
324
324
|
)),
|
|
325
325
|
type: "string",
|