@codingame/monaco-vscode-api 8.0.1 → 8.0.2
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/api.js +1 -1
- package/extensions.d.ts +24 -0
- package/missing-services.js +2 -2
- package/package.json +8 -8
- package/services.js +2 -2
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +6 -6
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +2 -2
- package/vscode/src/vs/base/browser/ui/tree/treeDefaults.js +1 -1
- package/vscode/src/vs/editor/browser/coreCommands.js +3 -3
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +1 -1
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +9 -9
- package/vscode/src/vs/platform/markers/common/markers.js +3 -3
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +5 -5
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +129 -129
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +41 -41
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +131 -131
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +9 -9
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +61 -61
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +15 -15
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +18 -18
- package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +4 -4
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +127 -127
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +14 -14
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +7 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- 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/commentReply.js +4 -4
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +5 -5
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +29 -29
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +65 -65
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +34 -34
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +166 -166
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +24 -24
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -1
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +3 -3
- 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/notebookEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +28 -28
- 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/preferences/browser/preferencesIcons.js +12 -12
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +2 -2
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +23 -23
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +2 -2
- 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/terminal/browser/terminalEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +7 -7
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +16 -16
- 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/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- 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/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +82 -82
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- 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
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +7 -7
|
@@ -272,12 +272,12 @@ const terminalContributionsDescriptor = {
|
|
|
272
272
|
}
|
|
273
273
|
},
|
|
274
274
|
jsonSchema: {
|
|
275
|
-
description: ( localize(
|
|
275
|
+
description: ( localize(8944, 'Contributes terminal functionality.')),
|
|
276
276
|
type: 'object',
|
|
277
277
|
properties: {
|
|
278
278
|
profiles: {
|
|
279
279
|
type: 'array',
|
|
280
|
-
description: ( localize(
|
|
280
|
+
description: ( localize(8945, "Defines additional terminal profiles that the user can create.")),
|
|
281
281
|
items: {
|
|
282
282
|
type: 'object',
|
|
283
283
|
required: ['id', 'title'],
|
|
@@ -289,16 +289,16 @@ const terminalContributionsDescriptor = {
|
|
|
289
289
|
}],
|
|
290
290
|
properties: {
|
|
291
291
|
id: {
|
|
292
|
-
description: ( localize(
|
|
292
|
+
description: ( localize(8946, "The ID of the terminal profile provider.")),
|
|
293
293
|
type: 'string',
|
|
294
294
|
},
|
|
295
295
|
title: {
|
|
296
|
-
description: ( localize(
|
|
296
|
+
description: ( localize(8947, "Title for this terminal profile.")),
|
|
297
297
|
type: 'string',
|
|
298
298
|
},
|
|
299
299
|
icon: {
|
|
300
300
|
description: ( localize(
|
|
301
|
-
|
|
301
|
+
8948,
|
|
302
302
|
"A codicon, URI, or light and dark URIs to associate with this terminal type."
|
|
303
303
|
)),
|
|
304
304
|
anyOf: [{
|
|
@@ -308,11 +308,11 @@ const terminalContributionsDescriptor = {
|
|
|
308
308
|
type: 'object',
|
|
309
309
|
properties: {
|
|
310
310
|
light: {
|
|
311
|
-
description: ( localize(
|
|
311
|
+
description: ( localize(8949, 'Icon path when a light theme is used')),
|
|
312
312
|
type: 'string'
|
|
313
313
|
},
|
|
314
314
|
dark: {
|
|
315
|
-
description: ( localize(
|
|
315
|
+
description: ( localize(8950, 'Icon path when a dark theme is used')),
|
|
316
316
|
type: 'string'
|
|
317
317
|
}
|
|
318
318
|
}
|
|
@@ -38,17 +38,17 @@ var TerminalContextKeyStrings;
|
|
|
38
38
|
var TerminalContextKeys;
|
|
39
39
|
( ((function(TerminalContextKeys) {
|
|
40
40
|
TerminalContextKeys.isOpen = ( (new RawContextKey(TerminalContextKeyStrings.IsOpen, false, true)));
|
|
41
|
-
TerminalContextKeys.focus = ( (new RawContextKey(TerminalContextKeyStrings.Focus, false, ( localize(
|
|
41
|
+
TerminalContextKeys.focus = ( (new RawContextKey(TerminalContextKeyStrings.Focus, false, ( localize(8951, "Whether the terminal is focused.")))));
|
|
42
42
|
TerminalContextKeys.focusInAny = ( (new RawContextKey(TerminalContextKeyStrings.FocusInAny, false, ( localize(
|
|
43
|
-
|
|
43
|
+
8952,
|
|
44
44
|
"Whether any terminal is focused, including detached terminals used in other UI."
|
|
45
45
|
)))));
|
|
46
|
-
TerminalContextKeys.editorFocus = ( (new RawContextKey(TerminalContextKeyStrings.EditorFocus, false, ( localize(
|
|
47
|
-
TerminalContextKeys.count = ( (new RawContextKey(TerminalContextKeyStrings.Count, 0, ( localize(
|
|
46
|
+
TerminalContextKeys.editorFocus = ( (new RawContextKey(TerminalContextKeyStrings.EditorFocus, false, ( localize(8953, "Whether a terminal in the editor area is focused.")))));
|
|
47
|
+
TerminalContextKeys.count = ( (new RawContextKey(TerminalContextKeyStrings.Count, 0, ( localize(8954, "The current number of terminals.")))));
|
|
48
48
|
TerminalContextKeys.groupCount = ( (new RawContextKey(TerminalContextKeyStrings.GroupCount, 0, true)));
|
|
49
49
|
TerminalContextKeys.tabsNarrow = ( (new RawContextKey(TerminalContextKeyStrings.TabsNarrow, false, true)));
|
|
50
50
|
TerminalContextKeys.terminalHasFixedWidth = ( (new RawContextKey(TerminalContextKeyStrings.HasFixedWidth, false, true)));
|
|
51
|
-
TerminalContextKeys.tabsFocus = ( (new RawContextKey(TerminalContextKeyStrings.TabsFocus, false, ( localize(
|
|
51
|
+
TerminalContextKeys.tabsFocus = ( (new RawContextKey(TerminalContextKeyStrings.TabsFocus, false, ( localize(8955, "Whether the terminal tabs widget is focused.")))));
|
|
52
52
|
TerminalContextKeys.webExtensionContributedProfile = ( (new RawContextKey(TerminalContextKeyStrings.WebExtensionContributedProfile, false, true)));
|
|
53
53
|
TerminalContextKeys.terminalHasBeenCreated = ( (new RawContextKey(TerminalContextKeyStrings.TerminalHasBeenCreated, false, true)));
|
|
54
54
|
TerminalContextKeys.terminalEditorActive = ( (new RawContextKey(TerminalContextKeyStrings.TerminalEditorActive, false, true)));
|
|
@@ -57,16 +57,16 @@ var TerminalContextKeys;
|
|
|
57
57
|
TerminalContextKeyStrings.ShellType,
|
|
58
58
|
undefined,
|
|
59
59
|
{ type: 'string', description: ( localize(
|
|
60
|
-
|
|
60
|
+
8956,
|
|
61
61
|
"The shell type of the active terminal, this is set if the type can be detected."
|
|
62
62
|
)) }
|
|
63
63
|
)));
|
|
64
|
-
TerminalContextKeys.altBufferActive = ( (new RawContextKey(TerminalContextKeyStrings.AltBufferActive, false, ( localize(
|
|
65
|
-
TerminalContextKeys.suggestWidgetVisible = ( (new RawContextKey(TerminalContextKeyStrings.SuggestWidgetVisible, false, ( localize(
|
|
64
|
+
TerminalContextKeys.altBufferActive = ( (new RawContextKey(TerminalContextKeyStrings.AltBufferActive, false, ( localize(8957, "Whether the terminal's alt buffer is active.")))));
|
|
65
|
+
TerminalContextKeys.suggestWidgetVisible = ( (new RawContextKey(TerminalContextKeyStrings.SuggestWidgetVisible, false, ( localize(8958, "Whether the terminal's suggest widget is visible.")))));
|
|
66
66
|
TerminalContextKeys.notFocus = ( (TerminalContextKeys.focus.toNegated()));
|
|
67
|
-
TerminalContextKeys.viewShowing = ( (new RawContextKey(TerminalContextKeyStrings.ViewShowing, false, ( localize(
|
|
68
|
-
TerminalContextKeys.textSelected = ( (new RawContextKey(TerminalContextKeyStrings.TextSelected, false, ( localize(
|
|
69
|
-
TerminalContextKeys.textSelectedInFocused = ( (new RawContextKey(TerminalContextKeyStrings.TextSelectedInFocused, false, ( localize(
|
|
67
|
+
TerminalContextKeys.viewShowing = ( (new RawContextKey(TerminalContextKeyStrings.ViewShowing, false, ( localize(8959, "Whether the terminal view is showing")))));
|
|
68
|
+
TerminalContextKeys.textSelected = ( (new RawContextKey(TerminalContextKeyStrings.TextSelected, false, ( localize(8960, "Whether text is selected in the active terminal.")))));
|
|
69
|
+
TerminalContextKeys.textSelectedInFocused = ( (new RawContextKey(TerminalContextKeyStrings.TextSelectedInFocused, false, ( localize(8961, "Whether text is selected in a focused terminal.")))));
|
|
70
70
|
TerminalContextKeys.notTextSelected = ( (TerminalContextKeys.textSelected.toNegated()));
|
|
71
71
|
TerminalContextKeys.findVisible = ( (new RawContextKey(TerminalContextKeyStrings.FindVisible, false, true)));
|
|
72
72
|
TerminalContextKeys.notFindVisible = ( (TerminalContextKeys.findVisible.toNegated()));
|
|
@@ -74,20 +74,20 @@ var TerminalContextKeys;
|
|
|
74
74
|
TerminalContextKeys.findFocus = ( (new RawContextKey(TerminalContextKeyStrings.FindFocused, false, true)));
|
|
75
75
|
TerminalContextKeys.notFindFocus = ( (TerminalContextKeys.findInputFocus.toNegated()));
|
|
76
76
|
TerminalContextKeys.processSupported = ( (new RawContextKey(TerminalContextKeyStrings.ProcessSupported, false, ( localize(
|
|
77
|
-
|
|
77
|
+
8962,
|
|
78
78
|
"Whether terminal processes can be launched in the current workspace."
|
|
79
79
|
)))));
|
|
80
|
-
TerminalContextKeys.tabsSingularSelection = ( (new RawContextKey(TerminalContextKeyStrings.TabsSingularSelection, false, ( localize(
|
|
81
|
-
TerminalContextKeys.splitTerminal = ( (new RawContextKey(TerminalContextKeyStrings.SplitTerminal, false, ( localize(
|
|
80
|
+
TerminalContextKeys.tabsSingularSelection = ( (new RawContextKey(TerminalContextKeyStrings.TabsSingularSelection, false, ( localize(8963, "Whether one terminal is selected in the terminal tabs list.")))));
|
|
81
|
+
TerminalContextKeys.splitTerminal = ( (new RawContextKey(TerminalContextKeyStrings.SplitTerminal, false, ( localize(8964, "Whether the focused tab's terminal is a split terminal.")))));
|
|
82
82
|
TerminalContextKeys.inTerminalRunCommandPicker = ( (new RawContextKey(
|
|
83
83
|
TerminalContextKeyStrings.InTerminalRunCommandPicker,
|
|
84
84
|
false,
|
|
85
|
-
( localize(
|
|
85
|
+
( localize(8965, "Whether the terminal run command picker is currently open."))
|
|
86
86
|
)));
|
|
87
87
|
TerminalContextKeys.terminalShellIntegrationEnabled = ( (new RawContextKey(
|
|
88
88
|
TerminalContextKeyStrings.TerminalShellIntegrationEnabled,
|
|
89
89
|
false,
|
|
90
|
-
( localize(
|
|
90
|
+
( localize(8966, "Whether shell integration is enabled in the active terminal"))
|
|
91
91
|
)));
|
|
92
92
|
TerminalContextKeys.shouldShowViewInlineActions = ( (ContextKeyExpr.and(
|
|
93
93
|
(ContextKeyExpr.equals('view', TERMINAL_VIEW_ID)),
|
|
@@ -37,7 +37,7 @@ if (CutAction) {
|
|
|
37
37
|
MenuRegistry.appendMenuItem(MenuId.WebviewContext, {
|
|
38
38
|
command: {
|
|
39
39
|
id: CutAction.id,
|
|
40
|
-
title: ( localize(
|
|
40
|
+
title: ( localize(4366, "Cut")),
|
|
41
41
|
},
|
|
42
42
|
group: '5_cutcopypaste',
|
|
43
43
|
order: 1,
|
|
@@ -48,7 +48,7 @@ if (CopyAction) {
|
|
|
48
48
|
MenuRegistry.appendMenuItem(MenuId.WebviewContext, {
|
|
49
49
|
command: {
|
|
50
50
|
id: CopyAction.id,
|
|
51
|
-
title: ( localize(
|
|
51
|
+
title: ( localize(4367, "Copy")),
|
|
52
52
|
},
|
|
53
53
|
group: '5_cutcopypaste',
|
|
54
54
|
order: 2,
|
|
@@ -59,7 +59,7 @@ if (PasteAction) {
|
|
|
59
59
|
MenuRegistry.appendMenuItem(MenuId.WebviewContext, {
|
|
60
60
|
command: {
|
|
61
61
|
id: PasteAction.id,
|
|
62
|
-
title: ( localize(
|
|
62
|
+
title: ( localize(4368, "Paste")),
|
|
63
63
|
},
|
|
64
64
|
group: '5_cutcopypaste',
|
|
65
65
|
order: 3,
|
|
@@ -21,7 +21,7 @@ import { IWorkbenchLayoutService } from '../../../services/layout/browser/layout
|
|
|
21
21
|
var WebviewEditor_1;
|
|
22
22
|
const CONTEXT_ACTIVE_WEBVIEW_PANEL_ID = ( (new RawContextKey('activeWebviewPanelId', '', {
|
|
23
23
|
type: 'string',
|
|
24
|
-
description: ( localize(
|
|
24
|
+
description: ( localize(9520, "The viewType of the currently active webview panel.")),
|
|
25
25
|
})));
|
|
26
26
|
let WebviewEditor = class WebviewEditor extends EditorPane {
|
|
27
27
|
static { WebviewEditor_1 = this; }
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { localize } from '../../../../nls.js';
|
|
2
2
|
import { RawContextKey } from '../../../../platform/contextkey/common/contextkey.js';
|
|
3
3
|
const WorkspaceTrustContext = {
|
|
4
|
-
IsEnabled: ( (new RawContextKey('isWorkspaceTrustEnabled', false, ( localize(
|
|
5
|
-
IsTrusted: ( (new RawContextKey('isWorkspaceTrusted', false, ( localize(
|
|
4
|
+
IsEnabled: ( (new RawContextKey('isWorkspaceTrustEnabled', false, ( localize(6358, "Whether the workspace trust feature is enabled."))))),
|
|
5
|
+
IsTrusted: ( (new RawContextKey('isWorkspaceTrusted', false, ( localize(6359, "Whether the current workspace has been trusted by the user.")))))
|
|
6
6
|
};
|
|
7
7
|
const MANAGE_TRUST_COMMAND_ID = 'workbench.trust.manage';
|
|
8
8
|
export { MANAGE_TRUST_COMMAND_ID, WorkspaceTrustContext };
|
|
@@ -92,7 +92,7 @@ let AuxiliaryWindow = class AuxiliaryWindow extends BaseWindow {
|
|
|
92
92
|
preventUnload(e) {
|
|
93
93
|
e.preventDefault();
|
|
94
94
|
e.returnValue = ( localize(
|
|
95
|
-
|
|
95
|
+
4141,
|
|
96
96
|
"Changes that you made may not be saved. Please check press 'Cancel' and try again."
|
|
97
97
|
));
|
|
98
98
|
}
|
|
@@ -151,7 +151,7 @@ let BrowserAuxiliaryWindowService = class BrowserAuxiliaryWindowService extends
|
|
|
151
151
|
mark('code/auxiliaryWindow/willOpen');
|
|
152
152
|
const targetWindow = await this.openWindow(options);
|
|
153
153
|
if (!targetWindow) {
|
|
154
|
-
throw ( (new Error(localize(
|
|
154
|
+
throw ( (new Error(localize(4142, "Unable to open a new window."))));
|
|
155
155
|
}
|
|
156
156
|
const resolvedWindowId = await this.resolveWindowId(targetWindow);
|
|
157
157
|
ensureCodeWindow(targetWindow, resolvedWindowId);
|
|
@@ -224,16 +224,16 @@ let BrowserAuxiliaryWindowService = class BrowserAuxiliaryWindowService extends
|
|
|
224
224
|
return (await this.dialogService.prompt({
|
|
225
225
|
type: Severity$1.Warning,
|
|
226
226
|
message: ( localize(
|
|
227
|
-
|
|
227
|
+
4143,
|
|
228
228
|
"The browser interrupted the opening of a new window. Press 'Retry' to try again."
|
|
229
229
|
)),
|
|
230
230
|
detail: ( localize(
|
|
231
|
-
|
|
231
|
+
4144,
|
|
232
232
|
"To avoid this problem in the future, please ensure to allow popups for this website."
|
|
233
233
|
)),
|
|
234
234
|
buttons: [
|
|
235
235
|
{
|
|
236
|
-
label: ( localize(
|
|
236
|
+
label: ( localize(4145, "&&Retry")),
|
|
237
237
|
run: () => this.openWindow(options)
|
|
238
238
|
}
|
|
239
239
|
],
|
package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { localize } from '../../../../nls.js';
|
|
2
2
|
const idDescription = ( localize(
|
|
3
|
-
|
|
3
|
+
10516,
|
|
4
4
|
"The input's id is used to associate an input with a variable of the form ${input:id}."
|
|
5
5
|
));
|
|
6
|
-
const typeDescription = ( localize(
|
|
7
|
-
const descriptionDescription = ( localize(
|
|
8
|
-
const defaultDescription = ( localize(
|
|
6
|
+
const typeDescription = ( localize(10517, "The type of user input prompt to use."));
|
|
7
|
+
const descriptionDescription = ( localize(10518, "The description is shown when the user is prompted for input."));
|
|
8
|
+
const defaultDescription = ( localize(10519, "The default value for the input."));
|
|
9
9
|
const inputsSchema = {
|
|
10
10
|
definitions: {
|
|
11
11
|
inputs: {
|
|
12
12
|
type: 'array',
|
|
13
13
|
description: ( localize(
|
|
14
|
-
|
|
14
|
+
10520,
|
|
15
15
|
'User inputs. Used for defining user input prompts, such as free string input or a choice from several options.'
|
|
16
16
|
)),
|
|
17
17
|
items: {
|
|
@@ -31,7 +31,7 @@ const inputsSchema = {
|
|
|
31
31
|
enum: ['promptString'],
|
|
32
32
|
enumDescriptions: [
|
|
33
33
|
( localize(
|
|
34
|
-
|
|
34
|
+
10521,
|
|
35
35
|
"The 'promptString' type opens an input box to ask the user for input."
|
|
36
36
|
)),
|
|
37
37
|
]
|
|
@@ -47,7 +47,7 @@ const inputsSchema = {
|
|
|
47
47
|
password: {
|
|
48
48
|
type: 'boolean',
|
|
49
49
|
description: ( localize(
|
|
50
|
-
|
|
50
|
+
10522,
|
|
51
51
|
"Controls if a password input is shown. Password input hides the typed text."
|
|
52
52
|
)),
|
|
53
53
|
},
|
|
@@ -67,7 +67,7 @@ const inputsSchema = {
|
|
|
67
67
|
description: typeDescription,
|
|
68
68
|
enum: ['pickString'],
|
|
69
69
|
enumDescriptions: [
|
|
70
|
-
( localize(
|
|
70
|
+
( localize(10523, "The 'pickString' type shows a selection list.")),
|
|
71
71
|
]
|
|
72
72
|
},
|
|
73
73
|
description: {
|
|
@@ -80,7 +80,7 @@ const inputsSchema = {
|
|
|
80
80
|
},
|
|
81
81
|
options: {
|
|
82
82
|
type: 'array',
|
|
83
|
-
description: ( localize(
|
|
83
|
+
description: ( localize(10524, "An array of strings that defines the options for a quick pick.")),
|
|
84
84
|
items: {
|
|
85
85
|
oneOf: [
|
|
86
86
|
{
|
|
@@ -93,11 +93,11 @@ const inputsSchema = {
|
|
|
93
93
|
properties: {
|
|
94
94
|
label: {
|
|
95
95
|
type: 'string',
|
|
96
|
-
description: ( localize(
|
|
96
|
+
description: ( localize(10525, "Label for the option."))
|
|
97
97
|
},
|
|
98
98
|
value: {
|
|
99
99
|
type: 'string',
|
|
100
|
-
description: ( localize(
|
|
100
|
+
description: ( localize(10526, "Value for the option."))
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
}
|
|
@@ -120,26 +120,26 @@ const inputsSchema = {
|
|
|
120
120
|
description: typeDescription,
|
|
121
121
|
enum: ['command'],
|
|
122
122
|
enumDescriptions: [
|
|
123
|
-
( localize(
|
|
123
|
+
( localize(10527, "The 'command' type executes a command.")),
|
|
124
124
|
]
|
|
125
125
|
},
|
|
126
126
|
command: {
|
|
127
127
|
type: 'string',
|
|
128
|
-
description: ( localize(
|
|
128
|
+
description: ( localize(10528, "The command to execute for this input variable."))
|
|
129
129
|
},
|
|
130
130
|
args: {
|
|
131
131
|
oneOf: [
|
|
132
132
|
{
|
|
133
133
|
type: 'object',
|
|
134
|
-
description: ( localize(
|
|
134
|
+
description: ( localize(10529, "Optional arguments passed to the command."))
|
|
135
135
|
},
|
|
136
136
|
{
|
|
137
137
|
type: 'array',
|
|
138
|
-
description: ( localize(
|
|
138
|
+
description: ( localize(10529, "Optional arguments passed to the command."))
|
|
139
139
|
},
|
|
140
140
|
{
|
|
141
141
|
type: 'string',
|
|
142
|
-
description: ( localize(
|
|
142
|
+
description: ( localize(10529, "Optional arguments passed to the command."))
|
|
143
143
|
}
|
|
144
144
|
]
|
|
145
145
|
}
|
package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js
CHANGED
|
@@ -3,7 +3,7 @@ function applyDeprecatedVariableMessage(schema) {
|
|
|
3
3
|
schema.pattern = schema.pattern || '^(?!.*\\$\\{(env|config|command)\\.)';
|
|
4
4
|
schema.patternErrorMessage = schema.patternErrorMessage ||
|
|
5
5
|
( localize(
|
|
6
|
-
|
|
6
|
+
10514,
|
|
7
7
|
"'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead."
|
|
8
8
|
));
|
|
9
9
|
}
|
|
@@ -14,7 +14,7 @@ const editorAssociationsConfigurationNode = {
|
|
|
14
14
|
'workbench.editorAssociations': {
|
|
15
15
|
type: 'object',
|
|
16
16
|
markdownDescription: ( localize(
|
|
17
|
-
|
|
17
|
+
5659,
|
|
18
18
|
"Configure [glob patterns](https://aka.ms/vscode-glob-patterns) to editors (for example `\"*.hex\": \"hexEditor.hexedit\"`). These have precedence over the default behavior."
|
|
19
19
|
)),
|
|
20
20
|
additionalProperties: {
|
|
@@ -10,7 +10,7 @@ const getDefaultIconPath = () => ( (( (FileAccess.asBrowserUri('vs/workbench/ser
|
|
|
10
10
|
const extensionsConfigurationNodeBase = {
|
|
11
11
|
id: 'extensions',
|
|
12
12
|
order: 30,
|
|
13
|
-
title: ( localize(
|
|
13
|
+
title: ( localize(7542, "Extensions")),
|
|
14
14
|
type: 'object'
|
|
15
15
|
};
|
|
16
16
|
var EnablementState;
|