@codingame/monaco-vscode-api 10.0.0 → 10.0.1
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/missing-services.js +2 -2
- package/package.json +8 -8
- package/services.js +2 -2
- package/vscode/src/vs/base/browser/ui/button/button.js +1 -1
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +6 -6
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +3 -3
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +2 -2
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +6 -6
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.js +1 -1
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +1 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +7 -7
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- 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/codeAction.js +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +30 -30
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.js +10 -10
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +2 -2
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/vscode/src/vs/platform/list/browser/listService.js +27 -27
- package/vscode/src/vs/platform/markers/common/markers.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +5 -5
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -42
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.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/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +11 -11
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- 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/editorGroupView.js +7 -7
- 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/notifications/notificationsActions.js +17 -17
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +9 -9
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +13 -13
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +7 -7
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +1 -1
- package/vscode/src/vs/workbench/common/configuration.js +10 -10
- package/vscode/src/vs/workbench/common/contextkeys.js +70 -70
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAgentHover.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatAttachmentsContentPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCodeCitationContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCommandContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatConfirmationContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatReferencesContentPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTextEditContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatToolInvocationPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTreeContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDragAndDrop.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditingService.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImagePaste.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInlineAnchorWidget.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputCompletions.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +21 -21
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +15 -15
- package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +10 -10
- package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +6 -6
- 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/inspectEditorTokens/inspectEditorTokens.js +2 -2
- 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/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/breakpointWidget.js +14 -14
- 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/browser/debugSessionPicker.js +3 -3
- 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/debug/common/loadedScriptsPicker.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +173 -173
- 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/extensions/common/extensionsUtils.js +3 -3
- 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/editors/textFileSaveErrorHandler.js +18 -18
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +84 -84
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +33 -33
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +52 -52
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +7 -7
- 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/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/inlineChat/browser/inlineChatActions.js +19 -19
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +6 -6
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +41 -41
- 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/mergeEditor/browser/mergeEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +29 -29
- 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/cellOperations.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.js +2 -2
- 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/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/diff/notebookMultiDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +28 -28
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +2 -2
- 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 +2 -2
- 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 +15 -15
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -2
- 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/scm/browser/scmHistory.js +13 -13
- 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/taskService.js +5 -5
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChat.js +7 -7
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
- 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/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/filesConfiguration/common/filesConfigurationService.js +5 -5
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +2 -2
- 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 +22 -22
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- 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 +11 -11
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +17 -17
|
@@ -99,11 +99,11 @@ let NotificationsCenter = class NotificationsCenter extends Themable {
|
|
|
99
99
|
updateTitle() {
|
|
100
100
|
const [notificationsCenterTitle, clearAllAction] = assertAllDefined(this.notificationsCenterTitle, this.clearAllAction);
|
|
101
101
|
if (this.model.notifications.length === 0) {
|
|
102
|
-
notificationsCenterTitle.textContent = ( localize(
|
|
102
|
+
notificationsCenterTitle.textContent = ( localize(3094, "No new notifications"));
|
|
103
103
|
clearAllAction.enabled = false;
|
|
104
104
|
}
|
|
105
105
|
else {
|
|
106
|
-
notificationsCenterTitle.textContent = ( localize(
|
|
106
|
+
notificationsCenterTitle.textContent = ( localize(3095, "Notifications"));
|
|
107
107
|
clearAllAction.enabled = ( (this.model.notifications.some(notification => !notification.hasProgress)));
|
|
108
108
|
}
|
|
109
109
|
}
|
|
@@ -122,7 +122,7 @@ let NotificationsCenter = class NotificationsCenter extends Themable {
|
|
|
122
122
|
const actionRunner = this._register(this.instantiationService.createInstance(NotificationActionRunner));
|
|
123
123
|
const that = this;
|
|
124
124
|
const notificationsToolBar = this._register(( (new ActionBar(toolbarContainer, {
|
|
125
|
-
ariaLabel: ( localize(
|
|
125
|
+
ariaLabel: ( localize(3096, "Notification Center Actions")),
|
|
126
126
|
actionRunner,
|
|
127
127
|
actionViewItemProvider: (action, options) => {
|
|
128
128
|
if (action.id === ConfigureDoNotDisturbAction.ID) {
|
|
@@ -130,7 +130,7 @@ let NotificationsCenter = class NotificationsCenter extends Themable {
|
|
|
130
130
|
getActions() {
|
|
131
131
|
const actions = [toAction({
|
|
132
132
|
id: ToggleDoNotDisturbAction.ID,
|
|
133
|
-
label: that.notificationService.getFilter() === NotificationsFilter.OFF ? ( localize(
|
|
133
|
+
label: that.notificationService.getFilter() === NotificationsFilter.OFF ? ( localize(3097, "Enable Do Not Disturb Mode")) : ( localize(3098, "Disable Do Not Disturb Mode")),
|
|
134
134
|
run: () => that.notificationService.setFilter(that.notificationService.getFilter() === NotificationsFilter.OFF ? NotificationsFilter.ERROR : NotificationsFilter.OFF)
|
|
135
135
|
})];
|
|
136
136
|
const sortedFilters = that.notificationService.getFilters().sort((a, b) => a.label.localeCompare(b.label));
|
|
@@ -150,7 +150,7 @@ let NotificationsCenter = class NotificationsCenter extends Themable {
|
|
|
150
150
|
}
|
|
151
151
|
if (sortedFilters.length > NotificationsCenter_1.MAX_NOTIFICATION_SOURCES) {
|
|
152
152
|
actions.push(( (new Separator())));
|
|
153
|
-
actions.push(that._register(that.instantiationService.createInstance(ToggleDoNotDisturbBySourceAction, ToggleDoNotDisturbBySourceAction.ID, ( localize(
|
|
153
|
+
actions.push(that._register(that.instantiationService.createInstance(ToggleDoNotDisturbBySourceAction, ToggleDoNotDisturbBySourceAction.ID, ( localize(3099, "More…")))));
|
|
154
154
|
}
|
|
155
155
|
return actions;
|
|
156
156
|
},
|
|
@@ -171,7 +171,7 @@ let NotificationsCenter = class NotificationsCenter extends Themable {
|
|
|
171
171
|
const hideAllAction = this._register(this.instantiationService.createInstance(HideNotificationsCenterAction, HideNotificationsCenterAction.ID, HideNotificationsCenterAction.LABEL));
|
|
172
172
|
notificationsToolBar.push(hideAllAction, { icon: true, label: false, keybinding: this.getKeybindingLabel(hideAllAction) });
|
|
173
173
|
this.notificationsList = this.instantiationService.createInstance(NotificationsList, this.notificationsCenterContainer, {
|
|
174
|
-
widgetAriaLabel: ( localize(
|
|
174
|
+
widgetAriaLabel: ( localize(3100, "Notifications Center"))
|
|
175
175
|
});
|
|
176
176
|
this.container.appendChild(this.notificationsCenterContainer);
|
|
177
177
|
}
|
|
@@ -234,7 +234,7 @@ function registerNotificationCommands(center, toasts, model) {
|
|
|
234
234
|
filter: source.filter
|
|
235
235
|
}))));
|
|
236
236
|
picker.canSelectMany = true;
|
|
237
|
-
picker.placeholder = ( localize(
|
|
237
|
+
picker.placeholder = ( localize(3085, "Select sources to enable all notifications from"));
|
|
238
238
|
picker.selectedItems = picker.items.filter(item => item.filter === NotificationsFilter.OFF);
|
|
239
239
|
picker.show();
|
|
240
240
|
disposables.add(picker.onDidAccept(async () => {
|
|
@@ -249,14 +249,14 @@ function registerNotificationCommands(center, toasts, model) {
|
|
|
249
249
|
}));
|
|
250
250
|
disposables.add(picker.onDidHide(() => disposables.dispose()));
|
|
251
251
|
});
|
|
252
|
-
const category = ( localize2(
|
|
253
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: SHOW_NOTIFICATIONS_CENTER, title: ( localize2(
|
|
254
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: HIDE_NOTIFICATIONS_CENTER, title: ( localize2(
|
|
255
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLEAR_ALL_NOTIFICATIONS, title: ( localize2(
|
|
256
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: ACCEPT_PRIMARY_ACTION_NOTIFICATION, title: ( localize2(
|
|
257
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: TOGGLE_DO_NOT_DISTURB_MODE, title: ( localize2(
|
|
258
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: TOGGLE_DO_NOT_DISTURB_MODE_BY_SOURCE, title: ( localize2(
|
|
259
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: FOCUS_NOTIFICATION_TOAST, title: ( localize2(
|
|
252
|
+
const category = ( localize2(3086, 'Notifications'));
|
|
253
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: SHOW_NOTIFICATIONS_CENTER, title: ( localize2(3087, 'Show Notifications')), category } });
|
|
254
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: HIDE_NOTIFICATIONS_CENTER, title: ( localize2(3088, 'Hide Notifications')), category }, when: NotificationsCenterVisibleContext });
|
|
255
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLEAR_ALL_NOTIFICATIONS, title: ( localize2(3089, 'Clear All Notifications')), category } });
|
|
256
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: ACCEPT_PRIMARY_ACTION_NOTIFICATION, title: ( localize2(3090, 'Accept Notification Primary Action')), category } });
|
|
257
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: TOGGLE_DO_NOT_DISTURB_MODE, title: ( localize2(3091, 'Toggle Do Not Disturb Mode')), category } });
|
|
258
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: TOGGLE_DO_NOT_DISTURB_MODE_BY_SOURCE, title: ( localize2(3092, 'Toggle Do Not Disturb Mode By Source...')), category } });
|
|
259
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: FOCUS_NOTIFICATION_TOAST, title: ( localize2(3093, 'Focus Notification Toast')), category }, when: NotificationsToastsVisibleContext });
|
|
260
260
|
}
|
|
261
261
|
let NotificationActionRunner = class NotificationActionRunner extends ActionRunner {
|
|
262
262
|
constructor(telemetryService, notificationService) {
|
|
@@ -168,29 +168,29 @@ let NotificationAccessibilityProvider = class NotificationAccessibilityProvider
|
|
|
168
168
|
let accessibleViewHint;
|
|
169
169
|
const keybinding = this._keybindingService.lookupKeybinding('editor.action.accessibleView')?.getAriaLabel();
|
|
170
170
|
if (this._configurationService.getValue('accessibility.verbosity.notification')) {
|
|
171
|
-
accessibleViewHint = keybinding ? ( localize(
|
|
172
|
-
|
|
171
|
+
accessibleViewHint = keybinding ? ( localize(7087, "Inspect the response in the accessible view with {0}", keybinding)) : ( localize(
|
|
172
|
+
7088,
|
|
173
173
|
"Inspect the response in the accessible view via the command Open Accessible View which is currently not triggerable via keybinding"
|
|
174
174
|
));
|
|
175
175
|
}
|
|
176
176
|
if (!element.source) {
|
|
177
|
-
return accessibleViewHint ? ( localize(
|
|
177
|
+
return accessibleViewHint ? ( localize(7089, "{0}, notification, {1}", element.message.raw, accessibleViewHint)) : ( localize(7090, "{0}, notification", element.message.raw));
|
|
178
178
|
}
|
|
179
179
|
return accessibleViewHint ? ( localize(
|
|
180
|
-
|
|
180
|
+
7091,
|
|
181
181
|
"{0}, source: {1}, notification, {2}",
|
|
182
182
|
element.message.raw,
|
|
183
183
|
element.source,
|
|
184
184
|
accessibleViewHint
|
|
185
185
|
)) : ( localize(
|
|
186
|
-
|
|
186
|
+
7092,
|
|
187
187
|
"{0}, source: {1}, notification",
|
|
188
188
|
element.message.raw,
|
|
189
189
|
element.source
|
|
190
190
|
));
|
|
191
191
|
}
|
|
192
192
|
getWidgetAriaLabel() {
|
|
193
|
-
return this._options.widgetAriaLabel ?? ( localize(
|
|
193
|
+
return this._options.widgetAriaLabel ?? ( localize(7093, "Notifications List"));
|
|
194
194
|
}
|
|
195
195
|
getRole() {
|
|
196
196
|
return 'dialog';
|
|
@@ -46,9 +46,9 @@ let NotificationsStatus = class NotificationsStatus extends Disposable {
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
let statusProperties = {
|
|
49
|
-
name: ( localize(
|
|
49
|
+
name: ( localize(3104, "Notifications")),
|
|
50
50
|
text: `${notificationsInProgress > 0 || this.newNotificationsCount > 0 ? '$(bell-dot)' : '$(bell)'}`,
|
|
51
|
-
ariaLabel: ( localize(
|
|
51
|
+
ariaLabel: ( localize(3104, "Notifications")),
|
|
52
52
|
command: this.isNotificationsCenterVisible ? HIDE_NOTIFICATIONS_CENTER : SHOW_NOTIFICATIONS_CENTER,
|
|
53
53
|
tooltip: this.getTooltip(notificationsInProgress),
|
|
54
54
|
showBeak: this.isNotificationsCenterVisible
|
|
@@ -57,8 +57,8 @@ let NotificationsStatus = class NotificationsStatus extends Disposable {
|
|
|
57
57
|
statusProperties = {
|
|
58
58
|
...statusProperties,
|
|
59
59
|
text: `${notificationsInProgress > 0 || this.newNotificationsCount > 0 ? '$(bell-slash-dot)' : '$(bell-slash)'}`,
|
|
60
|
-
ariaLabel: ( localize(
|
|
61
|
-
tooltip: ( localize(
|
|
60
|
+
ariaLabel: ( localize(3105, "Do Not Disturb")),
|
|
61
|
+
tooltip: ( localize(3106, "Do Not Disturb Mode is Enabled"))
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
64
|
if (!this.notificationsCenterStatusItem) {
|
|
@@ -70,28 +70,28 @@ let NotificationsStatus = class NotificationsStatus extends Disposable {
|
|
|
70
70
|
}
|
|
71
71
|
getTooltip(notificationsInProgress) {
|
|
72
72
|
if (this.isNotificationsCenterVisible) {
|
|
73
|
-
return ( localize(
|
|
73
|
+
return ( localize(3107, "Hide Notifications"));
|
|
74
74
|
}
|
|
75
75
|
if (this.model.notifications.length === 0) {
|
|
76
|
-
return ( localize(
|
|
76
|
+
return ( localize(3108, "No Notifications"));
|
|
77
77
|
}
|
|
78
78
|
if (notificationsInProgress === 0) {
|
|
79
79
|
if (this.newNotificationsCount === 0) {
|
|
80
|
-
return ( localize(
|
|
80
|
+
return ( localize(3109, "No New Notifications"));
|
|
81
81
|
}
|
|
82
82
|
if (this.newNotificationsCount === 1) {
|
|
83
|
-
return ( localize(
|
|
83
|
+
return ( localize(3110, "1 New Notification"));
|
|
84
84
|
}
|
|
85
|
-
return ( localize(
|
|
85
|
+
return ( localize(3111, "{0} New Notifications", this.newNotificationsCount));
|
|
86
86
|
}
|
|
87
87
|
if (this.newNotificationsCount === 0) {
|
|
88
|
-
return ( localize(
|
|
88
|
+
return ( localize(3112, "No New Notifications ({0} in progress)", notificationsInProgress));
|
|
89
89
|
}
|
|
90
90
|
if (this.newNotificationsCount === 1) {
|
|
91
|
-
return ( localize(
|
|
91
|
+
return ( localize(3113, "1 New Notification ({0} in progress)", notificationsInProgress));
|
|
92
92
|
}
|
|
93
93
|
return ( localize(
|
|
94
|
-
|
|
94
|
+
3114,
|
|
95
95
|
"{0} New Notifications ({1} in progress)",
|
|
96
96
|
this.newNotificationsCount,
|
|
97
97
|
notificationsInProgress
|
|
@@ -136,7 +136,7 @@ let NotificationsStatus = class NotificationsStatus extends Disposable {
|
|
|
136
136
|
let statusMessageEntry;
|
|
137
137
|
let showHandle = setTimeout(() => {
|
|
138
138
|
statusMessageEntry = this.statusbarService.addEntry({
|
|
139
|
-
name: ( localize(
|
|
139
|
+
name: ( localize(3115, "Status Message")),
|
|
140
140
|
text: message,
|
|
141
141
|
ariaLabel: message
|
|
142
142
|
}, 'status.message', 0 , -Number.MAX_VALUE );
|
|
@@ -136,9 +136,9 @@ let NotificationsToasts = class NotificationsToasts extends Themable {
|
|
|
136
136
|
verticalScrollMode: 2 ,
|
|
137
137
|
widgetAriaLabel: (() => {
|
|
138
138
|
if (!item.source) {
|
|
139
|
-
return ( localize(
|
|
139
|
+
return ( localize(3082, "{0}, notification", item.message.raw));
|
|
140
140
|
}
|
|
141
|
-
return ( localize(
|
|
141
|
+
return ( localize(3083, "{0}, source: {1}, notification", item.message.raw, item.source));
|
|
142
142
|
})()
|
|
143
143
|
});
|
|
144
144
|
itemDisposables.add(notificationList);
|
|
@@ -95,7 +95,7 @@ class NotificationMessageRenderer {
|
|
|
95
95
|
let title = node.title;
|
|
96
96
|
if (!title && node.href.startsWith('command:')) {
|
|
97
97
|
title = ( localize(
|
|
98
|
-
|
|
98
|
+
10680,
|
|
99
99
|
"Click to execute command '{0}'",
|
|
100
100
|
node.href.substr('command:'.length)
|
|
101
101
|
));
|
|
@@ -154,7 +154,7 @@ let NotificationRenderer = class NotificationRenderer {
|
|
|
154
154
|
const toolbarContainer = document.createElement('div');
|
|
155
155
|
toolbarContainer.classList.add('notification-list-item-toolbar-container');
|
|
156
156
|
data.toolbar = ( (new ActionBar(toolbarContainer, {
|
|
157
|
-
ariaLabel: ( localize(
|
|
157
|
+
ariaLabel: ( localize(10681, "Notification Actions")),
|
|
158
158
|
actionViewItemProvider: (action, options) => {
|
|
159
159
|
if (action instanceof ConfigureNotificationAction) {
|
|
160
160
|
return data.toDispose.add(( (new DropdownMenuActionViewItem(action, {
|
|
@@ -165,7 +165,7 @@ let NotificationRenderer = class NotificationRenderer {
|
|
|
165
165
|
const isSourceFiltered = that.notificationService.getFilter(source) === NotificationsFilter.ERROR;
|
|
166
166
|
actions.push(toAction({
|
|
167
167
|
id: source.id,
|
|
168
|
-
label: isSourceFiltered ? ( localize(
|
|
168
|
+
label: isSourceFiltered ? ( localize(10682, "Turn On All Notifications from '{0}'", source.label)) : ( localize(10683, "Turn Off Info and Warning Notifications from '{0}'", source.label)),
|
|
169
169
|
run: () => that.notificationService.setFilter({ ...source, filter: isSourceFiltered ? NotificationsFilter.OFF : NotificationsFilter.ERROR })
|
|
170
170
|
}));
|
|
171
171
|
if (action.notification.actions?.secondary?.length) {
|
|
@@ -327,7 +327,7 @@ let NotificationTemplateRenderer = class NotificationTemplateRenderer extends Di
|
|
|
327
327
|
}
|
|
328
328
|
renderSource(notification, sourceCustomHover) {
|
|
329
329
|
if (notification.expanded && notification.source) {
|
|
330
|
-
this.template.source.textContent = ( localize(
|
|
330
|
+
this.template.source.textContent = ( localize(10684, "Source: {0}", notification.source));
|
|
331
331
|
sourceCustomHover.update(notification.source);
|
|
332
332
|
}
|
|
333
333
|
else {
|
|
@@ -173,7 +173,7 @@ function isTreeCommandEnabled(treeCommand, contextKeyService) {
|
|
|
173
173
|
function isRenderedMessageValue(messageValue) {
|
|
174
174
|
return !!messageValue && typeof messageValue !== 'string' && 'element' in messageValue && 'disposables' in messageValue;
|
|
175
175
|
}
|
|
176
|
-
const noDataProviderMessage = ( localize(
|
|
176
|
+
const noDataProviderMessage = ( localize(9629, "There is no data provider registered that can provide view data."));
|
|
177
177
|
const RawCustomTreeViewContextKey = ( (new RawContextKey('customTreeView', false)));
|
|
178
178
|
class Tree extends WorkbenchAsyncDataTree {
|
|
179
179
|
}
|
|
@@ -411,7 +411,7 @@ let AbstractTreeView = class AbstractTreeView extends Disposable {
|
|
|
411
411
|
initializeShowCollapseAllAction(startingValue = false) {
|
|
412
412
|
if (!this.collapseAllContext) {
|
|
413
413
|
this.collapseAllContextKey = ( (new RawContextKey(`treeView.${this.id}.enableCollapseAll`, startingValue, ( localize(
|
|
414
|
-
|
|
414
|
+
9630,
|
|
415
415
|
"Whether the the tree view with id {0} enables collapse all.",
|
|
416
416
|
this.id
|
|
417
417
|
)))));
|
|
@@ -429,7 +429,7 @@ let AbstractTreeView = class AbstractTreeView extends Disposable {
|
|
|
429
429
|
}
|
|
430
430
|
initializeShowRefreshAction(startingValue = false) {
|
|
431
431
|
if (!this.refreshContext) {
|
|
432
|
-
this.refreshContextKey = ( (new RawContextKey(`treeView.${this.id}.enableRefresh`, startingValue, ( localize(
|
|
432
|
+
this.refreshContextKey = ( (new RawContextKey(`treeView.${this.id}.enableRefresh`, startingValue, ( localize(9631, "Whether the tree view with id {0} enables refresh.", this.id)))));
|
|
433
433
|
this.refreshContext = this.refreshContextKey.bindTo(this.contextKeyService);
|
|
434
434
|
}
|
|
435
435
|
}
|
|
@@ -447,7 +447,7 @@ let AbstractTreeView = class AbstractTreeView extends Disposable {
|
|
|
447
447
|
constructor() {
|
|
448
448
|
super({
|
|
449
449
|
id: `workbench.actions.treeView.${that.id}.refresh`,
|
|
450
|
-
title: ( localize(
|
|
450
|
+
title: ( localize(9632, "Refresh")),
|
|
451
451
|
menu: {
|
|
452
452
|
id: MenuId.ViewTitle,
|
|
453
453
|
when: ( (ContextKeyExpr.and(
|
|
@@ -468,7 +468,7 @@ let AbstractTreeView = class AbstractTreeView extends Disposable {
|
|
|
468
468
|
constructor() {
|
|
469
469
|
super({
|
|
470
470
|
id: `workbench.actions.treeView.${that.id}.collapseAll`,
|
|
471
|
-
title: ( localize(
|
|
471
|
+
title: ( localize(9633, "Collapse All")),
|
|
472
472
|
menu: {
|
|
473
473
|
id: MenuId.ViewTitle,
|
|
474
474
|
when: ( (ContextKeyExpr.and(
|
|
@@ -937,7 +937,7 @@ let AbstractTreeView = class AbstractTreeView extends Disposable {
|
|
|
937
937
|
initializeCollapseAllToggle() {
|
|
938
938
|
if (!this.collapseAllToggleContext) {
|
|
939
939
|
this.collapseAllToggleContextKey = ( (new RawContextKey(`treeView.${this.id}.toggleCollapseAll`, false, ( localize(
|
|
940
|
-
|
|
940
|
+
9634,
|
|
941
941
|
"Whether collapse all is toggled for the tree view with id {0}.",
|
|
942
942
|
this.id
|
|
943
943
|
)))));
|
|
@@ -1412,7 +1412,7 @@ class MultipleSelectionActionRunner extends ActionRunner {
|
|
|
1412
1412
|
this._register(this.onDidRun(e => {
|
|
1413
1413
|
if (e.error && !isCancellationError(e.error)) {
|
|
1414
1414
|
notificationService.error(( localize(
|
|
1415
|
-
|
|
1415
|
+
9635,
|
|
1416
1416
|
'Error running command {1}: {0}. This is likely caused by the extension that contributes {1}.',
|
|
1417
1417
|
e.error.message,
|
|
1418
1418
|
e.action.id
|
|
@@ -32,7 +32,7 @@ const viewFilterMenu = ( (new MenuId('menu.view.filter')));
|
|
|
32
32
|
const viewFilterSubmenu = ( (new MenuId('submenu.view.filter')));
|
|
33
33
|
MenuRegistry.appendMenuItem(viewFilterMenu, {
|
|
34
34
|
submenu: viewFilterSubmenu,
|
|
35
|
-
title: ( localize(
|
|
35
|
+
title: ( localize(5709, "More Filters...")),
|
|
36
36
|
group: 'navigation',
|
|
37
37
|
icon: Codicon.filter,
|
|
38
38
|
});
|
|
@@ -14,32 +14,32 @@ import { IUserDataProfilesService } from '../../platform/userDataProfile/common/
|
|
|
14
14
|
const applicationConfigurationNodeBase = ( (Object.freeze({
|
|
15
15
|
'id': 'application',
|
|
16
16
|
'order': 100,
|
|
17
|
-
'title': ( localize(
|
|
17
|
+
'title': ( localize(4482, "Application")),
|
|
18
18
|
'type': 'object'
|
|
19
19
|
})));
|
|
20
20
|
const workbenchConfigurationNodeBase = ( (Object.freeze({
|
|
21
21
|
'id': 'workbench',
|
|
22
22
|
'order': 7,
|
|
23
|
-
'title': ( localize(
|
|
23
|
+
'title': ( localize(4483, "Workbench")),
|
|
24
24
|
'type': 'object',
|
|
25
25
|
})));
|
|
26
26
|
const securityConfigurationNodeBase = ( (Object.freeze({
|
|
27
27
|
'id': 'security',
|
|
28
28
|
'scope': 1 ,
|
|
29
|
-
'title': ( localize(
|
|
29
|
+
'title': ( localize(4484, "Security")),
|
|
30
30
|
'type': 'object',
|
|
31
31
|
'order': 7
|
|
32
32
|
})));
|
|
33
33
|
const problemsConfigurationNodeBase = ( (Object.freeze({
|
|
34
34
|
'id': 'problems',
|
|
35
|
-
'title': ( localize(
|
|
35
|
+
'title': ( localize(4485, "Problems")),
|
|
36
36
|
'type': 'object',
|
|
37
37
|
'order': 101
|
|
38
38
|
})));
|
|
39
39
|
const windowConfigurationNodeBase = ( (Object.freeze({
|
|
40
40
|
'id': 'window',
|
|
41
41
|
'order': 8,
|
|
42
|
-
'title': ( localize(
|
|
42
|
+
'title': ( localize(4486, "Window")),
|
|
43
43
|
'type': 'object',
|
|
44
44
|
})));
|
|
45
45
|
const Extensions = {
|
|
@@ -176,11 +176,11 @@ let DynamicWorkbenchSecurityConfiguration = class DynamicWorkbenchSecurityConfig
|
|
|
176
176
|
'items': {
|
|
177
177
|
'type': 'string',
|
|
178
178
|
'pattern': '^[^\\\\]+$',
|
|
179
|
-
'patternErrorMessage': ( localize(
|
|
179
|
+
'patternErrorMessage': ( localize(4487, 'UNC host names must not contain backslashes.'))
|
|
180
180
|
},
|
|
181
181
|
'default': [],
|
|
182
182
|
'markdownDescription': ( localize(
|
|
183
|
-
|
|
183
|
+
4488,
|
|
184
184
|
'A set of UNC host names (without leading or trailing backslash, for example `192.168.0.1` or `my-server`) to allow without user confirmation. If a UNC host is being accessed that is not allowed via this setting or has not been acknowledged via user confirmation, an error will occur and the operation stopped. A restart is required when changing this setting. Find out more about this setting at https://aka.ms/vscode-windows-unc.'
|
|
185
185
|
)),
|
|
186
186
|
'scope': 2
|
|
@@ -189,7 +189,7 @@ let DynamicWorkbenchSecurityConfiguration = class DynamicWorkbenchSecurityConfig
|
|
|
189
189
|
'type': 'boolean',
|
|
190
190
|
'default': true,
|
|
191
191
|
'markdownDescription': ( localize(
|
|
192
|
-
|
|
192
|
+
4489,
|
|
193
193
|
'If enabled, only allows access to UNC host names that are allowed by the `#security.allowedUNCHosts#` setting or after user confirmation. Find out more about this setting at https://aka.ms/vscode-windows-unc.'
|
|
194
194
|
)),
|
|
195
195
|
'scope': 2
|
|
@@ -228,9 +228,9 @@ let DynamicWindowConfiguration = class DynamicWindowConfiguration extends Dispos
|
|
|
228
228
|
'type': ['string', 'null'],
|
|
229
229
|
'default': null,
|
|
230
230
|
'enum': [...( (this.userDataProfilesService.profiles.map(profile => profile.name))), null],
|
|
231
|
-
'enumItemLabels': [...( (this.userDataProfilesService.profiles.map(p => ''))), ( localize(
|
|
231
|
+
'enumItemLabels': [...( (this.userDataProfilesService.profiles.map(p => ''))), ( localize(4490, "Active Window"))],
|
|
232
232
|
'description': ( localize(
|
|
233
|
-
|
|
233
|
+
4491,
|
|
234
234
|
"Specifies the profile to use when opening a new window. If a profile name is provided, the new window will use that profile. If no profile name is provided, the new window will use the profile of the active window or the Default profile if no active window exists."
|
|
235
235
|
)),
|
|
236
236
|
'scope': 1 ,
|
|
@@ -12,129 +12,129 @@ import { DEFAULT_EDITOR_ASSOCIATION } from './editor.js';
|
|
|
12
12
|
import { isLinux } from '../../base/common/platform.js';
|
|
13
13
|
var ResourceContextKey_1;
|
|
14
14
|
const WorkbenchStateContext = ( (new RawContextKey('workbenchState', undefined, { type: 'string', description: ( localize(
|
|
15
|
-
|
|
15
|
+
495,
|
|
16
16
|
"The kind of workspace opened in the window, either 'empty' (no workspace), 'folder' (single folder) or 'workspace' (multi-root workspace)"
|
|
17
17
|
)) })));
|
|
18
|
-
const WorkspaceFolderCountContext = ( (new RawContextKey('workspaceFolderCount', 0, ( localize(
|
|
18
|
+
const WorkspaceFolderCountContext = ( (new RawContextKey('workspaceFolderCount', 0, ( localize(496, "The number of root folders in the workspace")))));
|
|
19
19
|
const OpenFolderWorkspaceSupportContext = ( (new RawContextKey('openFolderWorkspaceSupport', true, true)));
|
|
20
20
|
const EnterMultiRootWorkspaceSupportContext = ( (new RawContextKey('enterMultiRootWorkspaceSupport', true, true)));
|
|
21
21
|
const EmptyWorkspaceSupportContext = ( (new RawContextKey('emptyWorkspaceSupport', true, true)));
|
|
22
|
-
const DirtyWorkingCopiesContext = ( (new RawContextKey('dirtyWorkingCopies', false, ( localize(
|
|
22
|
+
const DirtyWorkingCopiesContext = ( (new RawContextKey('dirtyWorkingCopies', false, ( localize(497, "Whether there are any working copies with unsaved changes")))));
|
|
23
23
|
const RemoteNameContext = ( (new RawContextKey('remoteName', '', ( localize(
|
|
24
|
-
|
|
24
|
+
498,
|
|
25
25
|
"The name of the remote the window is connected to or an empty string if not connected to any remote"
|
|
26
26
|
)))));
|
|
27
27
|
const VirtualWorkspaceContext = ( (new RawContextKey('virtualWorkspace', '', ( localize(
|
|
28
|
-
|
|
28
|
+
499,
|
|
29
29
|
"The scheme of the current workspace is from a virtual file system or an empty string."
|
|
30
30
|
)))));
|
|
31
31
|
const TemporaryWorkspaceContext = ( (new RawContextKey('temporaryWorkspace', false, ( localize(
|
|
32
|
-
|
|
32
|
+
500,
|
|
33
33
|
"The scheme of the current workspace is from a temporary file system."
|
|
34
34
|
)))));
|
|
35
|
-
const IsMainWindowFullscreenContext = ( (new RawContextKey('isFullscreen', false, ( localize(
|
|
36
|
-
const IsAuxiliaryWindowFocusedContext = ( (new RawContextKey('isAuxiliaryWindowFocusedContext', false, ( localize(
|
|
35
|
+
const IsMainWindowFullscreenContext = ( (new RawContextKey('isFullscreen', false, ( localize(501, "Whether the main window is in fullscreen mode")))));
|
|
36
|
+
const IsAuxiliaryWindowFocusedContext = ( (new RawContextKey('isAuxiliaryWindowFocusedContext', false, ( localize(502, "Whether an auxiliary window is focused")))));
|
|
37
37
|
const HasWebFileSystemAccess = ( (new RawContextKey('hasWebFileSystemAccess', false, true)));
|
|
38
38
|
const EmbedderIdentifierContext = ( (new RawContextKey('embedderIdentifier', undefined, ( localize(
|
|
39
|
-
|
|
39
|
+
503,
|
|
40
40
|
'The identifier of the embedder according to the product service, if one is defined'
|
|
41
41
|
)))));
|
|
42
|
-
const ActiveEditorDirtyContext = ( (new RawContextKey('activeEditorIsDirty', false, ( localize(
|
|
43
|
-
const ActiveEditorPinnedContext = ( (new RawContextKey('activeEditorIsNotPreview', false, ( localize(
|
|
44
|
-
const ActiveEditorFirstInGroupContext = ( (new RawContextKey('activeEditorIsFirstInGroup', false, ( localize(
|
|
45
|
-
const ActiveEditorLastInGroupContext = ( (new RawContextKey('activeEditorIsLastInGroup', false, ( localize(
|
|
46
|
-
const ActiveEditorStickyContext = ( (new RawContextKey('activeEditorIsPinned', false, ( localize(
|
|
47
|
-
const ActiveEditorReadonlyContext = ( (new RawContextKey('activeEditorIsReadonly', false, ( localize(
|
|
48
|
-
const ActiveCompareEditorCanSwapContext = ( (new RawContextKey('activeCompareEditorCanSwap', false, ( localize(
|
|
42
|
+
const ActiveEditorDirtyContext = ( (new RawContextKey('activeEditorIsDirty', false, ( localize(504, "Whether the active editor has unsaved changes")))));
|
|
43
|
+
const ActiveEditorPinnedContext = ( (new RawContextKey('activeEditorIsNotPreview', false, ( localize(505, "Whether the active editor is not in preview mode")))));
|
|
44
|
+
const ActiveEditorFirstInGroupContext = ( (new RawContextKey('activeEditorIsFirstInGroup', false, ( localize(506, "Whether the active editor is the first one in its group")))));
|
|
45
|
+
const ActiveEditorLastInGroupContext = ( (new RawContextKey('activeEditorIsLastInGroup', false, ( localize(507, "Whether the active editor is the last one in its group")))));
|
|
46
|
+
const ActiveEditorStickyContext = ( (new RawContextKey('activeEditorIsPinned', false, ( localize(508, "Whether the active editor is pinned")))));
|
|
47
|
+
const ActiveEditorReadonlyContext = ( (new RawContextKey('activeEditorIsReadonly', false, ( localize(509, "Whether the active editor is read-only")))));
|
|
48
|
+
const ActiveCompareEditorCanSwapContext = ( (new RawContextKey('activeCompareEditorCanSwap', false, ( localize(510, "Whether the active compare editor can swap sides")))));
|
|
49
49
|
const ActiveEditorCanToggleReadonlyContext = ( (new RawContextKey('activeEditorCanToggleReadonly', true, ( localize(
|
|
50
|
-
|
|
50
|
+
511,
|
|
51
51
|
"Whether the active editor can toggle between being read-only or writeable"
|
|
52
52
|
)))));
|
|
53
|
-
const ActiveEditorCanRevertContext = ( (new RawContextKey('activeEditorCanRevert', false, ( localize(
|
|
53
|
+
const ActiveEditorCanRevertContext = ( (new RawContextKey('activeEditorCanRevert', false, ( localize(512, "Whether the active editor can revert")))));
|
|
54
54
|
const ActiveEditorCanSplitInGroupContext = ( (new RawContextKey('activeEditorCanSplitInGroup', true)));
|
|
55
|
-
const ActiveEditorContext = ( (new RawContextKey('activeEditor', null, { type: 'string', description: ( localize(
|
|
55
|
+
const ActiveEditorContext = ( (new RawContextKey('activeEditor', null, { type: 'string', description: ( localize(513, "The identifier of the active editor")) })));
|
|
56
56
|
const ActiveEditorAvailableEditorIdsContext = ( (new RawContextKey('activeEditorAvailableEditorIds', '', ( localize(
|
|
57
|
-
|
|
57
|
+
514,
|
|
58
58
|
"The available editor identifiers that are usable for the active editor"
|
|
59
59
|
)))));
|
|
60
|
-
const TextCompareEditorVisibleContext = ( (new RawContextKey('textCompareEditorVisible', false, ( localize(
|
|
61
|
-
const TextCompareEditorActiveContext = ( (new RawContextKey('textCompareEditorActive', false, ( localize(
|
|
62
|
-
const SideBySideEditorActiveContext = ( (new RawContextKey('sideBySideEditorActive', false, ( localize(
|
|
63
|
-
const EditorGroupEditorsCountContext = ( (new RawContextKey('groupEditorsCount', 0, ( localize(
|
|
64
|
-
const ActiveEditorGroupEmptyContext = ( (new RawContextKey('activeEditorGroupEmpty', false, ( localize(
|
|
65
|
-
const ActiveEditorGroupIndexContext = ( (new RawContextKey('activeEditorGroupIndex', 0, ( localize(
|
|
66
|
-
const ActiveEditorGroupLastContext = ( (new RawContextKey('activeEditorGroupLast', false, ( localize(
|
|
67
|
-
const ActiveEditorGroupLockedContext = ( (new RawContextKey('activeEditorGroupLocked', false, ( localize(
|
|
68
|
-
const MultipleEditorGroupsContext = ( (new RawContextKey('multipleEditorGroups', false, ( localize(
|
|
69
|
-
const MultipleEditorsSelectedInGroupContext = ( (new RawContextKey('multipleEditorsSelectedInGroup', false, ( localize(
|
|
70
|
-
const TwoEditorsSelectedInGroupContext = ( (new RawContextKey('twoEditorsSelectedInGroup', false, ( localize(
|
|
60
|
+
const TextCompareEditorVisibleContext = ( (new RawContextKey('textCompareEditorVisible', false, ( localize(515, "Whether a text compare editor is visible")))));
|
|
61
|
+
const TextCompareEditorActiveContext = ( (new RawContextKey('textCompareEditorActive', false, ( localize(516, "Whether a text compare editor is active")))));
|
|
62
|
+
const SideBySideEditorActiveContext = ( (new RawContextKey('sideBySideEditorActive', false, ( localize(517, "Whether a side by side editor is active")))));
|
|
63
|
+
const EditorGroupEditorsCountContext = ( (new RawContextKey('groupEditorsCount', 0, ( localize(518, "The number of opened editor groups")))));
|
|
64
|
+
const ActiveEditorGroupEmptyContext = ( (new RawContextKey('activeEditorGroupEmpty', false, ( localize(519, "Whether the active editor group is empty")))));
|
|
65
|
+
const ActiveEditorGroupIndexContext = ( (new RawContextKey('activeEditorGroupIndex', 0, ( localize(520, "The index of the active editor group")))));
|
|
66
|
+
const ActiveEditorGroupLastContext = ( (new RawContextKey('activeEditorGroupLast', false, ( localize(521, "Whether the active editor group is the last group")))));
|
|
67
|
+
const ActiveEditorGroupLockedContext = ( (new RawContextKey('activeEditorGroupLocked', false, ( localize(522, "Whether the active editor group is locked")))));
|
|
68
|
+
const MultipleEditorGroupsContext = ( (new RawContextKey('multipleEditorGroups', false, ( localize(523, "Whether there are multiple editor groups opened")))));
|
|
69
|
+
const MultipleEditorsSelectedInGroupContext = ( (new RawContextKey('multipleEditorsSelectedInGroup', false, ( localize(524, "Whether multiple editors have been selected in an editor group")))));
|
|
70
|
+
const TwoEditorsSelectedInGroupContext = ( (new RawContextKey('twoEditorsSelectedInGroup', false, ( localize(525, "Whether exactly two editors have been selected in an editor group")))));
|
|
71
71
|
const SelectedEditorsInGroupFileOrUntitledResourceContextKey = ( (new RawContextKey(
|
|
72
72
|
'SelectedEditorsInGroupFileOrUntitledResourceContextKey',
|
|
73
73
|
true,
|
|
74
74
|
( localize(
|
|
75
|
-
|
|
75
|
+
526,
|
|
76
76
|
"Whether all selected editors in a group have a file or untitled resource associated"
|
|
77
77
|
))
|
|
78
78
|
)));
|
|
79
|
-
const EditorPartMultipleEditorGroupsContext = ( (new RawContextKey('editorPartMultipleEditorGroups', false, ( localize(
|
|
80
|
-
const EditorPartMaximizedEditorGroupContext = ( (new RawContextKey('editorPartMaximizedEditorGroup', false, ( localize(
|
|
81
|
-
const IsAuxiliaryEditorPartContext = ( (new RawContextKey('isAuxiliaryEditorPart', false, ( localize(
|
|
82
|
-
const EditorsVisibleContext = ( (new RawContextKey('editorIsOpen', false, ( localize(
|
|
83
|
-
const InEditorZenModeContext = ( (new RawContextKey('inZenMode', false, ( localize(
|
|
84
|
-
const IsMainEditorCenteredLayoutContext = ( (new RawContextKey('isCenteredLayout', false, ( localize(
|
|
85
|
-
const SplitEditorsVertically = ( (new RawContextKey('splitEditorsVertically', false, ( localize(
|
|
86
|
-
const MainEditorAreaVisibleContext = ( (new RawContextKey('mainEditorAreaVisible', true, ( localize(
|
|
87
|
-
const EditorTabsVisibleContext = ( (new RawContextKey('editorTabsVisible', true, ( localize(
|
|
88
|
-
const SideBarVisibleContext = ( (new RawContextKey('sideBarVisible', false, ( localize(
|
|
89
|
-
const SidebarFocusContext = ( (new RawContextKey('sideBarFocus', false, ( localize(
|
|
90
|
-
const ActiveViewletContext = ( (new RawContextKey('activeViewlet', '', ( localize(
|
|
91
|
-
const StatusBarFocused = ( (new RawContextKey('statusBarFocused', false, ( localize(
|
|
92
|
-
const TitleBarStyleContext = ( (new RawContextKey('titleBarStyle', isLinux ? 'native' : 'custom', ( localize(
|
|
93
|
-
const TitleBarVisibleContext = ( (new RawContextKey('titleBarVisible', false, ( localize(
|
|
94
|
-
const BannerFocused = ( (new RawContextKey('bannerFocused', false, ( localize(
|
|
95
|
-
const NotificationFocusedContext = ( (new RawContextKey('notificationFocus', true, ( localize(
|
|
96
|
-
const NotificationsCenterVisibleContext = ( (new RawContextKey('notificationCenterVisible', false, ( localize(
|
|
97
|
-
const NotificationsToastsVisibleContext = ( (new RawContextKey('notificationToastsVisible', false, ( localize(
|
|
98
|
-
const ActiveAuxiliaryContext = ( (new RawContextKey('activeAuxiliary', '', ( localize(
|
|
99
|
-
const AuxiliaryBarFocusContext = ( (new RawContextKey('auxiliaryBarFocus', false, ( localize(
|
|
100
|
-
const AuxiliaryBarVisibleContext = ( (new RawContextKey('auxiliaryBarVisible', false, ( localize(
|
|
101
|
-
const ActivePanelContext = ( (new RawContextKey('activePanel', '', ( localize(
|
|
102
|
-
const PanelFocusContext = ( (new RawContextKey('panelFocus', false, ( localize(
|
|
103
|
-
const PanelPositionContext = ( (new RawContextKey('panelPosition', 'bottom', ( localize(
|
|
79
|
+
const EditorPartMultipleEditorGroupsContext = ( (new RawContextKey('editorPartMultipleEditorGroups', false, ( localize(527, "Whether there are multiple editor groups opened in an editor part")))));
|
|
80
|
+
const EditorPartMaximizedEditorGroupContext = ( (new RawContextKey('editorPartMaximizedEditorGroup', false, ( localize(528, "Editor Part has a maximized group")))));
|
|
81
|
+
const IsAuxiliaryEditorPartContext = ( (new RawContextKey('isAuxiliaryEditorPart', false, ( localize(529, "Editor Part is in an auxiliary window")))));
|
|
82
|
+
const EditorsVisibleContext = ( (new RawContextKey('editorIsOpen', false, ( localize(530, "Whether an editor is open")))));
|
|
83
|
+
const InEditorZenModeContext = ( (new RawContextKey('inZenMode', false, ( localize(531, "Whether Zen mode is enabled")))));
|
|
84
|
+
const IsMainEditorCenteredLayoutContext = ( (new RawContextKey('isCenteredLayout', false, ( localize(532, "Whether centered layout is enabled for the main editor")))));
|
|
85
|
+
const SplitEditorsVertically = ( (new RawContextKey('splitEditorsVertically', false, ( localize(533, "Whether editors split vertically")))));
|
|
86
|
+
const MainEditorAreaVisibleContext = ( (new RawContextKey('mainEditorAreaVisible', true, ( localize(534, "Whether the editor area in the main window is visible")))));
|
|
87
|
+
const EditorTabsVisibleContext = ( (new RawContextKey('editorTabsVisible', true, ( localize(535, "Whether editor tabs are visible")))));
|
|
88
|
+
const SideBarVisibleContext = ( (new RawContextKey('sideBarVisible', false, ( localize(536, "Whether the sidebar is visible")))));
|
|
89
|
+
const SidebarFocusContext = ( (new RawContextKey('sideBarFocus', false, ( localize(537, "Whether the sidebar has keyboard focus")))));
|
|
90
|
+
const ActiveViewletContext = ( (new RawContextKey('activeViewlet', '', ( localize(538, "The identifier of the active viewlet")))));
|
|
91
|
+
const StatusBarFocused = ( (new RawContextKey('statusBarFocused', false, ( localize(539, "Whether the status bar has keyboard focus")))));
|
|
92
|
+
const TitleBarStyleContext = ( (new RawContextKey('titleBarStyle', isLinux ? 'native' : 'custom', ( localize(540, "Style of the window title bar")))));
|
|
93
|
+
const TitleBarVisibleContext = ( (new RawContextKey('titleBarVisible', false, ( localize(541, "Whether the title bar is visible")))));
|
|
94
|
+
const BannerFocused = ( (new RawContextKey('bannerFocused', false, ( localize(542, "Whether the banner has keyboard focus")))));
|
|
95
|
+
const NotificationFocusedContext = ( (new RawContextKey('notificationFocus', true, ( localize(543, "Whether a notification has keyboard focus")))));
|
|
96
|
+
const NotificationsCenterVisibleContext = ( (new RawContextKey('notificationCenterVisible', false, ( localize(544, "Whether the notifications center is visible")))));
|
|
97
|
+
const NotificationsToastsVisibleContext = ( (new RawContextKey('notificationToastsVisible', false, ( localize(545, "Whether a notification toast is visible")))));
|
|
98
|
+
const ActiveAuxiliaryContext = ( (new RawContextKey('activeAuxiliary', '', ( localize(546, "The identifier of the active auxiliary panel")))));
|
|
99
|
+
const AuxiliaryBarFocusContext = ( (new RawContextKey('auxiliaryBarFocus', false, ( localize(547, "Whether the auxiliary bar has keyboard focus")))));
|
|
100
|
+
const AuxiliaryBarVisibleContext = ( (new RawContextKey('auxiliaryBarVisible', false, ( localize(548, "Whether the auxiliary bar is visible")))));
|
|
101
|
+
const ActivePanelContext = ( (new RawContextKey('activePanel', '', ( localize(549, "The identifier of the active panel")))));
|
|
102
|
+
const PanelFocusContext = ( (new RawContextKey('panelFocus', false, ( localize(550, "Whether the panel has keyboard focus")))));
|
|
103
|
+
const PanelPositionContext = ( (new RawContextKey('panelPosition', 'bottom', ( localize(551, "The position of the panel, always 'bottom'")))));
|
|
104
104
|
const PanelAlignmentContext = ( (new RawContextKey('panelAlignment', 'center', ( localize(
|
|
105
|
-
|
|
105
|
+
552,
|
|
106
106
|
"The alignment of the panel, either 'center', 'left', 'right' or 'justify'"
|
|
107
107
|
)))));
|
|
108
|
-
const PanelVisibleContext = ( (new RawContextKey('panelVisible', false, ( localize(
|
|
109
|
-
const PanelMaximizedContext = ( (new RawContextKey('panelMaximized', false, ( localize(
|
|
110
|
-
const FocusedViewContext = ( (new RawContextKey('focusedView', '', ( localize(
|
|
108
|
+
const PanelVisibleContext = ( (new RawContextKey('panelVisible', false, ( localize(553, "Whether the panel is visible")))));
|
|
109
|
+
const PanelMaximizedContext = ( (new RawContextKey('panelMaximized', false, ( localize(554, "Whether the panel is maximized")))));
|
|
110
|
+
const FocusedViewContext = ( (new RawContextKey('focusedView', '', ( localize(555, "The identifier of the view that has keyboard focus")))));
|
|
111
111
|
function getVisbileViewContextKey(viewId) { return `view.${viewId}.visible`; }
|
|
112
112
|
let ResourceContextKey = class ResourceContextKey {
|
|
113
113
|
static { ResourceContextKey_1 = this; }
|
|
114
|
-
static { this.Scheme = ( (new RawContextKey('resourceScheme', undefined, { type: 'string', description: ( localize(
|
|
114
|
+
static { this.Scheme = ( (new RawContextKey('resourceScheme', undefined, { type: 'string', description: ( localize(556, "The scheme of the resource")) }))); }
|
|
115
115
|
static { this.Filename = ( (new RawContextKey(
|
|
116
116
|
'resourceFilename',
|
|
117
117
|
undefined,
|
|
118
|
-
{ type: 'string', description: ( localize(
|
|
118
|
+
{ type: 'string', description: ( localize(557, "The file name of the resource")) }
|
|
119
119
|
))); }
|
|
120
120
|
static { this.Dirname = ( (new RawContextKey(
|
|
121
121
|
'resourceDirname',
|
|
122
122
|
undefined,
|
|
123
|
-
{ type: 'string', description: ( localize(
|
|
123
|
+
{ type: 'string', description: ( localize(558, "The folder name the resource is contained in")) }
|
|
124
124
|
))); }
|
|
125
|
-
static { this.Path = ( (new RawContextKey('resourcePath', undefined, { type: 'string', description: ( localize(
|
|
126
|
-
static { this.LangId = ( (new RawContextKey('resourceLangId', undefined, { type: 'string', description: ( localize(
|
|
127
|
-
static { this.Resource = ( (new RawContextKey('resource', undefined, { type: 'URI', description: ( localize(
|
|
125
|
+
static { this.Path = ( (new RawContextKey('resourcePath', undefined, { type: 'string', description: ( localize(559, "The full path of the resource")) }))); }
|
|
126
|
+
static { this.LangId = ( (new RawContextKey('resourceLangId', undefined, { type: 'string', description: ( localize(560, "The language identifier of the resource")) }))); }
|
|
127
|
+
static { this.Resource = ( (new RawContextKey('resource', undefined, { type: 'URI', description: ( localize(561, "The full value of the resource including scheme and path")) }))); }
|
|
128
128
|
static { this.Extension = ( (new RawContextKey(
|
|
129
129
|
'resourceExtname',
|
|
130
130
|
undefined,
|
|
131
|
-
{ type: 'string', description: ( localize(
|
|
131
|
+
{ type: 'string', description: ( localize(562, "The extension name of the resource")) }
|
|
132
132
|
))); }
|
|
133
|
-
static { this.HasResource = ( (new RawContextKey('resourceSet', undefined, { type: 'boolean', description: ( localize(
|
|
133
|
+
static { this.HasResource = ( (new RawContextKey('resourceSet', undefined, { type: 'boolean', description: ( localize(563, "Whether a resource is present or not")) }))); }
|
|
134
134
|
static { this.IsFileSystemResource = ( (new RawContextKey(
|
|
135
135
|
'isFileSystemResource',
|
|
136
136
|
undefined,
|
|
137
|
-
{ type: 'boolean', description: ( localize(
|
|
137
|
+
{ type: 'boolean', description: ( localize(564, "Whether the resource is backed by a file system provider")) }
|
|
138
138
|
))); }
|
|
139
139
|
constructor(_contextKeyService, _fileService, _languageService, _modelService) {
|
|
140
140
|
this._contextKeyService = _contextKeyService;
|
|
@@ -42,7 +42,7 @@ let DiffEditorInput = class DiffEditorInput extends SideBySideEditorInput {
|
|
|
42
42
|
else {
|
|
43
43
|
const originalName = this.original.getName();
|
|
44
44
|
const modifiedName = this.modified.getName();
|
|
45
|
-
name = ( localize(
|
|
45
|
+
name = ( localize(7402, "{0} ↔ {1}", originalName, modifiedName));
|
|
46
46
|
forceDescription = originalName === modifiedName;
|
|
47
47
|
}
|
|
48
48
|
let shortDescription;
|