@codingame/monaco-vscode-api 18.1.3 → 18.2.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.
Files changed (33) hide show
  1. package/extensions.js +5 -1
  2. package/l10n.d.ts +4 -2
  3. package/l10n.js +8 -3
  4. package/package.json +8 -8
  5. package/services.d.ts +206 -0
  6. package/services.js +209 -5
  7. package/vscode/src/vs/editor/browser/controller/editContext/screenReaderUtils.js +1 -1
  8. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCollapsedView.js +1 -1
  9. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.js +1 -1
  10. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsSideBySideView.js +1 -1
  11. package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +1 -1
  12. package/vscode/src/vs/platform/product/common/product.js +1 -1
  13. package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +1 -1
  14. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
  15. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
  16. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
  17. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
  18. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
  19. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
  20. package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
  21. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
  22. package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +1 -1
  23. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
  24. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
  25. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +84 -84
  26. package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
  27. package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
  28. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
  29. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
  30. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
  31. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
  32. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
  33. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +12 -12
@@ -13,7 +13,7 @@ const taskDefinitionSchema = {
13
13
  type: {
14
14
  type: 'string',
15
15
  description: ( localize(
16
- 10320,
16
+ 10336,
17
17
  'The actual task type. Please note that types starting with a \'$\' are reserved for internal usage.'
18
18
  ))
19
19
  },
@@ -25,7 +25,7 @@ const taskDefinitionSchema = {
25
25
  },
26
26
  properties: {
27
27
  type: 'object',
28
- description: ( localize(10321, 'Additional properties of the task type')),
28
+ description: ( localize(10337, 'Additional properties of the task type')),
29
29
  additionalProperties: {
30
30
  $ref: 'http://json-schema.org/draft-07/schema#'
31
31
  }
@@ -33,7 +33,7 @@ const taskDefinitionSchema = {
33
33
  when: {
34
34
  type: 'string',
35
35
  markdownDescription: ( localize(
36
- 10322,
36
+ 10338,
37
37
  'Condition which must be true to enable this type of task. Consider using `shellExecutionSupported`, `processExecutionSupported`, and `customExecutionSupported` as appropriate for this task definition. See the [API documentation](https://code.visualstudio.com/api/extension-guides/task-provider#when-clause) for more information.'
38
38
  )),
39
39
  default: ''
@@ -49,7 +49,7 @@ var Configuration;
49
49
  const taskType = isString(value.type) ? value.type : undefined;
50
50
  if (!taskType || taskType.length === 0) {
51
51
  messageCollector.error(( localize(
52
- 10323,
52
+ 10339,
53
53
  'The task type configuration is missing the required \'taskType\' property'
54
54
  )));
55
55
  return undefined;
@@ -81,7 +81,7 @@ const taskDefinitionsExtPoint = ExtensionsRegistry.registerExtensionPoint({
81
81
  }
82
82
  },
83
83
  jsonSchema: {
84
- description: ( localize(10324, 'Contributes task kinds')),
84
+ description: ( localize(10340, 'Contributes task kinds')),
85
85
  type: 'array',
86
86
  items: taskDefinitionSchema
87
87
  }
@@ -8,9 +8,9 @@ import { TaskDefinitionRegistry } from './taskDefinitionRegistry.js';
8
8
  import { ConfigurationTarget } from '../../../../platform/configuration/common/configuration.js';
9
9
 
10
10
  const USER_TASKS_GROUP_KEY = 'settings';
11
- const TASK_RUNNING_STATE = ( new RawContextKey('taskRunning', false, ( localize(10334, "Whether a task is currently running."))));
12
- const TASK_TERMINAL_ACTIVE = ( new RawContextKey('taskTerminalActive', false, ( localize(10335, "Whether the active terminal is a task terminal."))));
13
- const TASKS_CATEGORY = ( localize2(10336, "Tasks"));
11
+ const TASK_RUNNING_STATE = ( new RawContextKey('taskRunning', false, ( localize(10350, "Whether a task is currently running."))));
12
+ const TASK_TERMINAL_ACTIVE = ( new RawContextKey('taskTerminalActive', false, ( localize(10351, "Whether the active terminal is a task terminal."))));
13
+ const TASKS_CATEGORY = ( localize2(10352, "Tasks"));
14
14
  var ShellQuoting;
15
15
  (function (ShellQuoting) {
16
16
  ShellQuoting[ShellQuoting["Escape"] = 1] = "Escape";
@@ -773,7 +773,7 @@ var TaskDefinition;
773
773
  break;
774
774
  default:
775
775
  reporter.error(( localize(
776
- 10337,
776
+ 10353,
777
777
  'Error: the task identifier \'{0}\' is missing the required property \'{1}\'. The task identifier will be ignored.',
778
778
  JSON.stringify(external, undefined, 0),
779
779
  property
@@ -27,19 +27,19 @@ var TestExplorerViewSorting;
27
27
  TestExplorerViewSorting["ByDuration"] = "duration";
28
28
  })(TestExplorerViewSorting || (TestExplorerViewSorting = {}));
29
29
  const testStateNames = {
30
- [TestResultState.Errored]: ( localize(11310, 'Errored')),
31
- [TestResultState.Failed]: ( localize(11311, 'Failed')),
32
- [TestResultState.Passed]: ( localize(11312, 'Passed')),
33
- [TestResultState.Queued]: ( localize(11313, 'Queued')),
34
- [TestResultState.Running]: ( localize(11314, 'Running')),
35
- [TestResultState.Skipped]: ( localize(11315, 'Skipped')),
36
- [TestResultState.Unset]: ( localize(11316, 'Not yet run')),
30
+ [TestResultState.Errored]: ( localize(11326, 'Errored')),
31
+ [TestResultState.Failed]: ( localize(11327, 'Failed')),
32
+ [TestResultState.Passed]: ( localize(11328, 'Passed')),
33
+ [TestResultState.Queued]: ( localize(11329, 'Queued')),
34
+ [TestResultState.Running]: ( localize(11330, 'Running')),
35
+ [TestResultState.Skipped]: ( localize(11331, 'Skipped')),
36
+ [TestResultState.Unset]: ( localize(11332, 'Not yet run')),
37
37
  };
38
- const labelForTestInState = (label, state) => ( localize(11317, '{0} ({1})', stripIcons(label), testStateNames[state]));
38
+ const labelForTestInState = (label, state) => ( localize(11333, '{0} ({1})', stripIcons(label), testStateNames[state]));
39
39
  const testConfigurationGroupNames = {
40
- [TestRunProfileBitset.Debug]: ( localize(11318, 'Debug')),
41
- [TestRunProfileBitset.Run]: ( localize(11319, 'Run')),
42
- [TestRunProfileBitset.Coverage]: ( localize(11320, 'Coverage')),
40
+ [TestRunProfileBitset.Debug]: ( localize(11334, 'Debug')),
41
+ [TestRunProfileBitset.Run]: ( localize(11335, 'Run')),
42
+ [TestRunProfileBitset.Coverage]: ( localize(11336, 'Coverage')),
43
43
  };
44
44
  var TestCommandId;
45
45
  (function (TestCommandId) {
@@ -46,9 +46,9 @@ var TestRunProfileBitset;
46
46
  TestRunProfileBitset[TestRunProfileBitset["SupportsContinuousRun"] = 64] = "SupportsContinuousRun";
47
47
  })(TestRunProfileBitset || (TestRunProfileBitset = {}));
48
48
  const testProfileBitset = {
49
- [TestRunProfileBitset.Run]: ( localize(11325, 'Run')),
50
- [TestRunProfileBitset.Debug]: ( localize(11326, 'Debug')),
51
- [TestRunProfileBitset.Coverage]: ( localize(11327, 'Coverage')),
49
+ [TestRunProfileBitset.Run]: ( localize(11341, 'Run')),
50
+ [TestRunProfileBitset.Debug]: ( localize(11342, 'Debug')),
51
+ [TestRunProfileBitset.Coverage]: ( localize(11343, 'Coverage')),
52
52
  };
53
53
  const testRunProfileBitsetList = [
54
54
  TestRunProfileBitset.Run,
@@ -164,7 +164,7 @@ class NullDefaultAccountService extends Disposable {
164
164
  constructor() {
165
165
  super({
166
166
  id: 'workbench.accounts.actions.signin',
167
- title: ( localize(12181, "Sign in to {0}", authProviderLabel)),
167
+ title: ( localize(12197, "Sign in to {0}", authProviderLabel)),
168
168
  menu: {
169
169
  id: MenuId.AccountsContext,
170
170
  when: ( ContextKeyExpr.and(( CONTEXT_DEFAULT_ACCOUNT_STATE.isEqualTo(DefaultAccountStatus.Unavailable)), ( ContextKeyExpr.has('config.extensions.gallery.serviceUrl')))),
@@ -81,7 +81,7 @@ class AbstractVariableResolverService {
81
81
  return normalizeDriveLetter(filePath);
82
82
  }
83
83
  throw ( new VariableError(variableKind, ( localize(
84
- 12402,
84
+ 12418,
85
85
  "Variable {0} can not be resolved. Please open an editor.",
86
86
  replacement.id
87
87
  ))));
@@ -95,7 +95,7 @@ class AbstractVariableResolverService {
95
95
  }
96
96
  }
97
97
  throw ( new VariableError(variableKind, ( localize(
98
- 12403,
98
+ 12419,
99
99
  "Variable {0}: can not find workspace folder of '{1}'.",
100
100
  replacement.id,
101
101
  basename(filePath)
@@ -108,7 +108,7 @@ class AbstractVariableResolverService {
108
108
  return folder;
109
109
  }
110
110
  throw ( new VariableError(variableKind, ( localize(
111
- 12404,
111
+ 12420,
112
112
  "Variable {0} can not be resolved. No such folder '{1}'.",
113
113
  variableKind,
114
114
  argument
@@ -119,13 +119,13 @@ class AbstractVariableResolverService {
119
119
  }
120
120
  if (this._context.getWorkspaceFolderCount() > 1) {
121
121
  throw ( new VariableError(variableKind, ( localize(
122
- 12405,
122
+ 12421,
123
123
  "Variable {0} can not be resolved in a multi folder workspace. Scope this variable using ':' and a workspace folder name.",
124
124
  variableKind
125
125
  ))));
126
126
  }
127
127
  throw ( new VariableError(variableKind, ( localize(
128
- 12406,
128
+ 12422,
129
129
  "Variable {0} can not be resolved. Please open a folder.",
130
130
  variableKind
131
131
  ))));
@@ -142,7 +142,7 @@ class AbstractVariableResolverService {
142
142
  return '';
143
143
  }
144
144
  throw ( new VariableError(VariableKind.Env, ( localize(
145
- 12407,
145
+ 12423,
146
146
  "Variable {0} can not be resolved because no environment variable name is given.",
147
147
  replacement.id
148
148
  ))));
@@ -151,7 +151,7 @@ class AbstractVariableResolverService {
151
151
  const config = this._context.getConfigurationValue(folderUri, argument);
152
152
  if (isUndefinedOrNull(config)) {
153
153
  throw ( new VariableError(VariableKind.Config, ( localize(
154
- 12408,
154
+ 12424,
155
155
  "Variable {0} can not be resolved because setting '{1}' not found.",
156
156
  replacement.id,
157
157
  argument
@@ -159,7 +159,7 @@ class AbstractVariableResolverService {
159
159
  }
160
160
  if (isObject(config)) {
161
161
  throw ( new VariableError(VariableKind.Config, ( localize(
162
- 12409,
162
+ 12425,
163
163
  "Variable {0} can not be resolved because '{1}' is a structured value.",
164
164
  replacement.id,
165
165
  argument
@@ -168,7 +168,7 @@ class AbstractVariableResolverService {
168
168
  return config;
169
169
  }
170
170
  throw ( new VariableError(VariableKind.Config, ( localize(
171
- 12410,
171
+ 12426,
172
172
  "Variable {0} can not be resolved because no settings name is given.",
173
173
  replacement.id
174
174
  ))));
@@ -181,7 +181,7 @@ class AbstractVariableResolverService {
181
181
  const ext = await this._context.getExtension(argument);
182
182
  if (!ext) {
183
183
  throw ( new VariableError(VariableKind.ExtensionInstallFolder, ( localize(
184
- 12411,
184
+ 12427,
185
185
  "Variable {0} can not be resolved because the extension {1} is not installed.",
186
186
  replacement.id,
187
187
  argument
@@ -190,7 +190,7 @@ class AbstractVariableResolverService {
190
190
  return this.fsPath(ext.extensionLocation);
191
191
  }
192
192
  throw ( new VariableError(VariableKind.ExtensionInstallFolder, ( localize(
193
- 12412,
193
+ 12428,
194
194
  "Variable {0} can not be resolved because no extension name is given.",
195
195
  replacement.id
196
196
  ))));
@@ -218,7 +218,7 @@ class AbstractVariableResolverService {
218
218
  return environment.userHome;
219
219
  }
220
220
  throw ( new VariableError(VariableKind.UserHome, ( localize(
221
- 12413,
221
+ 12429,
222
222
  "Variable {0} can not be resolved. UserHome path is not defined",
223
223
  replacement.id
224
224
  ))));
@@ -228,7 +228,7 @@ class AbstractVariableResolverService {
228
228
  return lineNumber;
229
229
  }
230
230
  throw ( new VariableError(VariableKind.LineNumber, ( localize(
231
- 12414,
231
+ 12430,
232
232
  "Variable {0} can not be resolved. Make sure to have a line selected in the active editor.",
233
233
  replacement.id
234
234
  ))));
@@ -239,7 +239,7 @@ class AbstractVariableResolverService {
239
239
  return columnNumber;
240
240
  }
241
241
  throw ( new Error(( localize(
242
- 12415,
242
+ 12431,
243
243
  "Variable {0} can not be resolved. Make sure to have a column selected in the active editor.",
244
244
  replacement.id
245
245
  ))));
@@ -250,7 +250,7 @@ class AbstractVariableResolverService {
250
250
  return selectedText;
251
251
  }
252
252
  throw ( new VariableError(VariableKind.SelectedText, ( localize(
253
- 12416,
253
+ 12432,
254
254
  "Variable {0} can not be resolved. Make sure to have some text selected in the active editor.",
255
255
  replacement.id
256
256
  ))));
@@ -322,7 +322,7 @@ class AbstractVariableResolverService {
322
322
  return v;
323
323
  }
324
324
  throw ( new VariableError(variableKind, ( localize(
325
- 12417,
325
+ 12433,
326
326
  "Variable {0} can not be resolved because the command has no value.",
327
327
  match
328
328
  ))));
@@ -16,7 +16,7 @@ const editorAssociationsConfigurationNode = {
16
16
  'workbench.editorAssociations': {
17
17
  type: 'object',
18
18
  markdownDescription: ( localize(
19
- 12470,
19
+ 12486,
20
20
  "Configure [glob patterns](https://aka.ms/vscode-glob-patterns) to editors (for example `\"*.hex\": \"hexEditor.hexedit\"`). These have precedence over the default behavior."
21
21
  )),
22
22
  additionalProperties: {