@codingame/monaco-vscode-api 21.3.2 → 21.3.3

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 (44) hide show
  1. package/missing-services.js +1 -4
  2. package/package.json +8 -8
  3. package/services.js +4 -3
  4. package/vscode/src/vs/base/browser/domStylesheets.js +1 -8
  5. package/vscode/src/vs/platform/product/common/product.js +1 -1
  6. package/vscode/src/vs/workbench/common/editor.js +5 -1
  7. package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/commands.d.ts +9 -0
  8. package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/commands.js +41 -0
  9. package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/configurationSchema.d.ts +17 -0
  10. package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/configurationSchema.js +153 -0
  11. package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/dropOrPasteInto.contribution.d.ts +1 -0
  12. package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/dropOrPasteInto.contribution.js +11 -0
  13. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
  14. package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +4 -4
  15. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
  16. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
  17. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
  18. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
  19. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
  20. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
  21. package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
  22. package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
  23. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +4 -4
  24. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
  25. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
  26. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
  27. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
  28. package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +1 -1
  29. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
  30. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
  31. package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
  32. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
  33. package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +1 -1
  34. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
  35. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
  36. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +87 -87
  37. package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
  38. package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
  39. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
  40. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
  41. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
  42. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
  43. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
  44. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
@@ -19,7 +19,7 @@ registerEditorAction(class FormatModifiedAction extends EditorAction {
19
19
  constructor() {
20
20
  super({
21
21
  id: 'editor.action.formatChanges',
22
- label: ( localize2(7793, "Format Modified Lines")),
22
+ label: ( localize2(7799, "Format Modified Lines")),
23
23
  precondition: ( ContextKeyExpr.and(
24
24
  EditorContextKeys.writable,
25
25
  EditorContextKeys.hasDocumentSelectionFormattingProvider
@@ -24,7 +24,7 @@ let InlayHintsAccessibility = class InlayHintsAccessibility {
24
24
  static { this.IsReading = ( new RawContextKey(
25
25
  'isReadingLineWithInlayHints',
26
26
  false,
27
- { type: 'boolean', description: ( localize(7794, "Whether the current line and its inlay hints are currently focused")) }
27
+ { type: 'boolean', description: ( localize(7800, "Whether the current line and its inlay hints are currently focused")) }
28
28
  )); }
29
29
  static { this.ID = 'editor.contrib.InlayHintsAccessibility'; }
30
30
  static get(editor) {
@@ -39,7 +39,7 @@ let InlayHintsAccessibility = class InlayHintsAccessibility {
39
39
  this._ariaElement.style.position = 'fixed';
40
40
  this._ariaElement.className = 'inlayhint-accessibility-element';
41
41
  this._ariaElement.tabIndex = 0;
42
- this._ariaElement.setAttribute('aria-description', ( localize(7795, "Code with Inlay Hint Information")));
42
+ this._ariaElement.setAttribute('aria-description', ( localize(7801, "Code with Inlay Hint Information")));
43
43
  this._ctxIsReading = InlayHintsAccessibility_1.IsReading.bindTo(contextKeyService);
44
44
  }
45
45
  dispose() {
@@ -139,7 +139,7 @@ registerAction2(class StartReadHints extends EditorAction2 {
139
139
  constructor() {
140
140
  super({
141
141
  id: 'inlayHints.startReadingLineWithHint',
142
- title: ( localize2(7796, "Read Line with Inlay Hints")),
142
+ title: ( localize2(7802, "Read Line with Inlay Hints")),
143
143
  precondition: EditorContextKeys.hasInlayHintsProvider,
144
144
  f1: true
145
145
  });
@@ -153,7 +153,7 @@ registerAction2(class StopReadHints extends EditorAction2 {
153
153
  constructor() {
154
154
  super({
155
155
  id: 'inlayHints.stopReadingLineWithHint',
156
- title: ( localize2(7797, "Stop Inlay Hints Reading")),
156
+ title: ( localize2(7803, "Stop Inlay Hints Reading")),
157
157
  precondition: InlayHintsAccessibility.IsReading,
158
158
  f1: true,
159
159
  keybinding: {
@@ -11,8 +11,8 @@ class ListResizeColumnAction extends Action2 {
11
11
  constructor() {
12
12
  super({
13
13
  id: 'list.resizeColumn',
14
- title: { value: ( localize(8017, "Resize Column")), original: 'Resize Column' },
15
- category: { value: ( localize(8018, "List")), original: 'List' },
14
+ title: { value: ( localize(8023, "Resize Column")), original: 'Resize Column' },
15
+ category: { value: ( localize(8024, "List")), original: 'List' },
16
16
  precondition: WorkbenchListFocusContextKey,
17
17
  f1: true
18
18
  });
@@ -17,14 +17,14 @@ let TableColumnResizeQuickPick = class TableColumnResizeQuickPick extends Dispos
17
17
  items.push({ label, index });
18
18
  }
19
19
  });
20
- const column = await this._quickInputService.pick(items, { placeHolder: ( localize(8019, "Select the column to resize, type to filter.")) });
20
+ const column = await this._quickInputService.pick(items, { placeHolder: ( localize(8025, "Select the column to resize, type to filter.")) });
21
21
  if (!column) {
22
22
  return;
23
23
  }
24
24
  const value = await this._quickInputService.input({
25
- placeHolder: ( localize(8020, "i.e. 20, 60, 100...")),
25
+ placeHolder: ( localize(8026, "i.e. 20, 60, 100...")),
26
26
  prompt: ( localize(
27
- 8021,
27
+ 8027,
28
28
  "Please enter a width in percentage for the '{0}' column.",
29
29
  column.label
30
30
  )),
@@ -39,11 +39,11 @@ let TableColumnResizeQuickPick = class TableColumnResizeQuickPick extends Dispos
39
39
  async _validateColumnResizeValue(input) {
40
40
  const percentage = Number.parseInt(input);
41
41
  if (input && !Number.isInteger(percentage)) {
42
- return localize(8022, "Please enter an integer.");
42
+ return localize(8028, "Please enter an integer.");
43
43
  }
44
44
  else if (percentage < 0 || percentage > 100) {
45
45
  return localize(
46
- 8023,
46
+ 8029,
47
47
  "Please enter a number greater than 0 and less than or equal to 100."
48
48
  );
49
49
  }
@@ -159,13 +159,13 @@ var McpConnectionState;
159
159
  McpConnectionState.toString = (s) => {
160
160
  switch (s.state) {
161
161
  case Kind.Stopped:
162
- return localize(8531, 'Stopped');
162
+ return localize(8537, 'Stopped');
163
163
  case Kind.Starting:
164
- return localize(8532, 'Starting');
164
+ return localize(8538, 'Starting');
165
165
  case Kind.Running:
166
- return localize(8533, 'Running');
166
+ return localize(8539, 'Running');
167
167
  case Kind.Error:
168
- return localize(8534, 'Error {0}', s.message);
168
+ return localize(8540, 'Error {0}', s.message);
169
169
  default:
170
170
  assertNever();
171
171
  }
@@ -27,7 +27,7 @@ class SnippetCompletion {
27
27
  constructor(snippet, range) {
28
28
  this.snippet = snippet;
29
29
  this.label = { label: snippet.prefix, description: snippet.name };
30
- this.detail = ( localize(10432, "{0} ({1})", snippet.description || snippet.name, snippet.source));
30
+ this.detail = ( localize(10445, "{0} ({1})", snippet.description || snippet.name, snippet.source));
31
31
  this.insertText = snippet.codeSnippet;
32
32
  this.extensionId = snippet.extensionId;
33
33
  this.range = range;
@@ -121,14 +121,14 @@ let SnippetCompletionProvider = class SnippetCompletionProvider {
121
121
  let to = i + 1;
122
122
  for (; to < suggestions.length && item.label === suggestions[to].label; to++) {
123
123
  suggestions[to].label.label = ( localize(
124
- 10433,
124
+ 10446,
125
125
  "{0}, {1}",
126
126
  suggestions[to].label.label,
127
127
  suggestions[to].snippet.name
128
128
  ));
129
129
  }
130
130
  if (to > i + 1) {
131
- suggestions[i].label.label = ( localize(10433, "{0}, {1}", suggestions[i].label.label, suggestions[i].snippet.name));
131
+ suggestions[i].label.label = ( localize(10446, "{0}, {1}", suggestions[i].label.label, suggestions[i].snippet.name));
132
132
  i = to;
133
133
  }
134
134
  }
@@ -207,14 +207,14 @@ class SnippetFile {
207
207
  source = this._extension.displayName || this._extension.name;
208
208
  }
209
209
  else if (this.source === SnippetSource.Workspace) {
210
- source = ( localize(10449, "Workspace Snippet"));
210
+ source = ( localize(10462, "Workspace Snippet"));
211
211
  }
212
212
  else {
213
213
  if (this.isGlobalSnippets) {
214
- source = ( localize(10450, "Global User Snippet"));
214
+ source = ( localize(10463, "Global User Snippet"));
215
215
  }
216
216
  else {
217
- source = ( localize(10451, "User Snippet"));
217
+ source = ( localize(10464, "User Snippet"));
218
218
  }
219
219
  }
220
220
  for (const _prefix of Iterable.wrap(prefix)) {
@@ -34,7 +34,7 @@ var snippetExt;
34
34
  function toValidSnippet(extension, snippet, languageService) {
35
35
  if (isFalsyOrWhitespace(snippet.path)) {
36
36
  extension.collector.error(( localize(
37
- 10452,
37
+ 10465,
38
38
  "Expected string in `contributes.{0}.path`. Provided value: {1}",
39
39
  extension.description.name,
40
40
  String(snippet.path)
@@ -43,7 +43,7 @@ var snippetExt;
43
43
  }
44
44
  if (isFalsyOrWhitespace(snippet.language) && !snippet.path.endsWith('.code-snippets')) {
45
45
  extension.collector.error(( localize(
46
- 10453,
46
+ 10466,
47
47
  "When omitting the language, the value of `contributes.{0}.path` must be a `.code-snippets`-file. Provided value: {1}",
48
48
  extension.description.name,
49
49
  String(snippet.path)
@@ -52,7 +52,7 @@ var snippetExt;
52
52
  }
53
53
  if (!isFalsyOrWhitespace(snippet.language) && !languageService.isRegisteredLanguageId(snippet.language)) {
54
54
  extension.collector.error(( localize(
55
- 10454,
55
+ 10467,
56
56
  "Unknown language in `contributes.{0}.language`. Provided value: {1}",
57
57
  extension.description.name,
58
58
  String(snippet.language)
@@ -63,7 +63,7 @@ var snippetExt;
63
63
  const snippetLocation = joinPath(extensionLocation, snippet.path);
64
64
  if (!isEqualOrParent(snippetLocation, extensionLocation)) {
65
65
  extension.collector.error(( localize(
66
- 10455,
66
+ 10468,
67
67
  "Expected `contributes.{0}.path` ({1}) to be included inside extension's folder ({2}). This might make the extension non-portable.",
68
68
  extension.description.name,
69
69
  snippetLocation.path,
@@ -78,7 +78,7 @@ var snippetExt;
78
78
  }
79
79
  snippetExt.toValidSnippet = toValidSnippet;
80
80
  snippetExt.snippetsContribution = {
81
- description: ( localize(10456, 'Contributes snippets.')),
81
+ description: ( localize(10469, 'Contributes snippets.')),
82
82
  type: 'array',
83
83
  defaultSnippets: [{ body: [{ language: '', path: '' }] }],
84
84
  items: {
@@ -86,12 +86,12 @@ var snippetExt;
86
86
  defaultSnippets: [{ body: { language: '${1:id}', path: './snippets/${2:id}.json.' } }],
87
87
  properties: {
88
88
  language: {
89
- description: ( localize(10457, 'Language identifier for which this snippet is contributed to.')),
89
+ description: ( localize(10470, 'Language identifier for which this snippet is contributed to.')),
90
90
  type: 'string'
91
91
  },
92
92
  path: {
93
93
  description: ( localize(
94
- 10458,
94
+ 10471,
95
95
  'Path of the snippets file. The path is relative to the extension folder and typically starts with \'./snippets/\'.'
96
96
  )),
97
97
  type: 'string'
@@ -336,14 +336,14 @@ let SnippetsService = class SnippetsService {
336
336
  file.load().then(file => {
337
337
  if (( file.data.some(snippet => snippet.isBogous))) {
338
338
  extension.collector.warn(( localize(
339
- 10459,
339
+ 10472,
340
340
  "One or more snippets from the extension '{0}' very likely confuse snippet-variables and snippet-placeholders (see https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details)",
341
341
  extension.description.name
342
342
  )));
343
343
  }
344
344
  }, err => {
345
345
  extension.collector.warn(( localize(
346
- 10460,
346
+ 10473,
347
347
  "The snippet file \"{0}\" could not be read.",
348
348
  (file.location.toString())
349
349
  )));
@@ -3,16 +3,16 @@ import { localize } from '../../../../nls.js';
3
3
  import { RawContextKey } from '../../../../platform/contextkey/common/contextkey.js';
4
4
  import { language } from '../../../../base/common/platform.js';
5
5
 
6
- const HasSpeechProvider = ( new RawContextKey('hasSpeechProvider', false, { type: 'boolean', description: ( localize(10464, "A speech provider is registered to the speech service.")) }));
6
+ const HasSpeechProvider = ( new RawContextKey('hasSpeechProvider', false, { type: 'boolean', description: ( localize(10477, "A speech provider is registered to the speech service.")) }));
7
7
  const SpeechToTextInProgress = ( new RawContextKey(
8
8
  'speechToTextInProgress',
9
9
  false,
10
- { type: 'boolean', description: ( localize(10465, "A speech-to-text session is in progress.")) }
10
+ { type: 'boolean', description: ( localize(10478, "A speech-to-text session is in progress.")) }
11
11
  ));
12
12
  const TextToSpeechInProgress = ( new RawContextKey(
13
13
  'textToSpeechInProgress',
14
14
  false,
15
- { type: 'boolean', description: ( localize(10466, "A text-to-speech session is in progress.")) }
15
+ { type: 'boolean', description: ( localize(10479, "A text-to-speech session is in progress.")) }
16
16
  ));
17
17
  var SpeechToTextStatus;
18
18
  (function (SpeechToTextStatus) {
@@ -44,82 +44,82 @@ var AccessibilityVoiceSettingId;
44
44
  const SPEECH_LANGUAGE_CONFIG = AccessibilityVoiceSettingId.SpeechLanguage;
45
45
  const SPEECH_LANGUAGES = {
46
46
  ['da-DK']: {
47
- name: ( localize(10467, "Danish (Denmark)"))
47
+ name: ( localize(10480, "Danish (Denmark)"))
48
48
  },
49
49
  ['de-DE']: {
50
- name: ( localize(10468, "German (Germany)"))
50
+ name: ( localize(10481, "German (Germany)"))
51
51
  },
52
52
  ['en-AU']: {
53
- name: ( localize(10469, "English (Australia)"))
53
+ name: ( localize(10482, "English (Australia)"))
54
54
  },
55
55
  ['en-CA']: {
56
- name: ( localize(10470, "English (Canada)"))
56
+ name: ( localize(10483, "English (Canada)"))
57
57
  },
58
58
  ['en-GB']: {
59
- name: ( localize(10471, "English (United Kingdom)"))
59
+ name: ( localize(10484, "English (United Kingdom)"))
60
60
  },
61
61
  ['en-IE']: {
62
- name: ( localize(10472, "English (Ireland)"))
62
+ name: ( localize(10485, "English (Ireland)"))
63
63
  },
64
64
  ['en-IN']: {
65
- name: ( localize(10473, "English (India)"))
65
+ name: ( localize(10486, "English (India)"))
66
66
  },
67
67
  ['en-NZ']: {
68
- name: ( localize(10474, "English (New Zealand)"))
68
+ name: ( localize(10487, "English (New Zealand)"))
69
69
  },
70
70
  ['en-US']: {
71
- name: ( localize(10475, "English (United States)"))
71
+ name: ( localize(10488, "English (United States)"))
72
72
  },
73
73
  ['es-ES']: {
74
- name: ( localize(10476, "Spanish (Spain)"))
74
+ name: ( localize(10489, "Spanish (Spain)"))
75
75
  },
76
76
  ['es-MX']: {
77
- name: ( localize(10477, "Spanish (Mexico)"))
77
+ name: ( localize(10490, "Spanish (Mexico)"))
78
78
  },
79
79
  ['fr-CA']: {
80
- name: ( localize(10478, "French (Canada)"))
80
+ name: ( localize(10491, "French (Canada)"))
81
81
  },
82
82
  ['fr-FR']: {
83
- name: ( localize(10479, "French (France)"))
83
+ name: ( localize(10492, "French (France)"))
84
84
  },
85
85
  ['hi-IN']: {
86
- name: ( localize(10480, "Hindi (India)"))
86
+ name: ( localize(10493, "Hindi (India)"))
87
87
  },
88
88
  ['it-IT']: {
89
- name: ( localize(10481, "Italian (Italy)"))
89
+ name: ( localize(10494, "Italian (Italy)"))
90
90
  },
91
91
  ['ja-JP']: {
92
- name: ( localize(10482, "Japanese (Japan)"))
92
+ name: ( localize(10495, "Japanese (Japan)"))
93
93
  },
94
94
  ['ko-KR']: {
95
- name: ( localize(10483, "Korean (South Korea)"))
95
+ name: ( localize(10496, "Korean (South Korea)"))
96
96
  },
97
97
  ['nl-NL']: {
98
- name: ( localize(10484, "Dutch (Netherlands)"))
98
+ name: ( localize(10497, "Dutch (Netherlands)"))
99
99
  },
100
100
  ['pt-PT']: {
101
- name: ( localize(10485, "Portuguese (Portugal)"))
101
+ name: ( localize(10498, "Portuguese (Portugal)"))
102
102
  },
103
103
  ['pt-BR']: {
104
- name: ( localize(10486, "Portuguese (Brazil)"))
104
+ name: ( localize(10499, "Portuguese (Brazil)"))
105
105
  },
106
106
  ['ru-RU']: {
107
- name: ( localize(10487, "Russian (Russia)"))
107
+ name: ( localize(10500, "Russian (Russia)"))
108
108
  },
109
109
  ['sv-SE']: {
110
- name: ( localize(10488, "Swedish (Sweden)"))
110
+ name: ( localize(10501, "Swedish (Sweden)"))
111
111
  },
112
112
  ['tr-TR']: {
113
- name: ( localize(10489, "Turkish (Türkiye)"))
113
+ name: ( localize(10502, "Turkish (Türkiye)"))
114
114
  },
115
115
  ['zh-CN']: {
116
- name: ( localize(10490, "Chinese (Simplified, China)"))
116
+ name: ( localize(10503, "Chinese (Simplified, China)"))
117
117
  },
118
118
  ['zh-HK']: {
119
- name: ( localize(10491, "Chinese (Traditional, Hong Kong)"))
119
+ name: ( localize(10504, "Chinese (Traditional, Hong Kong)"))
120
120
  },
121
121
  ['zh-TW']: {
122
- name: ( localize(10492, "Chinese (Traditional, Taiwan)"))
122
+ name: ( localize(10505, "Chinese (Traditional, Taiwan)"))
123
123
  }
124
124
  };
125
125
  function speechLanguageConfigToLanguage(config, lang = language) {
@@ -3,7 +3,7 @@ import { Codicon } from '../../../../base/common/codicons.js';
3
3
  import { localize } from '../../../../nls.js';
4
4
  import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js';
5
5
 
6
- const rerunTaskIcon = registerIcon('rerun-task', Codicon.refresh, ( localize(10695, 'View icon of the rerun task.')));
6
+ const rerunTaskIcon = registerIcon('rerun-task', Codicon.refresh, ( localize(10708, 'View icon of the rerun task.')));
7
7
  const RerunForActiveTerminalCommandId = 'workbench.action.tasks.rerunForActiveTerminal';
8
8
  const RerunAllRunningTasksCommandId = 'workbench.action.tasks.rerunAllRunningTasks';
9
9
 
@@ -13,7 +13,7 @@ const taskDefinitionSchema = {
13
13
  type: {
14
14
  type: 'string',
15
15
  description: ( localize(
16
- 10902,
16
+ 10915,
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(10903, 'Additional properties of the task type')),
28
+ description: ( localize(10916, '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
- 10904,
36
+ 10917,
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
- 10905,
52
+ 10918,
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(10906, 'Contributes task kinds')),
84
+ description: ( localize(10919, 'Contributes task kinds')),
85
85
  type: 'array',
86
86
  items: taskDefinitionSchema
87
87
  }
@@ -9,9 +9,9 @@ import { ConfigurationTarget } from '../../../../platform/configuration/common/c
9
9
  export { RerunAllRunningTasksCommandId, RerunForActiveTerminalCommandId, rerunTaskIcon } from './constants.js';
10
10
 
11
11
  const USER_TASKS_GROUP_KEY = 'settings';
12
- const TASK_RUNNING_STATE = ( new RawContextKey('taskRunning', false, ( localize(10917, "Whether a task is currently running."))));
13
- const TASK_TERMINAL_ACTIVE = ( new RawContextKey('taskTerminalActive', false, ( localize(10918, "Whether the active terminal is a task terminal."))));
14
- const TASKS_CATEGORY = ( localize2(10919, "Tasks"));
12
+ const TASK_RUNNING_STATE = ( new RawContextKey('taskRunning', false, ( localize(10930, "Whether a task is currently running."))));
13
+ const TASK_TERMINAL_ACTIVE = ( new RawContextKey('taskTerminalActive', false, ( localize(10931, "Whether the active terminal is a task terminal."))));
14
+ const TASKS_CATEGORY = ( localize2(10932, "Tasks"));
15
15
  var ShellQuoting;
16
16
  (function (ShellQuoting) {
17
17
  ShellQuoting[ShellQuoting["Escape"] = 1] = "Escape";
@@ -782,7 +782,7 @@ var TaskDefinition;
782
782
  break;
783
783
  default:
784
784
  reporter.error(( localize(
785
- 10920,
785
+ 10933,
786
786
  'Error: the task identifier \'{0}\' is missing the required property \'{1}\'. The task identifier will be ignored.',
787
787
  JSON.stringify(external, undefined, 0),
788
788
  property
@@ -27,19 +27,19 @@ var TestExplorerViewSorting;
27
27
  TestExplorerViewSorting["ByDuration"] = "duration";
28
28
  })(TestExplorerViewSorting || (TestExplorerViewSorting = {}));
29
29
  const testStateNames = {
30
- [TestResultState.Errored]: ( localize(12052, 'Errored')),
31
- [TestResultState.Failed]: ( localize(12053, 'Failed')),
32
- [TestResultState.Passed]: ( localize(12054, 'Passed')),
33
- [TestResultState.Queued]: ( localize(12055, 'Queued')),
34
- [TestResultState.Running]: ( localize(12056, 'Running')),
35
- [TestResultState.Skipped]: ( localize(12057, 'Skipped')),
36
- [TestResultState.Unset]: ( localize(12058, 'Not yet run')),
30
+ [TestResultState.Errored]: ( localize(12065, 'Errored')),
31
+ [TestResultState.Failed]: ( localize(12066, 'Failed')),
32
+ [TestResultState.Passed]: ( localize(12067, 'Passed')),
33
+ [TestResultState.Queued]: ( localize(12068, 'Queued')),
34
+ [TestResultState.Running]: ( localize(12069, 'Running')),
35
+ [TestResultState.Skipped]: ( localize(12070, 'Skipped')),
36
+ [TestResultState.Unset]: ( localize(12071, 'Not yet run')),
37
37
  };
38
- const labelForTestInState = (label, state) => ( localize(12059, '{0} ({1})', stripIcons(label), testStateNames[state]));
38
+ const labelForTestInState = (label, state) => ( localize(12072, '{0} ({1})', stripIcons(label), testStateNames[state]));
39
39
  const testConfigurationGroupNames = {
40
- [TestRunProfileBitset.Debug]: ( localize(12060, 'Debug')),
41
- [TestRunProfileBitset.Run]: ( localize(12061, 'Run')),
42
- [TestRunProfileBitset.Coverage]: ( localize(12062, 'Coverage')),
40
+ [TestRunProfileBitset.Debug]: ( localize(12073, 'Debug')),
41
+ [TestRunProfileBitset.Run]: ( localize(12074, 'Run')),
42
+ [TestRunProfileBitset.Coverage]: ( localize(12075, '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(12067, 'Run')),
50
- [TestRunProfileBitset.Debug]: ( localize(12068, 'Debug')),
51
- [TestRunProfileBitset.Coverage]: ( localize(12069, 'Coverage')),
49
+ [TestRunProfileBitset.Run]: ( localize(12080, 'Run')),
50
+ [TestRunProfileBitset.Debug]: ( localize(12081, 'Debug')),
51
+ [TestRunProfileBitset.Coverage]: ( localize(12082, 'Coverage')),
52
52
  };
53
53
  const testRunProfileBitsetList = [
54
54
  TestRunProfileBitset.Run,
@@ -197,7 +197,7 @@ class NullDefaultAccountService extends Disposable {
197
197
  constructor() {
198
198
  super({
199
199
  id: DEFAULT_ACCOUNT_SIGN_IN_COMMAND,
200
- title: ( localize(12920, "Sign in to {0}", authProviderLabel)),
200
+ title: ( localize(12933, "Sign in to {0}", authProviderLabel)),
201
201
  });
202
202
  }
203
203
  run() {
@@ -81,7 +81,7 @@ class AbstractVariableResolverService {
81
81
  return normalizeDriveLetter(filePath);
82
82
  }
83
83
  throw ( new VariableError(variableKind, ( localize(
84
- 13144,
84
+ 13157,
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
- 13145,
98
+ 13158,
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
- 13146,
111
+ 13159,
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
- 13147,
122
+ 13160,
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
- 13148,
128
+ 13161,
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
- 13149,
145
+ 13162,
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
- 13150,
154
+ 13163,
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
- 13151,
162
+ 13164,
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
- 13152,
171
+ 13165,
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
- 13153,
184
+ 13166,
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
- 13154,
193
+ 13167,
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
- 13155,
221
+ 13168,
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
- 13156,
231
+ 13169,
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
- 13157,
242
+ 13170,
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
- 13158,
253
+ 13171,
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
- 13159,
325
+ 13172,
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
- 13212,
19
+ 13225,
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: {