@codingame/monaco-vscode-15626ec7-b165-51e1-8caf-7bcc2ae9b95a-common 17.2.1 → 18.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-15626ec7-b165-51e1-8caf-7bcc2ae9b95a-common",
3
- "version": "17.2.1",
3
+ "version": "18.0.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - common package (explorer, files)",
6
6
  "keywords": [],
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "17.2.1"
18
+ "@codingame/monaco-vscode-api": "18.0.0"
19
19
  },
20
20
  "exports": {
21
21
  ".": {
@@ -16,20 +16,20 @@ const hotExitConfiguration = isNative ?
16
16
  'default': HotExitConfiguration.ON_EXIT,
17
17
  'markdownEnumDescriptions': [
18
18
  ( localize(
19
- 7029,
19
+ 7163,
20
20
  'Disable hot exit. A prompt will show when attempting to close a window with editors that have unsaved changes.'
21
21
  )),
22
22
  ( localize(
23
- 7030,
23
+ 7164,
24
24
  'Hot exit will be triggered when the last window is closed on Windows/Linux or when the `workbench.action.quit` command is triggered (command palette, keybinding, menu). All windows without folders opened will be restored upon next launch. A list of previously opened windows with unsaved files can be accessed via `File > Open Recent > More...`'
25
25
  )),
26
26
  ( localize(
27
- 7031,
27
+ 7165,
28
28
  'Hot exit will be triggered when the last window is closed on Windows/Linux or when the `workbench.action.quit` command is triggered (command palette, keybinding, menu), and also for any window with a folder opened regardless of whether it\'s the last window. All windows without folders opened will be restored upon next launch. A list of previously opened windows with unsaved files can be accessed via `File > Open Recent > More...`'
29
29
  ))
30
30
  ],
31
31
  'markdownDescription': ( localize(
32
- 7032,
32
+ 7166,
33
33
  "[Hot Exit](https://aka.ms/vscode-hot-exit) controls whether unsaved files are remembered between sessions, allowing the save prompt when exiting the editor to be skipped.",
34
34
  HotExitConfiguration.ON_EXIT,
35
35
  HotExitConfiguration.ON_EXIT_AND_WINDOW_CLOSE
@@ -41,16 +41,16 @@ const hotExitConfiguration = isNative ?
41
41
  'default': HotExitConfiguration.ON_EXIT_AND_WINDOW_CLOSE,
42
42
  'markdownEnumDescriptions': [
43
43
  ( localize(
44
- 7029,
44
+ 7163,
45
45
  'Disable hot exit. A prompt will show when attempting to close a window with editors that have unsaved changes.'
46
46
  )),
47
47
  ( localize(
48
- 7033,
48
+ 7167,
49
49
  'Hot exit will be triggered when the browser quits or the window or tab is closed.'
50
50
  ))
51
51
  ],
52
52
  'markdownDescription': ( localize(
53
- 7032,
53
+ 7166,
54
54
  "[Hot Exit](https://aka.ms/vscode-hot-exit) controls whether unsaved files are remembered between sessions, allowing the save prompt when exiting the editor to be skipped.",
55
55
  HotExitConfiguration.ON_EXIT,
56
56
  HotExitConfiguration.ON_EXIT_AND_WINDOW_CLOSE
@@ -59,13 +59,13 @@ const hotExitConfiguration = isNative ?
59
59
  configurationRegistry.registerConfiguration({
60
60
  'id': 'files',
61
61
  'order': 9,
62
- 'title': ( localize(7034, "Files")),
62
+ 'title': ( localize(7168, "Files")),
63
63
  'type': 'object',
64
64
  'properties': {
65
65
  [FILES_EXCLUDE_CONFIG]: {
66
66
  'type': 'object',
67
67
  'markdownDescription': ( localize(
68
- 7035,
68
+ 7169,
69
69
  "Configure [glob patterns](https://aka.ms/vscode-glob-patterns) for excluding files and folders. For example, the File Explorer decides which files and folders to show or hide based on this setting. Refer to the `#search.exclude#` setting to define search-specific excludes. Refer to the `#explorer.excludeGitIgnore#` setting for ignoring files based on your `.gitignore`."
70
70
  )),
71
71
  'default': {
@@ -78,9 +78,9 @@ configurationRegistry.registerConfiguration({
78
78
  {
79
79
  'type': 'boolean',
80
80
  'enum': [true, false],
81
- 'enumDescriptions': [( localize(7036, "Enable the pattern.")), ( localize(7037, "Disable the pattern."))],
81
+ 'enumDescriptions': [( localize(7170, "Enable the pattern.")), ( localize(7171, "Disable the pattern."))],
82
82
  'description': ( localize(
83
- 7038,
83
+ 7172,
84
84
  "The glob pattern to match file paths against. Set to true or false to enable or disable the pattern."
85
85
  )),
86
86
  },
@@ -92,7 +92,7 @@ configurationRegistry.registerConfiguration({
92
92
  'pattern': '\\w*\\$\\(basename\\)\\w*',
93
93
  'default': '$(basename).ext',
94
94
  'markdownDescription': ( localize(
95
- 7039,
95
+ 7173,
96
96
  "Additional check on the siblings of a matching file. Use \\$(basename) as variable for the matching file name."
97
97
  ))
98
98
  }
@@ -104,7 +104,7 @@ configurationRegistry.registerConfiguration({
104
104
  [FILES_ASSOCIATIONS_CONFIG]: {
105
105
  'type': 'object',
106
106
  'markdownDescription': ( localize(
107
- 7040,
107
+ 7174,
108
108
  "Configure [glob patterns](https://aka.ms/vscode-glob-patterns) of file associations to languages (for example `\"*.extension\": \"html\"`). Patterns will match on the absolute path of a file if they contain a path separator and will match on the name of the file otherwise. These have precedence over the default associations of the languages installed."
109
109
  )),
110
110
  'additionalProperties': {
@@ -116,7 +116,7 @@ configurationRegistry.registerConfiguration({
116
116
  'enum': ( Object.keys(SUPPORTED_ENCODINGS)),
117
117
  'default': 'utf8',
118
118
  'description': ( localize(
119
- 7041,
119
+ 7175,
120
120
  "The default character set encoding to use when reading and writing files. This setting can also be configured per language."
121
121
  )),
122
122
  'scope': ConfigurationScope.LANGUAGE_OVERRIDABLE,
@@ -127,7 +127,7 @@ configurationRegistry.registerConfiguration({
127
127
  'type': 'boolean',
128
128
  'default': false,
129
129
  'markdownDescription': ( localize(
130
- 7042,
130
+ 7176,
131
131
  "When enabled, the editor will attempt to guess the character set encoding when opening files. This setting can also be configured per language. Note, this setting is not respected by text search. Only {0} is respected.",
132
132
  '`#files.encoding#`'
133
133
  )),
@@ -142,7 +142,7 @@ configurationRegistry.registerConfiguration({
142
142
  },
143
143
  'default': [],
144
144
  'markdownDescription': ( localize(
145
- 7043,
145
+ 7177,
146
146
  "List of character set encodings that the editor should attempt to guess in the order they are listed. In case it cannot be determined, {0} is respected",
147
147
  '`#files.encoding#`'
148
148
  )),
@@ -156,33 +156,33 @@ configurationRegistry.registerConfiguration({
156
156
  'auto'
157
157
  ],
158
158
  'enumDescriptions': [
159
- ( localize(7044, "LF")),
160
- ( localize(7045, "CRLF")),
161
- ( localize(7046, "Uses operating system specific end of line character."))
159
+ ( localize(7178, "LF")),
160
+ ( localize(7179, "CRLF")),
161
+ ( localize(7180, "Uses operating system specific end of line character."))
162
162
  ],
163
163
  'default': 'auto',
164
- 'description': ( localize(7047, "The default end of line character.")),
164
+ 'description': ( localize(7181, "The default end of line character.")),
165
165
  'scope': ConfigurationScope.LANGUAGE_OVERRIDABLE
166
166
  },
167
167
  'files.enableTrash': {
168
168
  'type': 'boolean',
169
169
  'default': true,
170
170
  'description': ( localize(
171
- 7048,
171
+ 7182,
172
172
  "Moves files/folders to the OS trash (recycle bin on Windows) when deleting. Disabling this will delete files/folders permanently."
173
173
  ))
174
174
  },
175
175
  'files.trimTrailingWhitespace': {
176
176
  'type': 'boolean',
177
177
  'default': false,
178
- 'description': ( localize(7049, "When enabled, will trim trailing whitespace when saving a file.")),
178
+ 'description': ( localize(7183, "When enabled, will trim trailing whitespace when saving a file.")),
179
179
  'scope': ConfigurationScope.LANGUAGE_OVERRIDABLE
180
180
  },
181
181
  'files.trimTrailingWhitespaceInRegexAndStrings': {
182
182
  'type': 'boolean',
183
183
  'default': true,
184
184
  'description': ( localize(
185
- 7050,
185
+ 7184,
186
186
  "When enabled, trailing whitespace will be removed from multiline strings and regexes will be removed on save or when executing 'editor.action.trimTrailingWhitespace'. This can cause whitespace to not be trimmed from lines when there isn't up-to-date token information."
187
187
  )),
188
188
  'scope': ConfigurationScope.LANGUAGE_OVERRIDABLE
@@ -191,7 +191,7 @@ configurationRegistry.registerConfiguration({
191
191
  'type': 'boolean',
192
192
  'default': false,
193
193
  'description': ( localize(
194
- 7051,
194
+ 7185,
195
195
  "When enabled, insert a final new line at the end of the file when saving it."
196
196
  )),
197
197
  'scope': ConfigurationScope.LANGUAGE_OVERRIDABLE
@@ -200,7 +200,7 @@ configurationRegistry.registerConfiguration({
200
200
  'type': 'boolean',
201
201
  'default': false,
202
202
  'description': ( localize(
203
- 7052,
203
+ 7186,
204
204
  "When enabled, will trim all new lines after the final new line at the end of the file when saving it."
205
205
  )),
206
206
  scope: ConfigurationScope.LANGUAGE_OVERRIDABLE,
@@ -209,23 +209,23 @@ configurationRegistry.registerConfiguration({
209
209
  'type': 'string',
210
210
  'enum': [AutoSaveConfiguration.OFF, AutoSaveConfiguration.AFTER_DELAY, AutoSaveConfiguration.ON_FOCUS_CHANGE, AutoSaveConfiguration.ON_WINDOW_CHANGE],
211
211
  'markdownEnumDescriptions': [
212
- ( localize(7053, "An editor with changes is never automatically saved.")),
212
+ ( localize(7187, "An editor with changes is never automatically saved.")),
213
213
  ( localize(
214
- 7054,
214
+ 7188,
215
215
  "An editor with changes is automatically saved after the configured `#files.autoSaveDelay#`."
216
216
  )),
217
217
  ( localize(
218
- 7055,
218
+ 7189,
219
219
  "An editor with changes is automatically saved when the editor loses focus."
220
220
  )),
221
221
  ( localize(
222
- 7056,
222
+ 7190,
223
223
  "An editor with changes is automatically saved when the window loses focus."
224
224
  ))
225
225
  ],
226
226
  'default': isWeb ? AutoSaveConfiguration.AFTER_DELAY : AutoSaveConfiguration.OFF,
227
227
  'markdownDescription': ( localize(
228
- 7057,
228
+ 7191,
229
229
  "Controls [auto save](https://code.visualstudio.com/docs/editor/codebasics#_save-auto-save) of editors that have unsaved changes.",
230
230
  AutoSaveConfiguration.OFF,
231
231
  AutoSaveConfiguration.AFTER_DELAY,
@@ -240,7 +240,7 @@ configurationRegistry.registerConfiguration({
240
240
  'default': 1000,
241
241
  'minimum': 0,
242
242
  'markdownDescription': ( localize(
243
- 7058,
243
+ 7192,
244
244
  "Controls the delay in milliseconds after which an editor with unsaved changes is saved automatically. Only applies when `#files.autoSave#` is set to `{0}`.",
245
245
  AutoSaveConfiguration.AFTER_DELAY
246
246
  )),
@@ -250,7 +250,7 @@ configurationRegistry.registerConfiguration({
250
250
  'type': 'boolean',
251
251
  'default': false,
252
252
  'markdownDescription': ( localize(
253
- 7059,
253
+ 7193,
254
254
  "When enabled, will limit [auto save](https://code.visualstudio.com/docs/editor/codebasics#_save-auto-save) of editors to files that are inside the opened workspace. Only applies when {0} is enabled.",
255
255
  '`#files.autoSave#`'
256
256
  )),
@@ -260,7 +260,7 @@ configurationRegistry.registerConfiguration({
260
260
  'type': 'boolean',
261
261
  'default': false,
262
262
  'markdownDescription': ( localize(
263
- 7060,
263
+ 7194,
264
264
  "When enabled, will limit [auto save](https://code.visualstudio.com/docs/editor/codebasics#_save-auto-save) of editors to files that have no errors reported in them at the time the auto save is triggered. Only applies when {0} is enabled.",
265
265
  '`#files.autoSave#`'
266
266
  )),
@@ -273,7 +273,7 @@ configurationRegistry.registerConfiguration({
273
273
  },
274
274
  'default': { '**/.git/objects/**': true, '**/.git/subtree-cache/**': true, '**/.hg/store/**': true },
275
275
  'markdownDescription': ( localize(
276
- 7061,
276
+ 7195,
277
277
  "Configure paths or [glob patterns](https://aka.ms/vscode-glob-patterns) to exclude from file watching. Paths can either be relative to the watched folder or absolute. Glob patterns are matched relative from the watched folder. When you experience the file watcher process consuming a lot of CPU, make sure to exclude large folders that are of less interest (such as build output folders)."
278
278
  )),
279
279
  'scope': ConfigurationScope.RESOURCE
@@ -285,7 +285,7 @@ configurationRegistry.registerConfiguration({
285
285
  },
286
286
  'default': [],
287
287
  'description': ( localize(
288
- 7062,
288
+ 7196,
289
289
  "Configure extra paths to watch for changes inside the workspace. By default, all workspace folders will be watched recursively, except for folders that are symbolic links. You can explicitly add absolute or relative paths to support watching folders that are symbolic links. Relative paths will be resolved to an absolute path using the currently opened workspace."
290
290
  )),
291
291
  'scope': ConfigurationScope.RESOURCE
@@ -294,7 +294,7 @@ configurationRegistry.registerConfiguration({
294
294
  'files.defaultLanguage': {
295
295
  'type': 'string',
296
296
  'markdownDescription': ( localize(
297
- 7063,
297
+ 7197,
298
298
  "The default language identifier that is assigned to new files. If configured to `${activeEditorLanguage}`, will use the language identifier of the currently active text editor if any."
299
299
  ))
300
300
  },
@@ -305,7 +305,7 @@ configurationRegistry.registerConfiguration({
305
305
  },
306
306
  'default': {},
307
307
  'markdownDescription': ( localize(
308
- 7064,
308
+ 7198,
309
309
  "Configure paths or [glob patterns](https://aka.ms/vscode-glob-patterns) to mark as read-only. Glob patterns are always evaluated relative to the path of the workspace folder unless they are absolute paths. You can exclude matching paths via the `#files.readonlyExclude#` setting. Files from readonly file system providers will always be read-only independent of this setting."
310
310
  )),
311
311
  'scope': ConfigurationScope.RESOURCE
@@ -317,7 +317,7 @@ configurationRegistry.registerConfiguration({
317
317
  },
318
318
  'default': {},
319
319
  'markdownDescription': ( localize(
320
- 7065,
320
+ 7199,
321
321
  "Configure paths or [glob patterns](https://aka.ms/vscode-glob-patterns) to exclude from being marked as read-only if they match as a result of the `#files.readonlyInclude#` setting. Glob patterns are always evaluated relative to the path of the workspace folder unless they are absolute paths. Files from readonly file system providers will always be read-only independent of this setting."
322
322
  )),
323
323
  'scope': ConfigurationScope.RESOURCE
@@ -325,14 +325,14 @@ configurationRegistry.registerConfiguration({
325
325
  [FILES_READONLY_FROM_PERMISSIONS_CONFIG]: {
326
326
  'type': 'boolean',
327
327
  'markdownDescription': ( localize(
328
- 7066,
328
+ 7200,
329
329
  "Marks files as read-only when their file permissions indicate as such. This can be overridden via `#files.readonlyInclude#` and `#files.readonlyExclude#` settings."
330
330
  )),
331
331
  'default': false
332
332
  },
333
333
  'files.restoreUndoStack': {
334
334
  'type': 'boolean',
335
- 'description': ( localize(7067, "Restore the undo stack when a file is reopened.")),
335
+ 'description': ( localize(7201, "Restore the undo stack when a file is reopened.")),
336
336
  'default': true
337
337
  },
338
338
  'files.saveConflictResolution': {
@@ -343,16 +343,16 @@ configurationRegistry.registerConfiguration({
343
343
  ],
344
344
  'enumDescriptions': [
345
345
  ( localize(
346
- 7068,
346
+ 7202,
347
347
  "Will refuse to save and ask for resolving the save conflict manually."
348
348
  )),
349
349
  ( localize(
350
- 7069,
350
+ 7203,
351
351
  "Will resolve the save conflict by overwriting the file on disk with the changes in the editor."
352
352
  ))
353
353
  ],
354
354
  'description': ( localize(
355
- 7070,
355
+ 7204,
356
356
  "A save conflict can occur when a file is saved to disk that was changed by another program in the meantime. To prevent data loss, the user is asked to compare the changes in the editor with the version on disk. This setting should only be changed if you frequently encounter save conflict errors and may result in data loss if used without caution."
357
357
  )),
358
358
  'default': 'askUser',
@@ -362,11 +362,11 @@ configurationRegistry.registerConfiguration({
362
362
  'type': 'string',
363
363
  'pattern': '^((\\/|\\\\\\\\|[a-zA-Z]:\\\\).*)?$',
364
364
  'patternErrorMessage': ( localize(
365
- 7071,
365
+ 7205,
366
366
  "Default path for file dialogs must be an absolute path (e.g. C:\\\\myFolder or /myFolder)."
367
367
  )),
368
368
  'description': ( localize(
369
- 7072,
369
+ 7206,
370
370
  "Default path for file dialogs, overriding user's home path. Only used in the absence of a context-specific path, such as most recently opened file or folder."
371
371
  )),
372
372
  'scope': ConfigurationScope.MACHINE
@@ -374,7 +374,7 @@ configurationRegistry.registerConfiguration({
374
374
  'files.simpleDialog.enable': {
375
375
  'type': 'boolean',
376
376
  'description': ( localize(
377
- 7073,
377
+ 7207,
378
378
  "Enables the simple file dialog for opening and saving files and folders. The simple file dialog replaces the system file dialog when enabled."
379
379
  )),
380
380
  'default': false
@@ -383,7 +383,7 @@ configurationRegistry.registerConfiguration({
383
383
  type: 'number',
384
384
  default: 60000,
385
385
  markdownDescription: ( localize(
386
- 7074,
386
+ 7208,
387
387
  "Timeout in milliseconds after which file participants for create, rename, and delete are cancelled. Use `0` to disable participants."
388
388
  )),
389
389
  }
@@ -395,7 +395,7 @@ configurationRegistry.registerConfiguration({
395
395
  'editor.formatOnSave': {
396
396
  'type': 'boolean',
397
397
  'markdownDescription': ( localize(
398
- 7075,
398
+ 7209,
399
399
  "Format a file on save. A formatter must be available and the editor must not be shutting down. When {0} is set to `afterDelay`, the file will only be formatted when saved explicitly.",
400
400
  '`#files.autoSave#`'
401
401
  )),
@@ -410,15 +410,15 @@ configurationRegistry.registerConfiguration({
410
410
  'modificationsIfAvailable'
411
411
  ],
412
412
  'enumDescriptions': [
413
- ( localize(7076, "Format the whole file.")),
414
- ( localize(7077, "Format modifications (requires source control).")),
413
+ ( localize(7210, "Format the whole file.")),
414
+ ( localize(7211, "Format modifications (requires source control).")),
415
415
  ( localize(
416
- 7078,
416
+ 7212,
417
417
  "Will attempt to format modifications only (requires source control). If source control can't be used, then the whole file will be formatted."
418
418
  )),
419
419
  ],
420
420
  'markdownDescription': ( localize(
421
- 7079,
421
+ 7213,
422
422
  "Controls if format on save formats the whole file or only modifications. Only applies when `#editor.formatOnSave#` is enabled."
423
423
  )),
424
424
  'scope': ConfigurationScope.LANGUAGE_OVERRIDABLE,