@codingame/monaco-vscode-api 22.1.5 → 22.1.7

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 (29) hide show
  1. package/missing-services.js +19 -29
  2. package/package.json +8 -8
  3. package/services.js +3 -3
  4. package/vscode/src/vs/platform/product/common/product.js +1 -1
  5. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.service.d.ts +9 -0
  6. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.service.js +6 -0
  7. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
  8. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
  9. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
  10. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
  11. package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +1 -1
  12. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
  13. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
  14. package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
  15. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
  16. package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +1 -1
  17. package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +9 -9
  18. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
  19. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
  20. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +87 -87
  21. package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
  22. package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
  23. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
  24. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
  25. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
  26. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
  27. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
  28. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
  29. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/OutlineEntry.d.ts +0 -37
@@ -610,7 +610,7 @@ let ChatEntitlementRequests = ChatEntitlementRequests_1 = class ChatEntitlementR
610
610
  };
611
611
  const response = await this.request(defaultChat.entitlementSignupLimitedUrl, 'POST', body, sessions, CancellationToken.None);
612
612
  if (!response) {
613
- const retry = await this.onUnknownSignUpError(( localize(13212, "No response received.")), '[chat entitlement] sign-up: no response');
613
+ const retry = await this.onUnknownSignUpError(( localize(13213, "No response received.")), '[chat entitlement] sign-up: no response');
614
614
  return retry ? this.signUpFree(sessions) : { errorCode: 1 };
615
615
  }
616
616
  if (response.res.statusCode && response.res.statusCode !== 200) {
@@ -628,7 +628,7 @@ let ChatEntitlementRequests = ChatEntitlementRequests_1 = class ChatEntitlementR
628
628
  catch (error) {
629
629
  }
630
630
  }
631
- const retry = await this.onUnknownSignUpError(( localize(13213, "Unexpected status code {0}.", response.res.statusCode)), `[chat entitlement] sign-up: unexpected status code ${response.res.statusCode}`);
631
+ const retry = await this.onUnknownSignUpError(( localize(13214, "Unexpected status code {0}.", response.res.statusCode)), `[chat entitlement] sign-up: unexpected status code ${response.res.statusCode}`);
632
632
  return retry ? this.signUpFree(sessions) : { errorCode: response.res.statusCode };
633
633
  }
634
634
  let responseText = null;
@@ -638,7 +638,7 @@ let ChatEntitlementRequests = ChatEntitlementRequests_1 = class ChatEntitlementR
638
638
  catch (error) {
639
639
  }
640
640
  if (!responseText) {
641
- const retry = await this.onUnknownSignUpError(( localize(13214, "Response has no contents.")), '[chat entitlement] sign-up: response has no content');
641
+ const retry = await this.onUnknownSignUpError(( localize(13215, "Response has no contents.")), '[chat entitlement] sign-up: response has no content');
642
642
  return retry ? this.signUpFree(sessions) : { errorCode: 2 };
643
643
  }
644
644
  let parsedResult = undefined;
@@ -647,7 +647,7 @@ let ChatEntitlementRequests = ChatEntitlementRequests_1 = class ChatEntitlementR
647
647
  this.logService.trace(`[chat entitlement] sign-up: response is ${responseText}`);
648
648
  }
649
649
  catch (err) {
650
- const retry = await this.onUnknownSignUpError(( localize(13215, "Invalid response contents.")), `[chat entitlement] sign-up: error parsing response (${err})`);
650
+ const retry = await this.onUnknownSignUpError(( localize(13216, "Invalid response contents.")), `[chat entitlement] sign-up: error parsing response (${err})`);
651
651
  return retry ? this.signUpFree(sessions) : { errorCode: 3 };
652
652
  }
653
653
  this.update({ entitlement: ChatEntitlement.Free });
@@ -659,11 +659,11 @@ let ChatEntitlementRequests = ChatEntitlementRequests_1 = class ChatEntitlementR
659
659
  const { confirmed } = await this.dialogService.confirm({
660
660
  type: Severity$1.Error,
661
661
  message: ( localize(
662
- 13216,
662
+ 13217,
663
663
  "An error occurred while signing up for the GitHub Copilot Free plan. Would you like to try again?"
664
664
  )),
665
665
  detail,
666
- primaryButton: ( localize(13217, "Retry"))
666
+ primaryButton: ( localize(13218, "Retry"))
667
667
  });
668
668
  return confirmed;
669
669
  }
@@ -675,17 +675,17 @@ let ChatEntitlementRequests = ChatEntitlementRequests_1 = class ChatEntitlementR
675
675
  this.dialogService.prompt({
676
676
  type: Severity$1.Error,
677
677
  message: ( localize(
678
- 13218,
678
+ 13219,
679
679
  "An error occurred while signing up for the GitHub Copilot Free plan."
680
680
  )),
681
681
  detail: logDetails,
682
682
  buttons: [
683
683
  {
684
- label: ( localize(13219, "OK")),
684
+ label: ( localize(13220, "OK")),
685
685
  run: () => { }
686
686
  },
687
687
  {
688
- label: ( localize(13220, "Learn More")),
688
+ label: ( localize(13221, "Learn More")),
689
689
  run: () => this.openerService.open(( URI.parse(defaultChat.upgradePlanUrl)))
690
690
  }
691
691
  ]
@@ -81,7 +81,7 @@ class AbstractVariableResolverService {
81
81
  return normalizeDriveLetter(filePath);
82
82
  }
83
83
  throw ( new VariableError(variableKind, ( localize(
84
- 13288,
84
+ 13289,
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
- 13289,
98
+ 13290,
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
- 13290,
111
+ 13291,
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
- 13291,
122
+ 13292,
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
- 13292,
128
+ 13293,
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
- 13293,
145
+ 13294,
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
- 13294,
154
+ 13295,
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
- 13295,
162
+ 13296,
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
- 13296,
171
+ 13297,
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
- 13297,
184
+ 13298,
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
- 13298,
193
+ 13299,
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
- 13299,
221
+ 13300,
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
- 13300,
231
+ 13301,
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
- 13301,
242
+ 13302,
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
- 13302,
253
+ 13303,
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
- 13303,
325
+ 13304,
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
- 13356,
19
+ 13357,
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: {