@codingame/monaco-vscode-explorer-service-override 4.5.0 → 4.5.2

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.
@@ -12,23 +12,20 @@ import 'vscode/vscode/vs/workbench/contrib/files/browser/files.configuration.con
12
12
  import 'vscode/vscode/vs/workbench/contrib/files/browser/files.editorPane.contribution';
13
13
  import 'vscode/vscode/vs/workbench/contrib/files/browser/files.fileEditorFactory.contribution';
14
14
 
15
+ const _moduleId = "vs/workbench/contrib/files/browser/files.explorer.contribution";
15
16
  registerWorkbenchContribution2(ExplorerViewletViewsContribution.ID, ExplorerViewletViewsContribution, 1 );
16
- const configurationRegistry = ( Registry.as(Extensions.Configuration));
17
+ const configurationRegistry = ( (Registry.as(Extensions.Configuration)));
17
18
  configurationRegistry.registerConfiguration({
18
19
  'id': 'explorer',
19
20
  'order': 10,
20
- 'title': ( localizeWithPath(
21
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
22
- 'explorerConfigurationTitle',
23
- "File Explorer"
24
- )),
21
+ 'title': ( localizeWithPath(_moduleId, 0, "File Explorer")),
25
22
  'type': 'object',
26
23
  'properties': {
27
24
  'explorer.openEditors.visible': {
28
25
  'type': 'number',
29
26
  'description': ( localizeWithPath(
30
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
31
- { key: 'openEditorsVisible', comment: ['Open is an adjective'] },
27
+ _moduleId,
28
+ 1,
32
29
  "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."
33
30
  )),
34
31
  'default': 9,
@@ -37,8 +34,8 @@ configurationRegistry.registerConfiguration({
37
34
  'explorer.openEditors.minVisible': {
38
35
  'type': 'number',
39
36
  'description': ( localizeWithPath(
40
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
41
- { key: 'openEditorsVisibleMin', comment: ['Open is an adjective'] },
37
+ _moduleId,
38
+ 2,
42
39
  "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."
43
40
  )),
44
41
  'default': 0,
@@ -48,24 +45,24 @@ configurationRegistry.registerConfiguration({
48
45
  'type': 'string',
49
46
  'enum': ['editorOrder', 'alphabetical', 'fullPath'],
50
47
  'description': ( localizeWithPath(
51
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
52
- { key: 'openEditorsSortOrder', comment: ['Open is an adjective'] },
48
+ _moduleId,
49
+ 3,
53
50
  "Controls the sorting order of editors in the Open Editors pane."
54
51
  )),
55
52
  'enumDescriptions': [
56
53
  ( localizeWithPath(
57
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
58
- 'sortOrder.editorOrder',
54
+ _moduleId,
55
+ 4,
59
56
  'Editors are ordered in the same order editor tabs are shown.'
60
57
  )),
61
58
  ( localizeWithPath(
62
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
63
- 'sortOrder.alphabetical',
59
+ _moduleId,
60
+ 5,
64
61
  'Editors are ordered alphabetically by tab name inside each editor group.'
65
62
  )),
66
63
  ( localizeWithPath(
67
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
68
- 'sortOrder.fullPath',
64
+ _moduleId,
65
+ 6,
69
66
  'Editors are ordered alphabetically by full path inside each editor group.'
70
67
  ))
71
68
  ],
@@ -76,33 +73,25 @@ configurationRegistry.registerConfiguration({
76
73
  'enum': [true, false, 'focusNoScroll'],
77
74
  'default': true,
78
75
  'enumDescriptions': [
76
+ ( localizeWithPath(_moduleId, 7, 'Files will be revealed and selected.')),
77
+ ( localizeWithPath(_moduleId, 8, 'Files will not be revealed and selected.')),
79
78
  ( localizeWithPath(
80
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
81
- 'autoReveal.on',
82
- 'Files will be revealed and selected.'
83
- )),
84
- ( localizeWithPath(
85
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
86
- 'autoReveal.off',
87
- 'Files will not be revealed and selected.'
88
- )),
89
- ( localizeWithPath(
90
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
91
- 'autoReveal.focusNoScroll',
79
+ _moduleId,
80
+ 9,
92
81
  'Files will not be scrolled into view, but will still be focused.'
93
82
  )),
94
83
  ],
95
84
  'description': ( localizeWithPath(
96
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
97
- 'autoReveal',
85
+ _moduleId,
86
+ 10,
98
87
  "Controls whether the Explorer should automatically reveal and select files when opening them."
99
88
  ))
100
89
  },
101
90
  'explorer.autoRevealExclude': {
102
91
  'type': 'object',
103
92
  'markdownDescription': ( localizeWithPath(
104
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
105
- 'autoRevealExclude',
93
+ _moduleId,
94
+ 11,
106
95
  "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."
107
96
  )),
108
97
  'default': { '**/node_modules': true, '**/bower_components': true },
@@ -111,8 +100,8 @@ configurationRegistry.registerConfiguration({
111
100
  {
112
101
  'type': 'boolean',
113
102
  'description': ( localizeWithPath(
114
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
115
- 'explorer.autoRevealExclude.boolean',
103
+ _moduleId,
104
+ 12,
116
105
  "The glob pattern to match file paths against. Set to true or false to enable or disable the pattern."
117
106
  )),
118
107
  },
@@ -124,8 +113,8 @@ configurationRegistry.registerConfiguration({
124
113
  pattern: '\\w*\\$\\(basename\\)\\w*',
125
114
  default: '$(basename).ext',
126
115
  description: ( localizeWithPath(
127
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
128
- 'explorer.autoRevealExclude.when',
116
+ _moduleId,
117
+ 13,
129
118
  'Additional check on the siblings of a matching file. Use $(basename) as variable for the matching file name.'
130
119
  ))
131
120
  }
@@ -137,8 +126,8 @@ configurationRegistry.registerConfiguration({
137
126
  'explorer.enableDragAndDrop': {
138
127
  'type': 'boolean',
139
128
  'description': ( localizeWithPath(
140
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
141
- 'enableDragAndDrop',
129
+ _moduleId,
130
+ 14,
142
131
  "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."
143
132
  )),
144
133
  'default': true
@@ -146,8 +135,8 @@ configurationRegistry.registerConfiguration({
146
135
  'explorer.confirmDragAndDrop': {
147
136
  'type': 'boolean',
148
137
  'description': ( localizeWithPath(
149
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
150
- 'confirmDragAndDrop',
138
+ _moduleId,
139
+ 15,
151
140
  "Controls whether the Explorer should ask for confirmation to move files and folders via drag and drop."
152
141
  )),
153
142
  'default': true
@@ -155,8 +144,8 @@ configurationRegistry.registerConfiguration({
155
144
  'explorer.confirmPasteNative': {
156
145
  'type': 'boolean',
157
146
  'description': ( localizeWithPath(
158
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
159
- 'confirmPasteNative',
147
+ _moduleId,
148
+ 16,
160
149
  "Controls whether the Explorer should ask for confirmation when pasting native files and folders."
161
150
  )),
162
151
  'default': true
@@ -164,8 +153,8 @@ configurationRegistry.registerConfiguration({
164
153
  'explorer.confirmDelete': {
165
154
  'type': 'boolean',
166
155
  'description': ( localizeWithPath(
167
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
168
- 'confirmDelete',
156
+ _moduleId,
157
+ 17,
169
158
  "Controls whether the Explorer should ask for confirmation when deleting a file via the trash."
170
159
  )),
171
160
  'default': true
@@ -173,8 +162,8 @@ configurationRegistry.registerConfiguration({
173
162
  'explorer.enableUndo': {
174
163
  'type': 'boolean',
175
164
  'description': ( localizeWithPath(
176
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
177
- 'enableUndo',
165
+ _moduleId,
166
+ 18,
178
167
  "Controls whether the Explorer should support undoing file and folder operations."
179
168
  )),
180
169
  'default': true
@@ -183,25 +172,17 @@ configurationRegistry.registerConfiguration({
183
172
  'type': 'string',
184
173
  'enum': ["verbose" , "default" , "light" ],
185
174
  'description': ( localizeWithPath(
186
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
187
- 'confirmUndo',
175
+ _moduleId,
176
+ 19,
188
177
  "Controls whether the Explorer should ask for confirmation when undoing."
189
178
  )),
190
179
  'default': "default" ,
191
180
  'enumDescriptions': [
181
+ ( localizeWithPath(_moduleId, 20, 'Explorer will prompt before all undo operations.')),
182
+ ( localizeWithPath(_moduleId, 21, 'Explorer will prompt before destructive undo operations.')),
192
183
  ( localizeWithPath(
193
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
194
- 'enableUndo.verbose',
195
- 'Explorer will prompt before all undo operations.'
196
- )),
197
- ( localizeWithPath(
198
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
199
- 'enableUndo.default',
200
- 'Explorer will prompt before destructive undo operations.'
201
- )),
202
- ( localizeWithPath(
203
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
204
- 'enableUndo.light',
184
+ _moduleId,
185
+ 22,
205
186
  'Explorer will not prompt before undo operations when focused.'
206
187
  )),
207
188
  ],
@@ -209,8 +190,8 @@ configurationRegistry.registerConfiguration({
209
190
  'explorer.expandSingleFolderWorkspaces': {
210
191
  'type': 'boolean',
211
192
  'description': ( localizeWithPath(
212
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
213
- 'expandSingleFolderWorkspaces',
193
+ _moduleId,
194
+ 23,
214
195
  "Controls whether the Explorer should expand multi-root workspaces containing only one folder during initialization"
215
196
  )),
216
197
  'default': true
@@ -221,39 +202,39 @@ configurationRegistry.registerConfiguration({
221
202
  'default': "default" ,
222
203
  'enumDescriptions': [
223
204
  ( localizeWithPath(
224
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
225
- 'sortOrder.default',
205
+ _moduleId,
206
+ 24,
226
207
  'Files and folders are sorted by their names. Folders are displayed before files.'
227
208
  )),
228
209
  ( localizeWithPath(
229
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
230
- 'sortOrder.mixed',
210
+ _moduleId,
211
+ 25,
231
212
  'Files and folders are sorted by their names. Files are interwoven with folders.'
232
213
  )),
233
214
  ( localizeWithPath(
234
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
235
- 'sortOrder.filesFirst',
215
+ _moduleId,
216
+ 26,
236
217
  'Files and folders are sorted by their names. Files are displayed before folders.'
237
218
  )),
238
219
  ( localizeWithPath(
239
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
240
- 'sortOrder.type',
220
+ _moduleId,
221
+ 27,
241
222
  'Files and folders are grouped by extension type then sorted by their names. Folders are displayed before files.'
242
223
  )),
243
224
  ( localizeWithPath(
244
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
245
- 'sortOrder.modified',
225
+ _moduleId,
226
+ 28,
246
227
  'Files and folders are sorted by last modified date in descending order. Folders are displayed before files.'
247
228
  )),
248
229
  ( localizeWithPath(
249
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
250
- 'sortOrder.foldersNestsFiles',
230
+ _moduleId,
231
+ 29,
251
232
  'Files and folders are sorted by their names. Folders are displayed before files. Files with nested children are displayed before other files.'
252
233
  ))
253
234
  ],
254
235
  'markdownDescription': ( localizeWithPath(
255
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
256
- 'sortOrder',
236
+ _moduleId,
237
+ 30,
257
238
  "Controls the property-based sorting of files and folders in the Explorer. When `#explorer.fileNesting.enabled#` is enabled, also controls sorting of nested files."
258
239
  ))
259
240
  },
@@ -262,49 +243,33 @@ configurationRegistry.registerConfiguration({
262
243
  'enum': ["default" , "upper" , "lower" , "unicode" ],
263
244
  'default': "default" ,
264
245
  'enumDescriptions': [
246
+ ( localizeWithPath(_moduleId, 31, 'Uppercase and lowercase names are mixed together.')),
265
247
  ( localizeWithPath(
266
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
267
- 'sortOrderLexicographicOptions.default',
268
- 'Uppercase and lowercase names are mixed together.'
269
- )),
270
- ( localizeWithPath(
271
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
272
- 'sortOrderLexicographicOptions.upper',
248
+ _moduleId,
249
+ 32,
273
250
  'Uppercase names are grouped together before lowercase names.'
274
251
  )),
275
252
  ( localizeWithPath(
276
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
277
- 'sortOrderLexicographicOptions.lower',
253
+ _moduleId,
254
+ 33,
278
255
  'Lowercase names are grouped together before uppercase names.'
279
256
  )),
280
- ( localizeWithPath(
281
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
282
- 'sortOrderLexicographicOptions.unicode',
283
- 'Names are sorted in Unicode order.'
284
- ))
257
+ ( localizeWithPath(_moduleId, 34, 'Names are sorted in Unicode order.'))
285
258
  ],
286
259
  'description': ( localizeWithPath(
287
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
288
- 'sortOrderLexicographicOptions',
260
+ _moduleId,
261
+ 35,
289
262
  "Controls the lexicographic sorting of file and folder names in the Explorer."
290
263
  ))
291
264
  },
292
265
  'explorer.decorations.colors': {
293
266
  type: 'boolean',
294
- description: ( localizeWithPath(
295
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
296
- 'explorer.decorations.colors',
297
- "Controls whether file decorations should use colors."
298
- )),
267
+ description: ( localizeWithPath(_moduleId, 36, "Controls whether file decorations should use colors.")),
299
268
  default: true
300
269
  },
301
270
  'explorer.decorations.badges': {
302
271
  type: 'boolean',
303
- description: ( localizeWithPath(
304
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
305
- 'explorer.decorations.badges',
306
- "Controls whether file decorations should use badges."
307
- )),
272
+ description: ( localizeWithPath(_moduleId, 37, "Controls whether file decorations should use badges.")),
308
273
  default: true
309
274
  },
310
275
  'explorer.incrementalNaming': {
@@ -312,24 +277,24 @@ configurationRegistry.registerConfiguration({
312
277
  enum: ['simple', 'smart', 'disabled'],
313
278
  enumDescriptions: [
314
279
  ( localizeWithPath(
315
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
316
- 'simple',
280
+ _moduleId,
281
+ 38,
317
282
  "Appends the word \"copy\" at the end of the duplicated name potentially followed by a number."
318
283
  )),
319
284
  ( localizeWithPath(
320
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
321
- 'smart',
285
+ _moduleId,
286
+ 39,
322
287
  "Adds a number at the end of the duplicated name. If some number is already part of the name, tries to increase that number."
323
288
  )),
324
289
  ( localizeWithPath(
325
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
326
- 'disabled',
290
+ _moduleId,
291
+ 40,
327
292
  "Disables incremental naming. If two files with the same name exist you will be prompted to overwrite the existing file."
328
293
  ))
329
294
  ],
330
295
  description: ( localizeWithPath(
331
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
332
- 'explorer.incrementalNaming',
296
+ _moduleId,
297
+ 41,
333
298
  "Controls which naming strategy to use when giving a new name to a duplicated Explorer item on paste."
334
299
  )),
335
300
  default: 'simple'
@@ -337,8 +302,8 @@ configurationRegistry.registerConfiguration({
337
302
  'explorer.compactFolders': {
338
303
  'type': 'boolean',
339
304
  'description': ( localizeWithPath(
340
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
341
- 'compressSingleChildFolders',
305
+ _moduleId,
306
+ 42,
342
307
  "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."
343
308
  )),
344
309
  'default': true
@@ -351,25 +316,13 @@ configurationRegistry.registerConfiguration({
351
316
  'auto'
352
317
  ],
353
318
  'enumDescriptions': [
354
- ( localizeWithPath(
355
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
356
- 'copyRelativePathSeparator.slash',
357
- "Use slash as path separation character."
358
- )),
359
- ( localizeWithPath(
360
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
361
- 'copyRelativePathSeparator.backslash',
362
- "Use backslash as path separation character."
363
- )),
364
- ( localizeWithPath(
365
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
366
- 'copyRelativePathSeparator.auto',
367
- "Uses operating system specific path separation character."
368
- )),
319
+ ( localizeWithPath(_moduleId, 43, "Use slash as path separation character.")),
320
+ ( localizeWithPath(_moduleId, 44, "Use backslash as path separation character.")),
321
+ ( localizeWithPath(_moduleId, 45, "Uses operating system specific path separation character.")),
369
322
  ],
370
323
  'description': ( localizeWithPath(
371
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
372
- 'copyRelativePathSeparator',
324
+ _moduleId,
325
+ 46,
373
326
  "The path separation character used when copying relative file paths."
374
327
  )),
375
328
  'default': 'auto'
@@ -377,8 +330,8 @@ configurationRegistry.registerConfiguration({
377
330
  'explorer.excludeGitIgnore': {
378
331
  type: 'boolean',
379
332
  markdownDescription: ( localizeWithPath(
380
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
381
- 'excludeGitignore',
333
+ _moduleId,
334
+ 47,
382
335
  "Controls whether entries in .gitignore should be parsed and excluded from the Explorer. Similar to {0}.",
383
336
  '`#files.exclude#`'
384
337
  )),
@@ -389,8 +342,8 @@ configurationRegistry.registerConfiguration({
389
342
  'type': 'boolean',
390
343
  scope: 4 ,
391
344
  'markdownDescription': ( localizeWithPath(
392
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
393
- 'fileNestingEnabled',
345
+ _moduleId,
346
+ 48,
394
347
  "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."
395
348
  )),
396
349
  'default': false,
@@ -398,8 +351,8 @@ configurationRegistry.registerConfiguration({
398
351
  'explorer.fileNesting.expand': {
399
352
  'type': 'boolean',
400
353
  'markdownDescription': ( localizeWithPath(
401
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
402
- 'fileNestingExpand',
354
+ _moduleId,
355
+ 49,
403
356
  "Controls whether file nests are automatically expanded. {0} must be set for this to take effect.",
404
357
  '`#explorer.fileNesting.enabled#`'
405
358
  )),
@@ -409,16 +362,16 @@ configurationRegistry.registerConfiguration({
409
362
  'type': 'object',
410
363
  scope: 4 ,
411
364
  'markdownDescription': ( localizeWithPath(
412
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
413
- 'fileNestingPatterns',
365
+ _moduleId,
366
+ 50,
414
367
  "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",
415
368
  '`#explorer.fileNesting.enabled#`'
416
369
  )),
417
370
  patternProperties: {
418
371
  '^[^*]*\\*?[^*]*$': {
419
372
  markdownDescription: ( localizeWithPath(
420
- 'vs/workbench/contrib/files/browser/files.explorer.contribution',
421
- 'fileNesting.description',
373
+ _moduleId,
374
+ 51,
422
375
  "Each key pattern may contain a single `*` character which will match any string."
423
376
  )),
424
377
  type: 'string',
package/explorer.d.ts DELETED
@@ -1,5 +0,0 @@
1
- import { IEditorOverrideServices } from 'vscode/vscode/vs/editor/standalone/browser/standaloneServices';
2
-
3
- declare function getServiceOverride(): IEditorOverrideServices;
4
-
5
- export { getServiceOverride as default };