@codingame/monaco-vscode-api 26.0.1 → 26.1.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 +8 -8
- package/services.js +3 -3
- package/vscode/src/vs/base/common/strings.d.ts +30 -0
- package/vscode/src/vs/base/common/strings.js +11 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPicker.css +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/images/opacity-background.png +0 -0
- package/vscode/src/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.css +2 -2
- package/vscode/src/vs/editor/standalone/browser/iPadShowKeyboard/keyboard-dark.svg +10 -0
- package/vscode/src/vs/editor/standalone/browser/iPadShowKeyboard/keyboard-light.svg +10 -0
- package/vscode/src/vs/platform/product/common/product.js +3 -3
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionEditor.css +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionsViewlet.css +3 -3
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/loading-dark.svg +31 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/loading-hc.svg +31 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/loading.svg +31 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpServer.js +9 -9
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +4 -4
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +23 -23
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +2 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +17 -17
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +29 -29
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +14 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +3 -3
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +13 -13
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +10 -10
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +50 -50
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +3 -3
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +21 -21
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +15 -15
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +17 -17
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +59 -59
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistory.js +11 -11
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistoryChatContext.js +6 -6
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.js +14 -14
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +9 -9
- package/vscode/src/vs/workbench/contrib/search/browser/patternInputWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +12 -12
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.js +9 -9
- package/vscode/src/vs/workbench/contrib/search/browser/searchChatContext.js +5 -5
- package/vscode/src/vs/workbench/contrib/search/browser/searchFindInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchIcons.js +20 -20
- package/vscode/src/vs/workbench/contrib/search/browser/searchMessage.js +2 -2
- package/vscode/src/vs/workbench/contrib/search/browser/searchResultsView.js +14 -14
- package/vscode/src/vs/workbench/contrib/search/browser/searchView.js +55 -55
- package/vscode/src/vs/workbench/contrib/search/browser/searchWidget.js +8 -8
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +2 -2
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorSerialization.js +5 -5
- 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/constants.js +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +6 -6
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcons.js +13 -13
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +40 -40
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +15 -15
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +9 -9
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +23 -23
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +17 -17
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +26 -26
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/common/terminalAccessibilityConfiguration.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/autoReplies/common/terminalAutoRepliesConfiguration.js +3 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.js +54 -54
- package/vscode/src/vs/workbench/contrib/terminalContrib/commandGuide/common/terminalCommandGuideConfiguration.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/history/common/terminal.history.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/inlineHint/common/terminalInitialHintConfiguration.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/common/terminalStickyScrollConfiguration.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/common/terminalSuggestConfiguration.js +30 -30
- package/vscode/src/vs/workbench/contrib/terminalContrib/typeAhead/common/terminalTypeAheadConfiguration.js +5 -5
- package/vscode/src/vs/workbench/contrib/terminalContrib/zoom/common/terminal.zoom.js +2 -2
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.js +100 -41
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +11 -11
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +14 -14
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
- 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/extensionManagement/common/extensionsIcons.js +3 -3
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
- package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +10 -10
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +88 -88
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +5 -5
- package/vscode/src/vs/workbench/services/language/common/languageService.js +24 -24
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +4 -4
- 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/textMate/common/TMGrammars.js +9 -9
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +18 -18
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +8 -8
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +24 -24
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +3 -3
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +1 -1
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +9 -9
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +16 -16
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-api",
|
|
3
|
-
"version": "26.0
|
|
3
|
+
"version": "26.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-base-service-override": "26.0
|
|
19
|
-
"@codingame/monaco-vscode-environment-service-override": "26.0
|
|
20
|
-
"@codingame/monaco-vscode-extensions-service-override": "26.0
|
|
21
|
-
"@codingame/monaco-vscode-files-service-override": "26.0
|
|
22
|
-
"@codingame/monaco-vscode-host-service-override": "26.0
|
|
23
|
-
"@codingame/monaco-vscode-layout-service-override": "26.0
|
|
24
|
-
"@codingame/monaco-vscode-quickaccess-service-override": "26.0
|
|
18
|
+
"@codingame/monaco-vscode-base-service-override": "26.1.0",
|
|
19
|
+
"@codingame/monaco-vscode-environment-service-override": "26.1.0",
|
|
20
|
+
"@codingame/monaco-vscode-extensions-service-override": "26.1.0",
|
|
21
|
+
"@codingame/monaco-vscode-files-service-override": "26.1.0",
|
|
22
|
+
"@codingame/monaco-vscode-host-service-override": "26.1.0",
|
|
23
|
+
"@codingame/monaco-vscode-layout-service-override": "26.1.0",
|
|
24
|
+
"@codingame/monaco-vscode-quickaccess-service-override": "26.1.0",
|
|
25
25
|
"@vscode/iconv-lite-umd": "0.7.1",
|
|
26
26
|
"dompurify": "3.3.1",
|
|
27
27
|
"jschardet": "3.1.4",
|
package/services.js
CHANGED
|
@@ -409,10 +409,10 @@ export { IAgentSessionsService } from './vscode/src/vs/workbench/contrib/chat/br
|
|
|
409
409
|
export { IUserAttentionService } from './vscode/src/vs/workbench/services/userAttention/common/userAttentionService.service.js';
|
|
410
410
|
export { ICodeCompareModelService } from './vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTextEditContentPart.service.js';
|
|
411
411
|
|
|
412
|
-
if (window.monacoVscodeApiBuildId != null && window.monacoVscodeApiBuildId !== "1.109.
|
|
413
|
-
throw new Error(`Another version of monaco-vscode-api has already been loaded. Trying to load ${"1.109.
|
|
412
|
+
if (window.monacoVscodeApiBuildId != null && window.monacoVscodeApiBuildId !== "1.109.2-15ed2676-2f6b-4cc9-babe-aa893ddbaccc") {
|
|
413
|
+
throw new Error(`Another version of monaco-vscode-api has already been loaded. Trying to load ${"1.109.2-15ed2676-2f6b-4cc9-babe-aa893ddbaccc"}, ${window.monacoVscodeApiBuildId} is already loaded`);
|
|
414
414
|
}
|
|
415
|
-
window.monacoVscodeApiBuildId = "1.109.
|
|
415
|
+
window.monacoVscodeApiBuildId = "1.109.2-15ed2676-2f6b-4cc9-babe-aa893ddbaccc";
|
|
416
416
|
function registerCommands(options) {
|
|
417
417
|
function asMenuId(menu) {
|
|
418
418
|
switch (menu) {
|
|
@@ -271,3 +271,33 @@ export declare const Ellipsis = "\u2026";
|
|
|
271
271
|
* of throwing an exception.
|
|
272
272
|
*/
|
|
273
273
|
export declare function multibyteAwareBtoa(str: string): string;
|
|
274
|
+
/**
|
|
275
|
+
* Encodes a Unicode string to Punycode according to RFC 3492.
|
|
276
|
+
* This is the raw encoding without the "xn--" ACE prefix.
|
|
277
|
+
*
|
|
278
|
+
* @param input The Unicode string to encode.
|
|
279
|
+
* @returns The Punycode-encoded ASCII string.
|
|
280
|
+
* @throws Error if the input contains invalid surrogate pairs.
|
|
281
|
+
*
|
|
282
|
+
* @example
|
|
283
|
+
* // allow-any-unicode-next-line
|
|
284
|
+
* punycodeEncode('münchen') // returns 'mnchen-3ya'
|
|
285
|
+
* // allow-any-unicode-next-line
|
|
286
|
+
* punycodeEncode('bücher') // returns 'bcher-kva'
|
|
287
|
+
* // allow-any-unicode-next-line
|
|
288
|
+
* punycodeEncode('日本語') // returns 'wgv71a119e'
|
|
289
|
+
*/
|
|
290
|
+
export declare function punycodeEncode(input: string): string;
|
|
291
|
+
/**
|
|
292
|
+
* Encodes a domain label using Punycode with the ACE prefix "xn--".
|
|
293
|
+
* If the label contains only ASCII characters, it is returned unchanged.
|
|
294
|
+
*
|
|
295
|
+
* @param label The domain label to encode.
|
|
296
|
+
* @returns The ACE-encoded label with "xn--" prefix, or the original label if all ASCII.
|
|
297
|
+
*
|
|
298
|
+
* @example
|
|
299
|
+
* // allow-any-unicode-next-line
|
|
300
|
+
* toPunycodeACE('münchen') // returns 'xn--mnchen-3ya'
|
|
301
|
+
* toPunycodeACE('example') // returns 'example' (no encoding needed)
|
|
302
|
+
*/
|
|
303
|
+
export declare function toPunycodeACE(label: string): string;
|
|
@@ -887,5 +887,16 @@ function toBinary(str) {
|
|
|
887
887
|
function multibyteAwareBtoa(str) {
|
|
888
888
|
return btoa(toBinary(str));
|
|
889
889
|
}
|
|
890
|
+
var PunycodeConstants;
|
|
891
|
+
(function(PunycodeConstants) {
|
|
892
|
+
PunycodeConstants[PunycodeConstants["BASE"] = 36] = "BASE";
|
|
893
|
+
PunycodeConstants[PunycodeConstants["TMIN"] = 1] = "TMIN";
|
|
894
|
+
PunycodeConstants[PunycodeConstants["TMAX"] = 26] = "TMAX";
|
|
895
|
+
PunycodeConstants[PunycodeConstants["SKEW"] = 38] = "SKEW";
|
|
896
|
+
PunycodeConstants[PunycodeConstants["DAMP"] = 700] = "DAMP";
|
|
897
|
+
PunycodeConstants[PunycodeConstants["INITIAL_BIAS"] = 72] = "INITIAL_BIAS";
|
|
898
|
+
PunycodeConstants[PunycodeConstants["INITIAL_N"] = 128] = "INITIAL_N";
|
|
899
|
+
PunycodeConstants[PunycodeConstants["DELIMITER"] = 45] = "DELIMITER";
|
|
900
|
+
})(PunycodeConstants || (PunycodeConstants = {}));
|
|
890
901
|
|
|
891
902
|
export { AmbiguousCharacters, CodePointIterator, Ellipsis, GraphemeBreakType, GraphemeIterator, InvisibleCharacters, UNUSUAL_LINE_TERMINATORS, UTF8_BOM_CHARACTER, commonPrefixLength, commonSuffixLength, compare, compareIgnoreCase, compareSubstring, compareSubstringIgnoreCase, computeCodePoint, containsRTL, containsUnusualLineTerminators, containsUppercaseCharacter, convertSimple2RegExpPattern, count, createRegExp, endsWithIgnoreCase, equals, equalsIgnoreCase, escape, escapeRegExpCharacters, firstNonWhitespaceIndex, forAnsiStringParts, format, format2, fuzzyContains, getCharContainingOffset, getLeadingWhitespace, getLeftDeleteOffset, getNLines, getNextCodePoint, htmlAttributeEncodeValue, isAsciiDigit, isBasicASCII, isEmojiImprecise, isFalsyOrWhitespace, isFullWidthCharacter, isHighSurrogate, isLowSurrogate, isLowerAsciiLetter, isUpperAsciiLetter, joinStrings, lastNonWhitespaceIndex, lcut, ltrim, multibyteAwareBtoa, nextCharLength, noBreakWhitespace, prevCharLength, rcut, regExpLeadsToEndlessLoop, removeAnsiEscapeCodes, removeAnsiEscapeCodesFromPrompt, rtrim, singleLetterHash, splitLines, splitLinesIncludeSeparators, startsWithIgnoreCase, startsWithUTF8BOM, trim, truncate, truncateMiddle, uppercaseFirstLetter };
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
display: flex;
|
|
35
35
|
height: 24px;
|
|
36
36
|
position: relative;
|
|
37
|
-
background: url('images/opacity-background.png');
|
|
37
|
+
background: url('./images/opacity-background.png');
|
|
38
38
|
background-size: 9px 9px;
|
|
39
39
|
image-rendering: pixelated;
|
|
40
40
|
}
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
position: relative;
|
|
156
156
|
margin-left: 8px;
|
|
157
157
|
cursor: grab;
|
|
158
|
-
background: url('images/opacity-background.png');
|
|
158
|
+
background: url('./images/opacity-background.png');
|
|
159
159
|
background-size: 9px 9px;
|
|
160
160
|
image-rendering: pixelated;
|
|
161
161
|
}
|
|
Binary file
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
position: absolute;
|
|
14
14
|
resize: none;
|
|
15
15
|
overflow: hidden;
|
|
16
|
-
background: url('keyboard-light.svg') center center no-repeat;
|
|
16
|
+
background: url('./keyboard-light.svg') center center no-repeat;
|
|
17
17
|
border: 4px solid #F6F6F6;
|
|
18
18
|
border-radius: 4px;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.monaco-editor.vs-dark .iPadShowKeyboard {
|
|
22
|
-
background: url('keyboard-dark.svg') center center no-repeat;
|
|
22
|
+
background: url('./keyboard-dark.svg') center center no-repeat;
|
|
23
23
|
border: 4px solid #252526;
|
|
24
24
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<svg width="53" height="36" viewBox="0 0 53 36" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0)">
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M48.0364 4.01042H4.00779L4.00779 32.0286H48.0364V4.01042ZM4.00779 0.0078125C1.79721 0.0078125 0.00518799 1.79984 0.00518799 4.01042V32.0286C0.00518799 34.2392 1.79721 36.0312 4.00779 36.0312H48.0364C50.247 36.0312 52.039 34.2392 52.039 32.0286V4.01042C52.039 1.79984 50.247 0.0078125 48.0364 0.0078125H4.00779ZM8.01042 8.01302H12.013V12.0156H8.01042V8.01302ZM20.0182 8.01302H16.0156V12.0156H20.0182V8.01302ZM24.0208 8.01302H28.0234V12.0156H24.0208V8.01302ZM36.0286 8.01302H32.026V12.0156H36.0286V8.01302ZM40.0312 8.01302H44.0339V12.0156H40.0312V8.01302ZM16.0156 16.0182H8.01042V20.0208H16.0156V16.0182ZM20.0182 16.0182H24.0208V20.0208H20.0182V16.0182ZM32.026 16.0182H28.0234V20.0208H32.026V16.0182ZM44.0339 16.0182V20.0208H36.0286V16.0182H44.0339ZM12.013 24.0234H8.01042V28.026H12.013V24.0234ZM16.0156 24.0234H36.0286V28.026H16.0156V24.0234ZM44.0339 24.0234H40.0312V28.026H44.0339V24.0234Z" fill="#C5C5C5"/>
|
|
4
|
+
</g>
|
|
5
|
+
<defs>
|
|
6
|
+
<clipPath id="clip0">
|
|
7
|
+
<rect width="53" height="36" fill="white"/>
|
|
8
|
+
</clipPath>
|
|
9
|
+
</defs>
|
|
10
|
+
</svg>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<svg width="53" height="36" viewBox="0 0 53 36" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0)">
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M48.0364 4.01042H4.00779L4.00779 32.0286H48.0364V4.01042ZM4.00779 0.0078125C1.79721 0.0078125 0.00518799 1.79984 0.00518799 4.01042V32.0286C0.00518799 34.2392 1.79721 36.0312 4.00779 36.0312H48.0364C50.247 36.0312 52.039 34.2392 52.039 32.0286V4.01042C52.039 1.79984 50.247 0.0078125 48.0364 0.0078125H4.00779ZM8.01042 8.01302H12.013V12.0156H8.01042V8.01302ZM20.0182 8.01302H16.0156V12.0156H20.0182V8.01302ZM24.0208 8.01302H28.0234V12.0156H24.0208V8.01302ZM36.0286 8.01302H32.026V12.0156H36.0286V8.01302ZM40.0312 8.01302H44.0339V12.0156H40.0312V8.01302ZM16.0156 16.0182H8.01042V20.0208H16.0156V16.0182ZM20.0182 16.0182H24.0208V20.0208H20.0182V16.0182ZM32.026 16.0182H28.0234V20.0208H32.026V16.0182ZM44.0339 16.0182V20.0208H36.0286V16.0182H44.0339ZM12.013 24.0234H8.01042V28.026H12.013V24.0234ZM16.0156 24.0234H36.0286V28.026H16.0156V24.0234ZM44.0339 24.0234H40.0312V28.026H44.0339V24.0234Z" fill="#424242"/>
|
|
4
|
+
</g>
|
|
5
|
+
<defs>
|
|
6
|
+
<clipPath id="clip0">
|
|
7
|
+
<rect width="53" height="36" fill="white"/>
|
|
8
|
+
</clipPath>
|
|
9
|
+
</defs>
|
|
10
|
+
</svg>
|
|
@@ -4,9 +4,9 @@ import productJson from '../../../../../product.json.js';
|
|
|
4
4
|
var product = {
|
|
5
5
|
...productJson,
|
|
6
6
|
quality: 'stable',
|
|
7
|
-
version: '1.109.
|
|
8
|
-
commit: '
|
|
9
|
-
date: '2026-02-
|
|
7
|
+
version: '1.109.2',
|
|
8
|
+
commit: '591199df409fbf59b4b52d5ad4ee0470152a9b31',
|
|
9
|
+
date: '2026-02-11T14:53:29.016Z',
|
|
10
10
|
...(globalThis._VSCODE_PRODUCT_JSON ?? {})
|
|
11
11
|
};
|
|
12
12
|
|
|
@@ -414,7 +414,7 @@
|
|
|
414
414
|
}
|
|
415
415
|
|
|
416
416
|
.extension-editor > .body > .content.loading {
|
|
417
|
-
background: url('loading.svg') center center no-repeat;
|
|
417
|
+
background: url('./loading.svg') center center no-repeat;
|
|
418
418
|
}
|
|
419
419
|
|
|
420
420
|
.extension-editor > .body > .content > .monaco-scrollable-element {
|
|
@@ -144,15 +144,15 @@
|
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
.extensions-viewlet > .extensions .extension-list-item.loading {
|
|
147
|
-
background: url('loading.svg') center center no-repeat;
|
|
147
|
+
background: url('./loading.svg') center center no-repeat;
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
.monaco-workbench.vs-dark .extensions-viewlet > .extensions .extension-list-item.loading {
|
|
151
|
-
background-image: url('loading-dark.svg');
|
|
151
|
+
background-image: url('./loading-dark.svg');
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
.monaco-workbench.hc-black .extensions-viewlet > .extensions .extension-list-item.loading {
|
|
155
|
-
background-image: url('loading-hc.svg');
|
|
155
|
+
background-image: url('./loading-hc.svg');
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
.extensions-viewlet > .extensions .extension-list-item.loading > .icon-container {
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<?xml version='1.0' standalone='no' ?>
|
|
2
|
+
<svg xmlns='http://www.w3.org/2000/svg' version='1.1' width='10px' height='10px'>
|
|
3
|
+
<style>
|
|
4
|
+
circle {
|
|
5
|
+
animation: ball 0.6s linear infinite;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
circle:nth-child(2) { animation-delay: 0.075s; }
|
|
9
|
+
circle:nth-child(3) { animation-delay: 0.15s; }
|
|
10
|
+
circle:nth-child(4) { animation-delay: 0.225s; }
|
|
11
|
+
circle:nth-child(5) { animation-delay: 0.3s; }
|
|
12
|
+
circle:nth-child(6) { animation-delay: 0.375s; }
|
|
13
|
+
circle:nth-child(7) { animation-delay: 0.45s; }
|
|
14
|
+
circle:nth-child(8) { animation-delay: 0.525s; }
|
|
15
|
+
|
|
16
|
+
@keyframes ball {
|
|
17
|
+
from { opacity: 1; }
|
|
18
|
+
to { opacity: 0.3; }
|
|
19
|
+
}
|
|
20
|
+
</style>
|
|
21
|
+
<g style="fill:grey;">
|
|
22
|
+
<circle cx='5' cy='1' r='1' style='opacity:0.3;' />
|
|
23
|
+
<circle cx='7.8284' cy='2.1716' r='1' style='opacity:0.3;' />
|
|
24
|
+
<circle cx='9' cy='5' r='1' style='opacity:0.3;' />
|
|
25
|
+
<circle cx='7.8284' cy='7.8284' r='1' style='opacity:0.3;' />
|
|
26
|
+
<circle cx='5' cy='9' r='1' style='opacity:0.3;' />
|
|
27
|
+
<circle cx='2.1716' cy='7.8284' r='1' style='opacity:0.3;' />
|
|
28
|
+
<circle cx='1' cy='5' r='1' style='opacity:0.3;' />
|
|
29
|
+
<circle cx='2.1716' cy='2.1716' r='1' style='opacity:0.3;' />
|
|
30
|
+
</g>
|
|
31
|
+
</svg>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<?xml version='1.0' standalone='no' ?>
|
|
2
|
+
<svg xmlns='http://www.w3.org/2000/svg' version='1.1' width='10px' height='10px'>
|
|
3
|
+
<style>
|
|
4
|
+
circle {
|
|
5
|
+
animation: ball 0.6s linear infinite;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
circle:nth-child(2) { animation-delay: 0.075s; }
|
|
9
|
+
circle:nth-child(3) { animation-delay: 0.15s; }
|
|
10
|
+
circle:nth-child(4) { animation-delay: 0.225s; }
|
|
11
|
+
circle:nth-child(5) { animation-delay: 0.3s; }
|
|
12
|
+
circle:nth-child(6) { animation-delay: 0.375s; }
|
|
13
|
+
circle:nth-child(7) { animation-delay: 0.45s; }
|
|
14
|
+
circle:nth-child(8) { animation-delay: 0.525s; }
|
|
15
|
+
|
|
16
|
+
@keyframes ball {
|
|
17
|
+
from { opacity: 1; }
|
|
18
|
+
to { opacity: 0.3; }
|
|
19
|
+
}
|
|
20
|
+
</style>
|
|
21
|
+
<g style="fill:white;">
|
|
22
|
+
<circle cx='5' cy='1' r='1' style='opacity:0.3;' />
|
|
23
|
+
<circle cx='7.8284' cy='2.1716' r='1' style='opacity:0.3;' />
|
|
24
|
+
<circle cx='9' cy='5' r='1' style='opacity:0.3;' />
|
|
25
|
+
<circle cx='7.8284' cy='7.8284' r='1' style='opacity:0.3;' />
|
|
26
|
+
<circle cx='5' cy='9' r='1' style='opacity:0.3;' />
|
|
27
|
+
<circle cx='2.1716' cy='7.8284' r='1' style='opacity:0.3;' />
|
|
28
|
+
<circle cx='1' cy='5' r='1' style='opacity:0.3;' />
|
|
29
|
+
<circle cx='2.1716' cy='2.1716' r='1' style='opacity:0.3;' />
|
|
30
|
+
</g>
|
|
31
|
+
</svg>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<?xml version='1.0' standalone='no' ?>
|
|
2
|
+
<svg xmlns='http://www.w3.org/2000/svg' version='1.1' width='10px' height='10px'>
|
|
3
|
+
<style>
|
|
4
|
+
circle {
|
|
5
|
+
animation: ball 0.6s linear infinite;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
circle:nth-child(2) { animation-delay: 0.075s; }
|
|
9
|
+
circle:nth-child(3) { animation-delay: 0.15s; }
|
|
10
|
+
circle:nth-child(4) { animation-delay: 0.225s; }
|
|
11
|
+
circle:nth-child(5) { animation-delay: 0.3s; }
|
|
12
|
+
circle:nth-child(6) { animation-delay: 0.375s; }
|
|
13
|
+
circle:nth-child(7) { animation-delay: 0.45s; }
|
|
14
|
+
circle:nth-child(8) { animation-delay: 0.525s; }
|
|
15
|
+
|
|
16
|
+
@keyframes ball {
|
|
17
|
+
from { opacity: 1; }
|
|
18
|
+
to { opacity: 0.3; }
|
|
19
|
+
}
|
|
20
|
+
</style>
|
|
21
|
+
<g>
|
|
22
|
+
<circle cx='5' cy='1' r='1' style='opacity:0.3;' />
|
|
23
|
+
<circle cx='7.8284' cy='2.1716' r='1' style='opacity:0.3;' />
|
|
24
|
+
<circle cx='9' cy='5' r='1' style='opacity:0.3;' />
|
|
25
|
+
<circle cx='7.8284' cy='7.8284' r='1' style='opacity:0.3;' />
|
|
26
|
+
<circle cx='5' cy='9' r='1' style='opacity:0.3;' />
|
|
27
|
+
<circle cx='2.1716' cy='7.8284' r='1' style='opacity:0.3;' />
|
|
28
|
+
<circle cx='1' cy='5' r='1' style='opacity:0.3;' />
|
|
29
|
+
<circle cx='2.1716' cy='2.1716' r='1' style='opacity:0.3;' />
|
|
30
|
+
</g>
|
|
31
|
+
</svg>
|
|
@@ -520,36 +520,36 @@ let McpServer = McpServer_1 = class McpServer extends Disposable {
|
|
|
520
520
|
break;
|
|
521
521
|
}
|
|
522
522
|
const options = [{
|
|
523
|
-
label: ( localize(
|
|
523
|
+
label: ( localize(9373, "Show Output")),
|
|
524
524
|
run: () => this.showOutput()
|
|
525
525
|
}];
|
|
526
526
|
if (cnx.definition.devMode?.debug?.type === "debugpy" && debug) {
|
|
527
527
|
this._notificationService.prompt(Severity$1.Error, ( localize(
|
|
528
|
-
|
|
528
|
+
9374,
|
|
529
529
|
"The command \"{0}\" was not found. You can specify the path to debugpy in the `dev.debug.debugpyPath` option.",
|
|
530
530
|
cnx.launchDefinition.command,
|
|
531
531
|
cnx.definition.label
|
|
532
532
|
)), [...options, {
|
|
533
|
-
label: ( localize(
|
|
533
|
+
label: ( localize(9375, "View Docs")),
|
|
534
534
|
run: () => this._openerService.open(( URI.parse("https://aka.ms/vscode-mcp-install/debugpy")))
|
|
535
535
|
}]);
|
|
536
536
|
return;
|
|
537
537
|
}
|
|
538
538
|
if (docsLink) {
|
|
539
539
|
options.push({
|
|
540
|
-
label: ( localize(
|
|
540
|
+
label: ( localize(9376, "Install {0}", cnx.launchDefinition.command)),
|
|
541
541
|
run: () => this._openerService.open(( URI.parse(docsLink)))
|
|
542
542
|
});
|
|
543
543
|
}
|
|
544
544
|
this._notificationService.prompt(Severity$1.Error, ( localize(
|
|
545
|
-
|
|
545
|
+
9377,
|
|
546
546
|
"The command \"{0}\" needed to run {1} was not found.",
|
|
547
547
|
cnx.launchDefinition.command,
|
|
548
548
|
cnx.definition.label
|
|
549
549
|
)), options);
|
|
550
550
|
} else {
|
|
551
551
|
this._notificationService.warn(( localize(
|
|
552
|
-
|
|
552
|
+
9378,
|
|
553
553
|
"The MCP server {0} could not be started: {1}",
|
|
554
554
|
cnx.definition.label,
|
|
555
555
|
error.message
|
|
@@ -632,7 +632,7 @@ let McpServer = McpServer_1 = class McpServer extends Disposable {
|
|
|
632
632
|
const validated = [];
|
|
633
633
|
for (const [i, result] of validations.entries()) {
|
|
634
634
|
if ("error" in result) {
|
|
635
|
-
error += ( localize(
|
|
635
|
+
error += ( localize(9379, "Tool `{0}` has invalid JSON parameters:", tools[i].name)) + "\n";
|
|
636
636
|
for (const message of result.error) {
|
|
637
637
|
error += `\t- ${message}\n`;
|
|
638
638
|
}
|
|
@@ -957,7 +957,7 @@ function warnInvalidTools(instaService, serverName, errorText) {
|
|
|
957
957
|
notificationService.notify({
|
|
958
958
|
severity: Severity$1.Warning,
|
|
959
959
|
message: ( localize(
|
|
960
|
-
|
|
960
|
+
9380,
|
|
961
961
|
"MCP server `{0}` has tools with invalid parameters which will be omitted.",
|
|
962
962
|
serverName
|
|
963
963
|
)),
|
|
@@ -967,7 +967,7 @@ function warnInvalidTools(instaService, serverName, errorText) {
|
|
|
967
967
|
enabled: true,
|
|
968
968
|
id: "mcpBadSchema.show",
|
|
969
969
|
tooltip: "",
|
|
970
|
-
label: ( localize(
|
|
970
|
+
label: ( localize(9381, "Show")),
|
|
971
971
|
run: () => {
|
|
972
972
|
editorService.openEditor({
|
|
973
973
|
resource: undefined,
|
|
@@ -179,13 +179,13 @@ var McpConnectionState;
|
|
|
179
179
|
McpConnectionState.toString = s => {
|
|
180
180
|
switch (s.state) {
|
|
181
181
|
case Kind.Stopped:
|
|
182
|
-
return localize(
|
|
182
|
+
return localize(9385, "Stopped");
|
|
183
183
|
case Kind.Starting:
|
|
184
|
-
return localize(
|
|
184
|
+
return localize(9386, "Starting");
|
|
185
185
|
case Kind.Running:
|
|
186
|
-
return localize(
|
|
186
|
+
return localize(9387, "Running");
|
|
187
187
|
case Kind.Error:
|
|
188
|
-
return localize(
|
|
188
|
+
return localize(9388, "Error {0}", s.message);
|
|
189
189
|
default:
|
|
190
190
|
assertNever();
|
|
191
191
|
}
|
|
@@ -106,7 +106,7 @@ let MergeEditorInput = class MergeEditorInput extends AbstractTextResourceEditor
|
|
|
106
106
|
return capabilities;
|
|
107
107
|
}
|
|
108
108
|
getName() {
|
|
109
|
-
return localize(
|
|
109
|
+
return localize(9434, "Merging: {0}", super.getName());
|
|
110
110
|
}
|
|
111
111
|
async resolve() {
|
|
112
112
|
if (!this._inputModel) {
|
|
@@ -190,13 +190,13 @@ MergeEditorInput = MergeEditorInput_1 = ( __decorate([( __param(4, IInstantiatio
|
|
|
190
190
|
function alertFocusedEditor(editor) {
|
|
191
191
|
switch (editor) {
|
|
192
192
|
case "input1":
|
|
193
|
-
alert(( localize(
|
|
193
|
+
alert(( localize(9435, "Incoming, Left Input")));
|
|
194
194
|
break;
|
|
195
195
|
case "input2":
|
|
196
|
-
alert(( localize(
|
|
196
|
+
alert(( localize(9436, "Current, Right Input")));
|
|
197
197
|
break;
|
|
198
198
|
case "result":
|
|
199
|
-
alert(( localize(
|
|
199
|
+
alert(( localize(9437, "Merge Result")));
|
|
200
200
|
break;
|
|
201
201
|
}
|
|
202
202
|
}
|
|
@@ -134,32 +134,32 @@ let TempFileMergeEditorInputModel = class TempFileMergeEditorInputModel extends
|
|
|
134
134
|
if (someDirty) {
|
|
135
135
|
const isMany = inputModels.length > 1;
|
|
136
136
|
const message = isMany ? ( localize(
|
|
137
|
-
|
|
137
|
+
9438,
|
|
138
138
|
"Do you want keep the merge result of {0} files?",
|
|
139
139
|
inputModels.length
|
|
140
140
|
)) : ( localize(
|
|
141
|
-
|
|
141
|
+
9439,
|
|
142
142
|
"Do you want keep the merge result of {0}?",
|
|
143
143
|
basename(inputModels[0].model.resultTextModel.uri)
|
|
144
144
|
));
|
|
145
145
|
const hasUnhandledConflicts = ( inputModels.some(m => m.model.hasUnhandledConflicts.get()));
|
|
146
146
|
const buttons = [{
|
|
147
|
-
label: hasUnhandledConflicts ? ( localize(
|
|
147
|
+
label: hasUnhandledConflicts ? ( localize(9440, "&&Save With Conflicts")) : ( localize(9441, "&&Save")),
|
|
148
148
|
run: () => ConfirmResult.SAVE
|
|
149
149
|
}, {
|
|
150
|
-
label: ( localize(
|
|
150
|
+
label: ( localize(9442, "Do&&n't Save")),
|
|
151
151
|
run: () => ConfirmResult.DONT_SAVE
|
|
152
152
|
}];
|
|
153
153
|
choice = (await this.dialogService.prompt({
|
|
154
154
|
type: Severity$1.Info,
|
|
155
155
|
message,
|
|
156
156
|
detail: hasUnhandledConflicts ? isMany ? ( localize(
|
|
157
|
-
|
|
157
|
+
9443,
|
|
158
158
|
"The files contain unhandled conflicts. The merge results will be lost if you don't save them."
|
|
159
159
|
)) : ( localize(
|
|
160
|
-
|
|
160
|
+
9444,
|
|
161
161
|
"The file contains unhandled conflicts. The merge result will be lost if you don't save it."
|
|
162
|
-
)) : isMany ? ( localize(
|
|
162
|
+
)) : isMany ? ( localize(9445, "The merge results will be lost if you don't save them.")) : ( localize(9446, "The merge result will be lost if you don't save it.")),
|
|
163
163
|
buttons,
|
|
164
164
|
cancelButton: {
|
|
165
165
|
run: () => ConfirmResult.CANCEL
|
|
@@ -184,12 +184,12 @@ let TempFileMergeEditorInputModel = class TempFileMergeEditorInputModel extends
|
|
|
184
184
|
const {
|
|
185
185
|
confirmed
|
|
186
186
|
} = await this.dialogService.confirm({
|
|
187
|
-
message: ( localize(
|
|
187
|
+
message: ( localize(9447, "Do you want to accept the merge result?")),
|
|
188
188
|
detail: ( localize(
|
|
189
|
-
|
|
189
|
+
9448,
|
|
190
190
|
"This will write the merge result to the original file and close the merge editor."
|
|
191
191
|
)),
|
|
192
|
-
primaryButton: ( localize(
|
|
192
|
+
primaryButton: ( localize(9449, "&&Accept Merge"))
|
|
193
193
|
});
|
|
194
194
|
if (confirmed) {
|
|
195
195
|
await this.accept();
|
|
@@ -221,7 +221,7 @@ let WorkspaceMergeEditorModeFactory = class WorkspaceMergeEditorModeFactory {
|
|
|
221
221
|
this._languageService = _languageService;
|
|
222
222
|
}
|
|
223
223
|
static {
|
|
224
|
-
this.FILE_SAVED_SOURCE = SaveSourceRegistry.registerSource("merge-editor.source", ( localize(
|
|
224
|
+
this.FILE_SAVED_SOURCE = SaveSourceRegistry.registerSource("merge-editor.source", ( localize(9450, "Before Resolving Conflicts In Merge Editor")));
|
|
225
225
|
}
|
|
226
226
|
async createInputModel(args) {
|
|
227
227
|
const store = ( new DisposableStore());
|
|
@@ -356,11 +356,11 @@ let WorkspaceMergeEditorInputModel = class WorkspaceMergeEditorInputModel extend
|
|
|
356
356
|
const someUnhandledConflicts = ( inputModels.some(m => m.model.hasUnhandledConflicts.get()));
|
|
357
357
|
if (someDirty) {
|
|
358
358
|
const message = isMany ? ( localize(
|
|
359
|
-
|
|
359
|
+
9451,
|
|
360
360
|
"Do you want to save the changes you made to {0} files?",
|
|
361
361
|
inputModels.length
|
|
362
362
|
)) : ( localize(
|
|
363
|
-
|
|
363
|
+
9452,
|
|
364
364
|
"Do you want to save the changes you made to {0}?",
|
|
365
365
|
basename(inputModels[0].resultUri)
|
|
366
366
|
));
|
|
@@ -370,17 +370,17 @@ let WorkspaceMergeEditorInputModel = class WorkspaceMergeEditorInputModel extend
|
|
|
370
370
|
type: Severity$1.Info,
|
|
371
371
|
message,
|
|
372
372
|
detail: someUnhandledConflicts ? isMany ? ( localize(
|
|
373
|
-
|
|
373
|
+
9453,
|
|
374
374
|
"The files contain unhandled conflicts. Your changes will be lost if you don't save them."
|
|
375
375
|
)) : ( localize(
|
|
376
|
-
|
|
376
|
+
9454,
|
|
377
377
|
"The file contains unhandled conflicts. Your changes will be lost if you don't save them."
|
|
378
|
-
)) : isMany ? ( localize(
|
|
378
|
+
)) : isMany ? ( localize(9455, "Your changes will be lost if you don't save them.")) : ( localize(9456, "Your changes will be lost if you don't save them.")),
|
|
379
379
|
buttons: [{
|
|
380
|
-
label: someUnhandledConflicts ? ( localize(
|
|
380
|
+
label: someUnhandledConflicts ? ( localize(9457, "&&Save with Conflicts")) : ( localize(9458, "&&Save")),
|
|
381
381
|
run: () => ConfirmResult.SAVE
|
|
382
382
|
}, {
|
|
383
|
-
label: ( localize(
|
|
383
|
+
label: ( localize(9459, "Do&&n't Save")),
|
|
384
384
|
run: () => ConfirmResult.DONT_SAVE
|
|
385
385
|
}],
|
|
386
386
|
cancelButton: {
|
|
@@ -393,15 +393,15 @@ let WorkspaceMergeEditorInputModel = class WorkspaceMergeEditorInputModel extend
|
|
|
393
393
|
confirmed,
|
|
394
394
|
checkboxChecked
|
|
395
395
|
} = await this._dialogService.confirm({
|
|
396
|
-
message: isMany ? ( localize(
|
|
397
|
-
|
|
396
|
+
message: isMany ? ( localize(9460, "Do you want to close {0} merge editors?", inputModels.length)) : ( localize(
|
|
397
|
+
9461,
|
|
398
398
|
"Do you want to close the merge editor for {0}?",
|
|
399
399
|
basename(inputModels[0].resultUri)
|
|
400
400
|
)),
|
|
401
|
-
detail: someUnhandledConflicts ? isMany ? ( localize(
|
|
402
|
-
primaryButton: someUnhandledConflicts ? ( localize(
|
|
401
|
+
detail: someUnhandledConflicts ? isMany ? ( localize(9462, "The files contain unhandled conflicts.")) : ( localize(9463, "The file contains unhandled conflicts.")) : undefined,
|
|
402
|
+
primaryButton: someUnhandledConflicts ? ( localize(9464, "&&Close with Conflicts")) : ( localize(9465, "&&Close")),
|
|
403
403
|
checkbox: {
|
|
404
|
-
label: ( localize(
|
|
404
|
+
label: ( localize(9466, "Do not ask me again"))
|
|
405
405
|
}
|
|
406
406
|
});
|
|
407
407
|
if (checkboxChecked) {
|
|
@@ -403,7 +403,7 @@ let MergeEditorModel = class MergeEditorModel extends EditorModel {
|
|
|
403
403
|
type: UndoRedoElementType.Resource,
|
|
404
404
|
resource: this.resultTextModel.uri,
|
|
405
405
|
code: "setInputHandled",
|
|
406
|
-
label: ( localize(
|
|
406
|
+
label: ( localize(9467, "Set Input Handled")),
|
|
407
407
|
redo() {
|
|
408
408
|
const model = modelRef.deref();
|
|
409
409
|
const data = dataRef.deref();
|
|
@@ -628,7 +628,7 @@ class MarkAsHandledUndoRedoElement {
|
|
|
628
628
|
this.input1Handled = input1Handled;
|
|
629
629
|
this.input2Handled = input2Handled;
|
|
630
630
|
this.code = "undoMarkAsHandled";
|
|
631
|
-
this.label = ( localize(
|
|
631
|
+
this.label = ( localize(9468, "Undo Mark As Handled"));
|
|
632
632
|
this.type = UndoRedoElementType.Resource;
|
|
633
633
|
}
|
|
634
634
|
redo() {
|
|
@@ -4,35 +4,35 @@ import { RawContextKey } from '../../../../platform/contextkey/common/contextkey
|
|
|
4
4
|
|
|
5
5
|
const ctxIsMergeEditor = ( new RawContextKey("isMergeEditor", false, {
|
|
6
6
|
type: "boolean",
|
|
7
|
-
description: ( localize(
|
|
7
|
+
description: ( localize(9520, "The editor is a merge editor"))
|
|
8
8
|
}));
|
|
9
9
|
const ctxIsMergeResultEditor = ( new RawContextKey("isMergeResultEditor", false, {
|
|
10
10
|
type: "boolean",
|
|
11
|
-
description: ( localize(
|
|
11
|
+
description: ( localize(9521, "The editor is a the result editor of a merge editor."))
|
|
12
12
|
}));
|
|
13
13
|
const ctxMergeEditorLayout = ( new RawContextKey("mergeEditorLayout", "mixed", {
|
|
14
14
|
type: "string",
|
|
15
|
-
description: ( localize(
|
|
15
|
+
description: ( localize(9522, "The layout mode of a merge editor"))
|
|
16
16
|
}));
|
|
17
17
|
const ctxMergeEditorShowBase = ( new RawContextKey("mergeEditorShowBase", false, {
|
|
18
18
|
type: "boolean",
|
|
19
|
-
description: ( localize(
|
|
19
|
+
description: ( localize(9523, "If the merge editor shows the base version"))
|
|
20
20
|
}));
|
|
21
21
|
const ctxMergeEditorShowBaseAtTop = ( new RawContextKey("mergeEditorShowBaseAtTop", false, {
|
|
22
22
|
type: "boolean",
|
|
23
|
-
description: ( localize(
|
|
23
|
+
description: ( localize(9524, "If base should be shown at the top"))
|
|
24
24
|
}));
|
|
25
25
|
const ctxMergeEditorShowNonConflictingChanges = ( new RawContextKey("mergeEditorShowNonConflictingChanges", false, {
|
|
26
26
|
type: "boolean",
|
|
27
|
-
description: ( localize(
|
|
27
|
+
description: ( localize(9525, "If the merge editor shows non-conflicting changes"))
|
|
28
28
|
}));
|
|
29
29
|
const ctxMergeBaseUri = ( new RawContextKey("mergeEditorBaseUri", "", {
|
|
30
30
|
type: "string",
|
|
31
|
-
description: ( localize(
|
|
31
|
+
description: ( localize(9526, "The uri of the baser of a merge editor"))
|
|
32
32
|
}));
|
|
33
33
|
const ctxMergeResultUri = ( new RawContextKey("mergeEditorResultUri", "", {
|
|
34
34
|
type: "string",
|
|
35
|
-
description: ( localize(
|
|
35
|
+
description: ( localize(9527, "The uri of the result of a merge editor"))
|
|
36
36
|
}));
|
|
37
37
|
const StorageCloseWithConflicts = "mergeEditorCloseWithConflicts";
|
|
38
38
|
|
|
@@ -3,6 +3,6 @@ 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 MultiDiffEditorIcon = registerIcon("multi-diff-editor-label-icon", Codicon.diffMultiple, ( localize(
|
|
6
|
+
const MultiDiffEditorIcon = registerIcon("multi-diff-editor-label-icon", Codicon.diffMultiple, ( localize(9533, "Icon of the multi diff editor label.")));
|
|
7
7
|
|
|
8
8
|
export { MultiDiffEditorIcon };
|
|
@@ -145,11 +145,11 @@ let MultiDiffEditorInput = class MultiDiffEditorInput extends EditorInput {
|
|
|
145
145
|
};
|
|
146
146
|
this._register(autorun(reader => {
|
|
147
147
|
const resources = this.resources.read(reader);
|
|
148
|
-
const label = this.label ?? ( localize(
|
|
148
|
+
const label = this.label ?? ( localize(9535, "Multi Diff Editor"));
|
|
149
149
|
if (resources && resources.length === 1) {
|
|
150
|
-
this._name = ( localize(
|
|
150
|
+
this._name = ( localize(9536, "{0} (1 file)", label));
|
|
151
151
|
} else if (resources) {
|
|
152
|
-
this._name = ( localize(
|
|
152
|
+
this._name = ( localize(9537, "{0} ({1} files)", label, resources.length));
|
|
153
153
|
} else {
|
|
154
154
|
this._name = label;
|
|
155
155
|
}
|