@codingame/monaco-vscode-api 14.0.3 → 14.0.4
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/missing-services.js +2 -2
- package/package.json +8 -8
- package/services.js +5 -5
- package/vscode/src/vs/base/common/labels.d.ts +5 -1
- package/vscode/src/vs/base/common/labels.js +12 -4
- package/vscode/src/vs/workbench/api/common/extHostVariableResolverService.js +2 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +24 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorActions.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorController.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorOverlay.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatQuotasService.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/screenshot.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +31 -31
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +13 -13
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +11 -11
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +64 -64
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookChatEditContext.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.js +9 -9
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +3 -3
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +83 -83
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +11 -11
|
@@ -27,19 +27,19 @@ var TestExplorerViewSorting;
|
|
|
27
27
|
TestExplorerViewSorting["ByDuration"] = "duration";
|
|
28
28
|
})(TestExplorerViewSorting || (TestExplorerViewSorting = {}));
|
|
29
29
|
const testStateNames = {
|
|
30
|
-
[TestResultState.Errored]: ( localize(
|
|
31
|
-
[TestResultState.Failed]: ( localize(
|
|
32
|
-
[TestResultState.Passed]: ( localize(
|
|
33
|
-
[TestResultState.Queued]: ( localize(
|
|
34
|
-
[TestResultState.Running]: ( localize(
|
|
35
|
-
[TestResultState.Skipped]: ( localize(
|
|
36
|
-
[TestResultState.Unset]: ( localize(
|
|
30
|
+
[TestResultState.Errored]: ( localize(10493, 'Errored')),
|
|
31
|
+
[TestResultState.Failed]: ( localize(10494, 'Failed')),
|
|
32
|
+
[TestResultState.Passed]: ( localize(10495, 'Passed')),
|
|
33
|
+
[TestResultState.Queued]: ( localize(10496, 'Queued')),
|
|
34
|
+
[TestResultState.Running]: ( localize(10497, 'Running')),
|
|
35
|
+
[TestResultState.Skipped]: ( localize(10498, 'Skipped')),
|
|
36
|
+
[TestResultState.Unset]: ( localize(10499, 'Not yet run')),
|
|
37
37
|
};
|
|
38
|
-
const labelForTestInState = (label, state) => ( localize(
|
|
38
|
+
const labelForTestInState = (label, state) => ( localize(10500, '{0} ({1})', stripIcons(label), testStateNames[state]));
|
|
39
39
|
const testConfigurationGroupNames = {
|
|
40
|
-
[TestRunProfileBitset.Debug]: ( localize(
|
|
41
|
-
[TestRunProfileBitset.Run]: ( localize(
|
|
42
|
-
[TestRunProfileBitset.Coverage]: ( localize(
|
|
40
|
+
[TestRunProfileBitset.Debug]: ( localize(10501, 'Debug')),
|
|
41
|
+
[TestRunProfileBitset.Run]: ( localize(10502, 'Run')),
|
|
42
|
+
[TestRunProfileBitset.Coverage]: ( localize(10503, '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(
|
|
50
|
-
[TestRunProfileBitset.Debug]: ( localize(
|
|
51
|
-
[TestRunProfileBitset.Coverage]: ( localize(
|
|
49
|
+
[TestRunProfileBitset.Run]: ( localize(10508, 'Run')),
|
|
50
|
+
[TestRunProfileBitset.Debug]: ( localize(10509, 'Debug')),
|
|
51
|
+
[TestRunProfileBitset.Coverage]: ( localize(10510, 'Coverage')),
|
|
52
52
|
};
|
|
53
53
|
const testRunProfileBitsetList = [
|
|
54
54
|
TestRunProfileBitset.Run,
|
|
@@ -135,7 +135,7 @@ class AbstractVariableResolverService {
|
|
|
135
135
|
if (filePath) {
|
|
136
136
|
return normalizeDriveLetter(filePath);
|
|
137
137
|
}
|
|
138
|
-
throw ( new VariableError(variableKind, ( localize(
|
|
138
|
+
throw ( new VariableError(variableKind, ( localize(11540, "Variable {0} can not be resolved. Please open an editor.", match))));
|
|
139
139
|
};
|
|
140
140
|
const getFolderPathForFile = (variableKind) => {
|
|
141
141
|
const filePath = getFilePath(variableKind);
|
|
@@ -146,7 +146,7 @@ class AbstractVariableResolverService {
|
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
throw ( new VariableError(variableKind, ( localize(
|
|
149
|
-
|
|
149
|
+
11541,
|
|
150
150
|
"Variable {0}: can not find workspace folder of '{1}'.",
|
|
151
151
|
match,
|
|
152
152
|
basename(filePath)
|
|
@@ -159,7 +159,7 @@ class AbstractVariableResolverService {
|
|
|
159
159
|
return folder;
|
|
160
160
|
}
|
|
161
161
|
throw ( new VariableError(variableKind, ( localize(
|
|
162
|
-
|
|
162
|
+
11542,
|
|
163
163
|
"Variable {0} can not be resolved. No such folder '{1}'.",
|
|
164
164
|
match,
|
|
165
165
|
argument
|
|
@@ -170,12 +170,12 @@ class AbstractVariableResolverService {
|
|
|
170
170
|
}
|
|
171
171
|
if (this._context.getWorkspaceFolderCount() > 1) {
|
|
172
172
|
throw ( new VariableError(variableKind, ( localize(
|
|
173
|
-
|
|
173
|
+
11543,
|
|
174
174
|
"Variable {0} can not be resolved in a multi folder workspace. Scope this variable using ':' and a workspace folder name.",
|
|
175
175
|
match
|
|
176
176
|
))));
|
|
177
177
|
}
|
|
178
|
-
throw ( new VariableError(variableKind, ( localize(
|
|
178
|
+
throw ( new VariableError(variableKind, ( localize(11544, "Variable {0} can not be resolved. Please open a folder.", match))));
|
|
179
179
|
};
|
|
180
180
|
switch (variable) {
|
|
181
181
|
case 'env':
|
|
@@ -189,7 +189,7 @@ class AbstractVariableResolverService {
|
|
|
189
189
|
return '';
|
|
190
190
|
}
|
|
191
191
|
throw ( new VariableError(VariableKind.Env, ( localize(
|
|
192
|
-
|
|
192
|
+
11545,
|
|
193
193
|
"Variable {0} can not be resolved because no environment variable name is given.",
|
|
194
194
|
match
|
|
195
195
|
))));
|
|
@@ -198,7 +198,7 @@ class AbstractVariableResolverService {
|
|
|
198
198
|
const config = this._context.getConfigurationValue(folderUri, argument);
|
|
199
199
|
if (isUndefinedOrNull(config)) {
|
|
200
200
|
throw ( new VariableError(VariableKind.Config, ( localize(
|
|
201
|
-
|
|
201
|
+
11546,
|
|
202
202
|
"Variable {0} can not be resolved because setting '{1}' not found.",
|
|
203
203
|
match,
|
|
204
204
|
argument
|
|
@@ -206,7 +206,7 @@ class AbstractVariableResolverService {
|
|
|
206
206
|
}
|
|
207
207
|
if (isObject(config)) {
|
|
208
208
|
throw ( new VariableError(VariableKind.Config, ( localize(
|
|
209
|
-
|
|
209
|
+
11547,
|
|
210
210
|
"Variable {0} can not be resolved because '{1}' is a structured value.",
|
|
211
211
|
match,
|
|
212
212
|
argument
|
|
@@ -215,7 +215,7 @@ class AbstractVariableResolverService {
|
|
|
215
215
|
return config;
|
|
216
216
|
}
|
|
217
217
|
throw ( new VariableError(VariableKind.Config, ( localize(
|
|
218
|
-
|
|
218
|
+
11548,
|
|
219
219
|
"Variable {0} can not be resolved because no settings name is given.",
|
|
220
220
|
match
|
|
221
221
|
))));
|
|
@@ -228,7 +228,7 @@ class AbstractVariableResolverService {
|
|
|
228
228
|
const ext = await this._context.getExtension(argument);
|
|
229
229
|
if (!ext) {
|
|
230
230
|
throw ( new VariableError(VariableKind.ExtensionInstallFolder, ( localize(
|
|
231
|
-
|
|
231
|
+
11549,
|
|
232
232
|
"Variable {0} can not be resolved because the extension {1} is not installed.",
|
|
233
233
|
match,
|
|
234
234
|
argument
|
|
@@ -237,7 +237,7 @@ class AbstractVariableResolverService {
|
|
|
237
237
|
return this.fsPath(ext.extensionLocation);
|
|
238
238
|
}
|
|
239
239
|
throw ( new VariableError(VariableKind.ExtensionInstallFolder, ( localize(
|
|
240
|
-
|
|
240
|
+
11550,
|
|
241
241
|
"Variable {0} can not be resolved because no extension name is given.",
|
|
242
242
|
match
|
|
243
243
|
))));
|
|
@@ -256,7 +256,7 @@ class AbstractVariableResolverService {
|
|
|
256
256
|
return environment.userHome;
|
|
257
257
|
}
|
|
258
258
|
throw ( new VariableError(VariableKind.UserHome, ( localize(
|
|
259
|
-
|
|
259
|
+
11551,
|
|
260
260
|
"Variable {0} can not be resolved. UserHome path is not defined",
|
|
261
261
|
match
|
|
262
262
|
))));
|
|
@@ -267,7 +267,7 @@ class AbstractVariableResolverService {
|
|
|
267
267
|
return lineNumber;
|
|
268
268
|
}
|
|
269
269
|
throw ( new VariableError(VariableKind.LineNumber, ( localize(
|
|
270
|
-
|
|
270
|
+
11552,
|
|
271
271
|
"Variable {0} can not be resolved. Make sure to have a line selected in the active editor.",
|
|
272
272
|
match
|
|
273
273
|
))));
|
|
@@ -278,7 +278,7 @@ class AbstractVariableResolverService {
|
|
|
278
278
|
return columnNumber;
|
|
279
279
|
}
|
|
280
280
|
throw ( new Error(( localize(
|
|
281
|
-
|
|
281
|
+
11553,
|
|
282
282
|
"Variable {0} can not be resolved. Make sure to have a column selected in the active editor.",
|
|
283
283
|
match
|
|
284
284
|
))));
|
|
@@ -289,7 +289,7 @@ class AbstractVariableResolverService {
|
|
|
289
289
|
return selectedText;
|
|
290
290
|
}
|
|
291
291
|
throw ( new VariableError(VariableKind.SelectedText, ( localize(
|
|
292
|
-
|
|
292
|
+
11554,
|
|
293
293
|
"Variable {0} can not be resolved. Make sure to have some text selected in the active editor.",
|
|
294
294
|
match
|
|
295
295
|
))));
|
|
@@ -361,7 +361,7 @@ class AbstractVariableResolverService {
|
|
|
361
361
|
return v;
|
|
362
362
|
}
|
|
363
363
|
throw ( new VariableError(variableKind, ( localize(
|
|
364
|
-
|
|
364
|
+
11555,
|
|
365
365
|
"Variable {0} can not be resolved because the command has no value.",
|
|
366
366
|
match
|
|
367
367
|
))));
|
|
@@ -16,7 +16,7 @@ const editorAssociationsConfigurationNode = {
|
|
|
16
16
|
'workbench.editorAssociations': {
|
|
17
17
|
type: 'object',
|
|
18
18
|
markdownDescription: ( localize(
|
|
19
|
-
|
|
19
|
+
11606,
|
|
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: {
|