@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
|
@@ -296,7 +296,7 @@ let EditorGroupView = EditorGroupView_1 = class EditorGroupView extends Themable
|
|
|
296
296
|
toolbarContainer.classList.add('editor-group-container-toolbar');
|
|
297
297
|
this.element.appendChild(toolbarContainer);
|
|
298
298
|
const containerToolbar = this._register(( (new ActionBar(toolbarContainer, {
|
|
299
|
-
ariaLabel: ( localize(
|
|
299
|
+
ariaLabel: ( localize(10148, "Empty editor group actions")),
|
|
300
300
|
highlightToggledItems: true
|
|
301
301
|
}))));
|
|
302
302
|
const containerToolbarMenu = this._register(this.menuService.createMenu(MenuId.EmptyEditorGroup, this.scopedContextKeyService));
|
|
@@ -369,7 +369,7 @@ let EditorGroupView = EditorGroupView_1 = class EditorGroupView extends Themable
|
|
|
369
369
|
if (this.isEmpty) {
|
|
370
370
|
this.element.classList.add('empty');
|
|
371
371
|
this.element.tabIndex = 0;
|
|
372
|
-
this.element.setAttribute('aria-label', ( localize(
|
|
372
|
+
this.element.setAttribute('aria-label', ( localize(10149, "{0} (empty)", this.ariaLabel)));
|
|
373
373
|
}
|
|
374
374
|
else {
|
|
375
375
|
this.element.classList.remove('empty');
|
|
@@ -599,15 +599,15 @@ let EditorGroupView = EditorGroupView_1 = class EditorGroupView extends Themable
|
|
|
599
599
|
}
|
|
600
600
|
get label() {
|
|
601
601
|
if (this.groupsLabel) {
|
|
602
|
-
return ( localize(
|
|
602
|
+
return ( localize(10150, "{0}: Group {1}", this.groupsLabel, this._index + 1));
|
|
603
603
|
}
|
|
604
|
-
return ( localize(
|
|
604
|
+
return ( localize(10151, "Group {0}", this._index + 1));
|
|
605
605
|
}
|
|
606
606
|
get ariaLabel() {
|
|
607
607
|
if (this.groupsLabel) {
|
|
608
|
-
return ( localize(
|
|
608
|
+
return ( localize(10152, "{0}: Editor Group {1}", this.groupsLabel, this._index + 1));
|
|
609
609
|
}
|
|
610
|
-
return ( localize(
|
|
610
|
+
return ( localize(10153, "Editor Group {0}", this._index + 1));
|
|
611
611
|
}
|
|
612
612
|
get disposed() {
|
|
613
613
|
return this._disposed;
|
|
@@ -950,7 +950,7 @@ let EditorGroupView = EditorGroupView_1 = class EditorGroupView extends Themable
|
|
|
950
950
|
if (!keepCopy || editor.hasCapability(8 ) ) {
|
|
951
951
|
const canMoveVeto = editor.canMove(this.id, target.id);
|
|
952
952
|
if (typeof canMoveVeto === 'string') {
|
|
953
|
-
this.dialogService.error(canMoveVeto, ( localize(
|
|
953
|
+
this.dialogService.error(canMoveVeto, ( localize(10154, "Try saving or reverting the editor first and then try again.")));
|
|
954
954
|
return false;
|
|
955
955
|
}
|
|
956
956
|
}
|
|
@@ -18,7 +18,7 @@ let BaseEditorQuickAccessProvider = class BaseEditorQuickAccessProvider extends
|
|
|
18
18
|
super(prefix, {
|
|
19
19
|
canAcceptInBackground: true,
|
|
20
20
|
noResultsPick: {
|
|
21
|
-
label: ( localize(
|
|
21
|
+
label: ( localize(9824, "No matching editors")),
|
|
22
22
|
groupId: -1
|
|
23
23
|
}
|
|
24
24
|
});
|
|
@@ -109,19 +109,19 @@ let BaseEditorQuickAccessProvider = class BaseEditorQuickAccessProvider extends
|
|
|
109
109
|
if (mapGroupIdToGroupAriaLabel.size > 1) {
|
|
110
110
|
return isDirty ?
|
|
111
111
|
( localize(
|
|
112
|
-
|
|
112
|
+
9825,
|
|
113
113
|
"{0}, unsaved changes, {1}",
|
|
114
114
|
nameAndDescription,
|
|
115
115
|
mapGroupIdToGroupAriaLabel.get(groupId)
|
|
116
116
|
)) :
|
|
117
117
|
( localize(
|
|
118
|
-
|
|
118
|
+
9826,
|
|
119
119
|
"{0}, {1}",
|
|
120
120
|
nameAndDescription,
|
|
121
121
|
mapGroupIdToGroupAriaLabel.get(groupId)
|
|
122
122
|
));
|
|
123
123
|
}
|
|
124
|
-
return isDirty ? ( localize(
|
|
124
|
+
return isDirty ? ( localize(9827, "{0}, unsaved changes", nameAndDescription)) : nameAndDescription;
|
|
125
125
|
})(),
|
|
126
126
|
description,
|
|
127
127
|
iconClasses: getIconClasses(this.modelService, this.languageService, resource, undefined, editor.getIcon()).concat(editor.getLabelExtraClasses()),
|
|
@@ -130,7 +130,7 @@ let BaseEditorQuickAccessProvider = class BaseEditorQuickAccessProvider extends
|
|
|
130
130
|
return [
|
|
131
131
|
{
|
|
132
132
|
iconClass: isDirty ? ('dirty-editor ' + ThemeIcon.asClassName(Codicon.closeDirty)) : ThemeIcon.asClassName(Codicon.close),
|
|
133
|
-
tooltip: ( localize(
|
|
133
|
+
tooltip: ( localize(9828, "Close Editor")),
|
|
134
134
|
alwaysVisible: isDirty
|
|
135
135
|
}
|
|
136
136
|
];
|
|
@@ -234,12 +234,12 @@ let TabFocusMode = class TabFocusMode extends Disposable {
|
|
|
234
234
|
TabFocusMode = ( (__decorate([
|
|
235
235
|
( (__param(0, IConfigurationService)))
|
|
236
236
|
], TabFocusMode)));
|
|
237
|
-
const nlsSingleSelectionRange = ( localize(
|
|
238
|
-
const nlsSingleSelection = ( localize(
|
|
239
|
-
const nlsMultiSelectionRange = ( localize(
|
|
240
|
-
const nlsMultiSelection = ( localize(
|
|
241
|
-
const nlsEOLLF = ( localize(
|
|
242
|
-
const nlsEOLCRLF = ( localize(
|
|
237
|
+
const nlsSingleSelectionRange = ( localize(9640, "Ln {0}, Col {1} ({2} selected)"));
|
|
238
|
+
const nlsSingleSelection = ( localize(9641, "Ln {0}, Col {1}"));
|
|
239
|
+
const nlsMultiSelectionRange = ( localize(9642, "{0} selections ({1} characters selected)"));
|
|
240
|
+
const nlsMultiSelection = ( localize(9643, "{0} selections"));
|
|
241
|
+
const nlsEOLLF = ( localize(9644, "LF"));
|
|
242
|
+
const nlsEOLCRLF = ( localize(9645, "CRLF"));
|
|
243
243
|
let EditorStatus = class EditorStatus extends Disposable {
|
|
244
244
|
constructor(targetWindowId, editorService, quickInputService, languageService, textFileService, statusbarService, instantiationService, configurationService) {
|
|
245
245
|
super();
|
|
@@ -287,10 +287,10 @@ let EditorStatus = class EditorStatus extends Disposable {
|
|
|
287
287
|
async showIndentationPicker() {
|
|
288
288
|
const activeTextEditorControl = getCodeEditor(this.editorService.activeTextEditorControl);
|
|
289
289
|
if (!activeTextEditorControl) {
|
|
290
|
-
return this.quickInputService.pick([{ label: ( localize(
|
|
290
|
+
return this.quickInputService.pick([{ label: ( localize(9646, "No text editor active at this time")) }]);
|
|
291
291
|
}
|
|
292
292
|
if (this.editorService.activeEditor?.isReadonly()) {
|
|
293
|
-
return this.quickInputService.pick([{ label: ( localize(
|
|
293
|
+
return this.quickInputService.pick([{ label: ( localize(9647, "The active code editor is read-only.")) }]);
|
|
294
294
|
}
|
|
295
295
|
const picks = ( ([
|
|
296
296
|
assertIsDefined(activeTextEditorControl.getAction(IndentUsingSpaces.ID)),
|
|
@@ -311,20 +311,20 @@ let EditorStatus = class EditorStatus extends Disposable {
|
|
|
311
311
|
}
|
|
312
312
|
};
|
|
313
313
|
})));
|
|
314
|
-
picks.splice(3, 0, { type: 'separator', label: ( localize(
|
|
315
|
-
picks.unshift({ type: 'separator', label: ( localize(
|
|
316
|
-
const action = await this.quickInputService.pick(picks, { placeHolder: ( localize(
|
|
314
|
+
picks.splice(3, 0, { type: 'separator', label: ( localize(9648, "convert file")) });
|
|
315
|
+
picks.unshift({ type: 'separator', label: ( localize(9649, "change view")) });
|
|
316
|
+
const action = await this.quickInputService.pick(picks, { placeHolder: ( localize(9650, "Select Action")), matchOnDetail: true });
|
|
317
317
|
return action?.run();
|
|
318
318
|
}
|
|
319
319
|
updateTabFocusModeElement(visible) {
|
|
320
320
|
if (visible) {
|
|
321
321
|
if (!this.tabFocusModeElement.value) {
|
|
322
|
-
const text = ( localize(
|
|
322
|
+
const text = ( localize(9651, "Tab Moves Focus"));
|
|
323
323
|
this.tabFocusModeElement.value = this.statusbarService.addEntry({
|
|
324
|
-
name: ( localize(
|
|
324
|
+
name: ( localize(9652, "Accessibility Mode")),
|
|
325
325
|
text,
|
|
326
326
|
ariaLabel: text,
|
|
327
|
-
tooltip: ( localize(
|
|
327
|
+
tooltip: ( localize(9653, "Disable Accessibility Mode")),
|
|
328
328
|
command: 'editor.action.toggleTabFocusMode',
|
|
329
329
|
kind: 'prominent'
|
|
330
330
|
}, 'status.editor.tabFocusMode', 1 , 100.7);
|
|
@@ -337,12 +337,12 @@ let EditorStatus = class EditorStatus extends Disposable {
|
|
|
337
337
|
updateColumnSelectionModeElement(visible) {
|
|
338
338
|
if (visible) {
|
|
339
339
|
if (!this.columnSelectionModeElement.value) {
|
|
340
|
-
const text = ( localize(
|
|
340
|
+
const text = ( localize(9654, "Column Selection"));
|
|
341
341
|
this.columnSelectionModeElement.value = this.statusbarService.addEntry({
|
|
342
|
-
name: ( localize(
|
|
342
|
+
name: ( localize(9655, "Column Selection Mode")),
|
|
343
343
|
text,
|
|
344
344
|
ariaLabel: text,
|
|
345
|
-
tooltip: ( localize(
|
|
345
|
+
tooltip: ( localize(9656, "Disable Column Selection Mode")),
|
|
346
346
|
command: 'editor.action.toggleColumnSelection',
|
|
347
347
|
kind: 'prominent'
|
|
348
348
|
}, 'status.editor.columnSelectionMode', 1 , 100.8);
|
|
@@ -363,10 +363,10 @@ let EditorStatus = class EditorStatus extends Disposable {
|
|
|
363
363
|
return;
|
|
364
364
|
}
|
|
365
365
|
const props = {
|
|
366
|
-
name: ( localize(
|
|
366
|
+
name: ( localize(9657, "Editor Selection")),
|
|
367
367
|
text,
|
|
368
368
|
ariaLabel: text,
|
|
369
|
-
tooltip: ( localize(
|
|
369
|
+
tooltip: ( localize(9658, "Go to Line/Column")),
|
|
370
370
|
command: 'workbench.action.gotoLine'
|
|
371
371
|
};
|
|
372
372
|
this.updateElement(this.selectionElement, props, 'status.editor.selection', 1 , 100.5);
|
|
@@ -382,10 +382,10 @@ let EditorStatus = class EditorStatus extends Disposable {
|
|
|
382
382
|
return;
|
|
383
383
|
}
|
|
384
384
|
const props = {
|
|
385
|
-
name: ( localize(
|
|
385
|
+
name: ( localize(9659, "Editor Indentation")),
|
|
386
386
|
text,
|
|
387
387
|
ariaLabel: text,
|
|
388
|
-
tooltip: ( localize(
|
|
388
|
+
tooltip: ( localize(9660, "Select Indentation")),
|
|
389
389
|
command: `changeEditorIndentation${this.targetWindowId}`
|
|
390
390
|
};
|
|
391
391
|
this.updateElement(this.indentationElement, props, 'status.editor.indentation', 1 , 100.4);
|
|
@@ -396,10 +396,10 @@ let EditorStatus = class EditorStatus extends Disposable {
|
|
|
396
396
|
return;
|
|
397
397
|
}
|
|
398
398
|
const props = {
|
|
399
|
-
name: ( localize(
|
|
399
|
+
name: ( localize(9661, "Editor Encoding")),
|
|
400
400
|
text,
|
|
401
401
|
ariaLabel: text,
|
|
402
|
-
tooltip: ( localize(
|
|
402
|
+
tooltip: ( localize(9662, "Select Encoding")),
|
|
403
403
|
command: 'workbench.action.editor.changeEncoding'
|
|
404
404
|
};
|
|
405
405
|
this.updateElement(this.encodingElement, props, 'status.editor.encoding', 1 , 100.3);
|
|
@@ -410,10 +410,10 @@ let EditorStatus = class EditorStatus extends Disposable {
|
|
|
410
410
|
return;
|
|
411
411
|
}
|
|
412
412
|
const props = {
|
|
413
|
-
name: ( localize(
|
|
413
|
+
name: ( localize(9663, "Editor End of Line")),
|
|
414
414
|
text,
|
|
415
415
|
ariaLabel: text,
|
|
416
|
-
tooltip: ( localize(
|
|
416
|
+
tooltip: ( localize(9664, "Select End of Line Sequence")),
|
|
417
417
|
command: 'workbench.action.editor.changeEOL'
|
|
418
418
|
};
|
|
419
419
|
this.updateElement(this.eolElement, props, 'status.editor.eol', 1 , 100.2);
|
|
@@ -424,10 +424,10 @@ let EditorStatus = class EditorStatus extends Disposable {
|
|
|
424
424
|
return;
|
|
425
425
|
}
|
|
426
426
|
const props = {
|
|
427
|
-
name: ( localize(
|
|
427
|
+
name: ( localize(9665, "Editor Language")),
|
|
428
428
|
text,
|
|
429
429
|
ariaLabel: text,
|
|
430
|
-
tooltip: ( localize(
|
|
430
|
+
tooltip: ( localize(9666, "Select Language Mode")),
|
|
431
431
|
command: 'workbench.action.editor.changeLanguageMode'
|
|
432
432
|
};
|
|
433
433
|
this.updateElement(this.languageElement, props, 'status.editor.mode', 1 , 100.1);
|
|
@@ -438,10 +438,10 @@ let EditorStatus = class EditorStatus extends Disposable {
|
|
|
438
438
|
return;
|
|
439
439
|
}
|
|
440
440
|
const props = {
|
|
441
|
-
name: ( localize(
|
|
441
|
+
name: ( localize(9667, "File Information")),
|
|
442
442
|
text,
|
|
443
443
|
ariaLabel: text,
|
|
444
|
-
tooltip: ( localize(
|
|
444
|
+
tooltip: ( localize(9668, "File Information"))
|
|
445
445
|
};
|
|
446
446
|
this.updateElement(this.metadataElement, props, 'status.editor.info', 1 , 100);
|
|
447
447
|
}
|
|
@@ -595,14 +595,14 @@ let EditorStatus = class EditorStatus extends Disposable {
|
|
|
595
595
|
const modelOpts = model.getOptions();
|
|
596
596
|
update.indentation = (modelOpts.insertSpaces
|
|
597
597
|
? modelOpts.tabSize === modelOpts.indentSize
|
|
598
|
-
? ( localize(
|
|
598
|
+
? ( localize(9669, "Spaces: {0}", modelOpts.indentSize))
|
|
599
599
|
: ( localize(
|
|
600
|
-
|
|
600
|
+
9670,
|
|
601
601
|
"Spaces: {0} (Tab Size: {1})",
|
|
602
602
|
modelOpts.indentSize,
|
|
603
603
|
modelOpts.tabSize
|
|
604
604
|
))
|
|
605
|
-
: ( localize(
|
|
605
|
+
: ( localize(9671, "Tab Size: {0}", modelOpts.tabSize)));
|
|
606
606
|
}
|
|
607
607
|
}
|
|
608
608
|
this.updateState(update);
|
|
@@ -752,9 +752,9 @@ let ShowCurrentMarkerInStatusbarContribution = class ShowCurrentMarkerInStatusba
|
|
|
752
752
|
const line = splitLines(this.currentMarker.message)[0];
|
|
753
753
|
const text = `${this.getType(this.currentMarker)} ${line}`;
|
|
754
754
|
if (!this.statusBarEntryAccessor.value) {
|
|
755
|
-
this.statusBarEntryAccessor.value = this.statusbarService.addEntry({ name: ( localize(
|
|
755
|
+
this.statusBarEntryAccessor.value = this.statusbarService.addEntry({ name: ( localize(9672, "Current Problem")), text: '', ariaLabel: '' }, 'statusbar.currentProblem', 0 );
|
|
756
756
|
}
|
|
757
|
-
this.statusBarEntryAccessor.value.update({ name: ( localize(
|
|
757
|
+
this.statusBarEntryAccessor.value.update({ name: ( localize(9672, "Current Problem")), text, ariaLabel: text });
|
|
758
758
|
}
|
|
759
759
|
else {
|
|
760
760
|
this.statusBarEntryAccessor.clear();
|
|
@@ -848,7 +848,7 @@ let ShowLanguageExtensionsAction = class ShowLanguageExtensionsAction extends Ac
|
|
|
848
848
|
static { ShowLanguageExtensionsAction_1 = this; }
|
|
849
849
|
static { this.ID = 'workbench.action.showLanguageExtensions'; }
|
|
850
850
|
constructor(fileExtension, commandService, galleryService) {
|
|
851
|
-
super(ShowLanguageExtensionsAction_1.ID, ( localize(
|
|
851
|
+
super(ShowLanguageExtensionsAction_1.ID, ( localize(9673, "Search Marketplace Extensions for '{0}'...", fileExtension)));
|
|
852
852
|
this.fileExtension = fileExtension;
|
|
853
853
|
this.commandService = commandService;
|
|
854
854
|
this.enabled = galleryService.isEnabled();
|
|
@@ -866,7 +866,7 @@ class ChangeLanguageAction extends Action2 {
|
|
|
866
866
|
constructor() {
|
|
867
867
|
super({
|
|
868
868
|
id: ChangeLanguageAction.ID,
|
|
869
|
-
title: ( localize2(
|
|
869
|
+
title: ( localize2(9674, 'Change Language Mode')),
|
|
870
870
|
f1: true,
|
|
871
871
|
keybinding: {
|
|
872
872
|
weight: 200 ,
|
|
@@ -874,10 +874,10 @@ class ChangeLanguageAction extends Action2 {
|
|
|
874
874
|
},
|
|
875
875
|
precondition: ContextKeyExpr.not('notebookEditorFocused'),
|
|
876
876
|
metadata: {
|
|
877
|
-
description: ( localize(
|
|
877
|
+
description: ( localize(9675, "Change the language mode of the active text editor.")),
|
|
878
878
|
args: [
|
|
879
879
|
{
|
|
880
|
-
name: ( localize(
|
|
880
|
+
name: ( localize(9676, "The name of the language mode to change to.")),
|
|
881
881
|
constraint: (value) => typeof value === 'string',
|
|
882
882
|
}
|
|
883
883
|
]
|
|
@@ -896,7 +896,7 @@ class ChangeLanguageAction extends Action2 {
|
|
|
896
896
|
const telemetryService = accessor.get(ITelemetryService);
|
|
897
897
|
const activeTextEditorControl = getCodeEditor(editorService.activeTextEditorControl);
|
|
898
898
|
if (!activeTextEditorControl) {
|
|
899
|
-
await quickInputService.pick([{ label: ( localize(
|
|
899
|
+
await quickInputService.pick([{ label: ( localize(9646, "No text editor active at this time")) }]);
|
|
900
900
|
return;
|
|
901
901
|
}
|
|
902
902
|
const textModel = activeTextEditorControl.getModel();
|
|
@@ -917,10 +917,10 @@ class ChangeLanguageAction extends Action2 {
|
|
|
917
917
|
const extensions = languageService.getExtensions(languageId).join(' ');
|
|
918
918
|
let description;
|
|
919
919
|
if (currentLanguageName === languageName) {
|
|
920
|
-
description = ( localize(
|
|
920
|
+
description = ( localize(9677, "({0}) - Configured Language", languageId));
|
|
921
921
|
}
|
|
922
922
|
else {
|
|
923
|
-
description = ( localize(
|
|
923
|
+
description = ( localize(9678, "({0})", languageId));
|
|
924
924
|
}
|
|
925
925
|
return {
|
|
926
926
|
label: languageName,
|
|
@@ -929,7 +929,7 @@ class ChangeLanguageAction extends Action2 {
|
|
|
929
929
|
description
|
|
930
930
|
};
|
|
931
931
|
})));
|
|
932
|
-
picks.unshift({ type: 'separator', label: ( localize(
|
|
932
|
+
picks.unshift({ type: 'separator', label: ( localize(9679, "languages (identifier)")) });
|
|
933
933
|
let configureLanguageAssociations;
|
|
934
934
|
let configureLanguageSettings;
|
|
935
935
|
let galleryAction;
|
|
@@ -939,16 +939,16 @@ class ChangeLanguageAction extends Action2 {
|
|
|
939
939
|
if (galleryAction.enabled) {
|
|
940
940
|
picks.unshift(galleryAction);
|
|
941
941
|
}
|
|
942
|
-
configureLanguageSettings = { label: ( localize(
|
|
942
|
+
configureLanguageSettings = { label: ( localize(9680, "Configure '{0}' language based settings...", currentLanguageName)) };
|
|
943
943
|
picks.unshift(configureLanguageSettings);
|
|
944
|
-
configureLanguageAssociations = { label: ( localize(
|
|
944
|
+
configureLanguageAssociations = { label: ( localize(9681, "Configure File Association for '{0}'...", ext)) };
|
|
945
945
|
picks.unshift(configureLanguageAssociations);
|
|
946
946
|
}
|
|
947
947
|
const autoDetectLanguage = {
|
|
948
|
-
label: ( localize(
|
|
948
|
+
label: ( localize(9682, "Auto Detect"))
|
|
949
949
|
};
|
|
950
950
|
picks.unshift(autoDetectLanguage);
|
|
951
|
-
const pick = typeof languageMode === 'string' ? { label: languageMode } : await quickInputService.pick(picks, { placeHolder: ( localize(
|
|
951
|
+
const pick = typeof languageMode === 'string' ? { label: languageMode } : await quickInputService.pick(picks, { placeHolder: ( localize(9683, "Select Language Mode")), matchOnDescription: true });
|
|
952
952
|
if (!pick) {
|
|
953
953
|
return;
|
|
954
954
|
}
|
|
@@ -1030,11 +1030,11 @@ class ChangeLanguageAction extends Action2 {
|
|
|
1030
1030
|
id: languageId,
|
|
1031
1031
|
label: languageName,
|
|
1032
1032
|
iconClasses: getIconClassesForLanguageId(languageId),
|
|
1033
|
-
description: (languageId === currentAssociation) ? ( localize(
|
|
1033
|
+
description: (languageId === currentAssociation) ? ( localize(9684, "Current Association")) : undefined
|
|
1034
1034
|
};
|
|
1035
1035
|
})));
|
|
1036
1036
|
setTimeout(async () => {
|
|
1037
|
-
const language = await quickInputService.pick(picks, { placeHolder: ( localize(
|
|
1037
|
+
const language = await quickInputService.pick(picks, { placeHolder: ( localize(9685, "Select Language Mode to Associate with '{0}'", extension || base)) });
|
|
1038
1038
|
if (language) {
|
|
1039
1039
|
const fileAssociationsConfig = configurationService.inspect(FILES_ASSOCIATIONS_CONFIG);
|
|
1040
1040
|
let associationKey;
|
|
@@ -1059,7 +1059,7 @@ class ChangeEOLAction extends Action2 {
|
|
|
1059
1059
|
constructor() {
|
|
1060
1060
|
super({
|
|
1061
1061
|
id: 'workbench.action.editor.changeEOL',
|
|
1062
|
-
title: ( localize2(
|
|
1062
|
+
title: ( localize2(9686, 'Change End of Line Sequence')),
|
|
1063
1063
|
f1: true
|
|
1064
1064
|
});
|
|
1065
1065
|
}
|
|
@@ -1068,11 +1068,11 @@ class ChangeEOLAction extends Action2 {
|
|
|
1068
1068
|
const quickInputService = accessor.get(IQuickInputService);
|
|
1069
1069
|
const activeTextEditorControl = getCodeEditor(editorService.activeTextEditorControl);
|
|
1070
1070
|
if (!activeTextEditorControl) {
|
|
1071
|
-
await quickInputService.pick([{ label: ( localize(
|
|
1071
|
+
await quickInputService.pick([{ label: ( localize(9646, "No text editor active at this time")) }]);
|
|
1072
1072
|
return;
|
|
1073
1073
|
}
|
|
1074
1074
|
if (editorService.activeEditor?.isReadonly()) {
|
|
1075
|
-
await quickInputService.pick([{ label: ( localize(
|
|
1075
|
+
await quickInputService.pick([{ label: ( localize(9647, "The active code editor is read-only.")) }]);
|
|
1076
1076
|
return;
|
|
1077
1077
|
}
|
|
1078
1078
|
let textModel = activeTextEditorControl.getModel();
|
|
@@ -1081,7 +1081,7 @@ class ChangeEOLAction extends Action2 {
|
|
|
1081
1081
|
{ label: nlsEOLCRLF, eol: 1 },
|
|
1082
1082
|
];
|
|
1083
1083
|
const selectedIndex = (textModel?.getEOL() === '\n') ? 0 : 1;
|
|
1084
|
-
const eol = await quickInputService.pick(EOLOptions, { placeHolder: ( localize(
|
|
1084
|
+
const eol = await quickInputService.pick(EOLOptions, { placeHolder: ( localize(9687, "Select End of Line Sequence")), activeItem: EOLOptions[selectedIndex] });
|
|
1085
1085
|
if (eol) {
|
|
1086
1086
|
const activeCodeEditor = getCodeEditor(editorService.activeTextEditorControl);
|
|
1087
1087
|
if (activeCodeEditor?.hasModel() && !editorService.activeEditor?.isReadonly()) {
|
|
@@ -1098,7 +1098,7 @@ class ChangeEncodingAction extends Action2 {
|
|
|
1098
1098
|
constructor() {
|
|
1099
1099
|
super({
|
|
1100
1100
|
id: 'workbench.action.editor.changeEncoding',
|
|
1101
|
-
title: ( localize2(
|
|
1101
|
+
title: ( localize2(9688, 'Change File Encoding')),
|
|
1102
1102
|
f1: true
|
|
1103
1103
|
});
|
|
1104
1104
|
}
|
|
@@ -1110,21 +1110,21 @@ class ChangeEncodingAction extends Action2 {
|
|
|
1110
1110
|
const textResourceConfigurationService = accessor.get(ITextResourceConfigurationService);
|
|
1111
1111
|
const activeTextEditorControl = getCodeEditor(editorService.activeTextEditorControl);
|
|
1112
1112
|
if (!activeTextEditorControl) {
|
|
1113
|
-
await quickInputService.pick([{ label: ( localize(
|
|
1113
|
+
await quickInputService.pick([{ label: ( localize(9646, "No text editor active at this time")) }]);
|
|
1114
1114
|
return;
|
|
1115
1115
|
}
|
|
1116
1116
|
const activeEditorPane = editorService.activeEditorPane;
|
|
1117
1117
|
if (!activeEditorPane) {
|
|
1118
|
-
await quickInputService.pick([{ label: ( localize(
|
|
1118
|
+
await quickInputService.pick([{ label: ( localize(9646, "No text editor active at this time")) }]);
|
|
1119
1119
|
return;
|
|
1120
1120
|
}
|
|
1121
1121
|
const encodingSupport = toEditorWithEncodingSupport(activeEditorPane.input);
|
|
1122
1122
|
if (!encodingSupport) {
|
|
1123
|
-
await quickInputService.pick([{ label: ( localize(
|
|
1123
|
+
await quickInputService.pick([{ label: ( localize(9689, "No file active at this time")) }]);
|
|
1124
1124
|
return;
|
|
1125
1125
|
}
|
|
1126
|
-
const saveWithEncodingPick = { label: ( localize(
|
|
1127
|
-
const reopenWithEncodingPick = { label: ( localize(
|
|
1126
|
+
const saveWithEncodingPick = { label: ( localize(9690, "Save with Encoding")) };
|
|
1127
|
+
const reopenWithEncodingPick = { label: ( localize(9691, "Reopen with Encoding")) };
|
|
1128
1128
|
if (!Language.isDefaultVariant()) {
|
|
1129
1129
|
const saveWithEncodingAlias = 'Save with Encoding';
|
|
1130
1130
|
if (saveWithEncodingAlias !== saveWithEncodingPick.label) {
|
|
@@ -1143,7 +1143,7 @@ class ChangeEncodingAction extends Action2 {
|
|
|
1143
1143
|
action = reopenWithEncodingPick;
|
|
1144
1144
|
}
|
|
1145
1145
|
else {
|
|
1146
|
-
action = await quickInputService.pick([reopenWithEncodingPick, saveWithEncodingPick], { placeHolder: ( localize(
|
|
1146
|
+
action = await quickInputService.pick([reopenWithEncodingPick, saveWithEncodingPick], { placeHolder: ( localize(9650, "Select Action")), matchOnDetail: true });
|
|
1147
1147
|
}
|
|
1148
1148
|
if (!action) {
|
|
1149
1149
|
return;
|
|
@@ -1193,10 +1193,10 @@ class ChangeEncodingAction extends Action2 {
|
|
|
1193
1193
|
const items = picks.slice();
|
|
1194
1194
|
if (guessedEncoding && configuredEncoding !== guessedEncoding && SUPPORTED_ENCODINGS[guessedEncoding]) {
|
|
1195
1195
|
picks.unshift({ type: 'separator' });
|
|
1196
|
-
picks.unshift({ id: guessedEncoding, label: SUPPORTED_ENCODINGS[guessedEncoding].labelLong, description: ( localize(
|
|
1196
|
+
picks.unshift({ id: guessedEncoding, label: SUPPORTED_ENCODINGS[guessedEncoding].labelLong, description: ( localize(9692, "Guessed from content")) });
|
|
1197
1197
|
}
|
|
1198
1198
|
const encoding = await quickInputService.pick(picks, {
|
|
1199
|
-
placeHolder: isReopenWithEncoding ? ( localize(
|
|
1199
|
+
placeHolder: isReopenWithEncoding ? ( localize(9693, "Select File Encoding to Reopen File")) : ( localize(9694, "Select File Encoding to Save with")),
|
|
1200
1200
|
activeItem: items[typeof directMatchIndex === 'number' ? directMatchIndex : typeof aliasMatchIndex === 'number' ? aliasMatchIndex : -1]
|
|
1201
1201
|
});
|
|
1202
1202
|
if (!encoding) {
|
|
@@ -134,7 +134,7 @@ let EditorTabsControl = class EditorTabsControl extends Themable {
|
|
|
134
134
|
this.editorActionsToolbar = this.editorActionsToolbarDisposables.add(this.instantiationService.createInstance(WorkbenchToolBar, container, {
|
|
135
135
|
actionViewItemProvider: (action, options) => this.actionViewItemProvider(action, options),
|
|
136
136
|
orientation: 0 ,
|
|
137
|
-
ariaLabel: ( localize(
|
|
137
|
+
ariaLabel: ( localize(7085, "Editor actions")),
|
|
138
138
|
getKeyBinding: action => this.getKeybinding(action),
|
|
139
139
|
actionRunner: this.editorActionsToolbarDisposables.add(( (new EditorCommandsContextActionRunner(context)))),
|
|
140
140
|
anchorAlignmentProvider: () => 1 ,
|
|
@@ -206,7 +206,7 @@ let EditorTabsControl = class EditorTabsControl extends Themable {
|
|
|
206
206
|
if (this.groupView.activeEditor) {
|
|
207
207
|
let label = this.groupView.activeEditor.getName();
|
|
208
208
|
if (this.groupsView.partOptions.showTabs === 'multiple' && this.groupView.count > 1) {
|
|
209
|
-
label = ( localize(
|
|
209
|
+
label = ( localize(7086, "{0} (+{1})", label, this.groupView.count - 1));
|
|
210
210
|
}
|
|
211
211
|
applyDragImage(e, label, 'monaco-editor-group-drag-image', this.getColor(listActiveSelectionBackground), this.getColor(listActiveSelectionForeground));
|
|
212
212
|
}
|
|
@@ -49,7 +49,7 @@ let TextDiffEditor = class TextDiffEditor extends AbstractTextEditor {
|
|
|
49
49
|
if (this.input) {
|
|
50
50
|
return this.input.getName();
|
|
51
51
|
}
|
|
52
|
-
return ( localize(
|
|
52
|
+
return ( localize(9636, "Text Diff Editor"));
|
|
53
53
|
}
|
|
54
54
|
createEditorControl(parent, configuration) {
|
|
55
55
|
this.diffEditorControl = this._register(this.instantiationService.createInstance(DiffEditorWidget, parent, configuration, {}));
|
|
@@ -112,14 +112,14 @@ let TextDiffEditor = class TextDiffEditor extends AbstractTextEditor {
|
|
|
112
112
|
let message;
|
|
113
113
|
if (error instanceof TooLargeFileOperationError) {
|
|
114
114
|
message = ( localize(
|
|
115
|
-
|
|
115
|
+
9637,
|
|
116
116
|
"At least one file is not displayed in the text compare editor because it is very large ({0}).",
|
|
117
117
|
ByteSize.formatSize(error.size)
|
|
118
118
|
));
|
|
119
119
|
}
|
|
120
120
|
else {
|
|
121
121
|
message = ( localize(
|
|
122
|
-
|
|
122
|
+
9638,
|
|
123
123
|
"At least one file is not displayed in the text compare editor because it is very large."
|
|
124
124
|
));
|
|
125
125
|
}
|
|
@@ -8,16 +8,16 @@ import { IClipboardService } from '../../../../platform/clipboard/common/clipboa
|
|
|
8
8
|
import { Codicon } from '../../../../base/common/codicons.js';
|
|
9
9
|
import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js';
|
|
10
10
|
import { ThemeIcon } from '../../../../base/common/themables.js';
|
|
11
|
-
const clearIcon = registerIcon('notifications-clear', Codicon.close, ( localize(
|
|
12
|
-
const clearAllIcon = registerIcon('notifications-clear-all', Codicon.clearAll, ( localize(
|
|
13
|
-
const hideIcon = registerIcon('notifications-hide', Codicon.chevronDown, ( localize(
|
|
14
|
-
const expandIcon = registerIcon('notifications-expand', Codicon.chevronUp, ( localize(
|
|
15
|
-
const collapseIcon = registerIcon('notifications-collapse', Codicon.chevronDown, ( localize(
|
|
16
|
-
const configureIcon = registerIcon('notifications-configure', Codicon.gear, ( localize(
|
|
17
|
-
const doNotDisturbIcon = registerIcon('notifications-do-not-disturb', Codicon.bellSlash, ( localize(
|
|
11
|
+
const clearIcon = registerIcon('notifications-clear', Codicon.close, ( localize(7094, 'Icon for the clear action in notifications.')));
|
|
12
|
+
const clearAllIcon = registerIcon('notifications-clear-all', Codicon.clearAll, ( localize(7095, 'Icon for the clear all action in notifications.')));
|
|
13
|
+
const hideIcon = registerIcon('notifications-hide', Codicon.chevronDown, ( localize(7096, 'Icon for the hide action in notifications.')));
|
|
14
|
+
const expandIcon = registerIcon('notifications-expand', Codicon.chevronUp, ( localize(7097, 'Icon for the expand action in notifications.')));
|
|
15
|
+
const collapseIcon = registerIcon('notifications-collapse', Codicon.chevronDown, ( localize(7098, 'Icon for the collapse action in notifications.')));
|
|
16
|
+
const configureIcon = registerIcon('notifications-configure', Codicon.gear, ( localize(7099, 'Icon for the configure action in notifications.')));
|
|
17
|
+
const doNotDisturbIcon = registerIcon('notifications-do-not-disturb', Codicon.bellSlash, ( localize(7100, 'Icon for the mute all action in notifications.')));
|
|
18
18
|
let ClearNotificationAction = class ClearNotificationAction extends Action {
|
|
19
19
|
static { this.ID = CLEAR_NOTIFICATION; }
|
|
20
|
-
static { this.LABEL = ( localize(
|
|
20
|
+
static { this.LABEL = ( localize(7101, "Clear Notification")); }
|
|
21
21
|
constructor(id, label, commandService) {
|
|
22
22
|
super(id, label, ThemeIcon.asClassName(clearIcon));
|
|
23
23
|
this.commandService = commandService;
|
|
@@ -31,7 +31,7 @@ ClearNotificationAction = ( (__decorate([
|
|
|
31
31
|
], ClearNotificationAction)));
|
|
32
32
|
let ClearAllNotificationsAction = class ClearAllNotificationsAction extends Action {
|
|
33
33
|
static { this.ID = CLEAR_ALL_NOTIFICATIONS; }
|
|
34
|
-
static { this.LABEL = ( localize(
|
|
34
|
+
static { this.LABEL = ( localize(7102, "Clear All Notifications")); }
|
|
35
35
|
constructor(id, label, commandService) {
|
|
36
36
|
super(id, label, ThemeIcon.asClassName(clearAllIcon));
|
|
37
37
|
this.commandService = commandService;
|
|
@@ -45,7 +45,7 @@ ClearAllNotificationsAction = ( (__decorate([
|
|
|
45
45
|
], ClearAllNotificationsAction)));
|
|
46
46
|
let ToggleDoNotDisturbAction = class ToggleDoNotDisturbAction extends Action {
|
|
47
47
|
static { this.ID = TOGGLE_DO_NOT_DISTURB_MODE; }
|
|
48
|
-
static { this.LABEL = ( localize(
|
|
48
|
+
static { this.LABEL = ( localize(7103, "Toggle Do Not Disturb Mode")); }
|
|
49
49
|
constructor(id, label, commandService) {
|
|
50
50
|
super(id, label, ThemeIcon.asClassName(doNotDisturbIcon));
|
|
51
51
|
this.commandService = commandService;
|
|
@@ -59,7 +59,7 @@ ToggleDoNotDisturbAction = ( (__decorate([
|
|
|
59
59
|
], ToggleDoNotDisturbAction)));
|
|
60
60
|
let ToggleDoNotDisturbBySourceAction = class ToggleDoNotDisturbBySourceAction extends Action {
|
|
61
61
|
static { this.ID = TOGGLE_DO_NOT_DISTURB_MODE_BY_SOURCE; }
|
|
62
|
-
static { this.LABEL = ( localize(
|
|
62
|
+
static { this.LABEL = ( localize(7104, "Toggle Do Not Disturb Mode By Source...")); }
|
|
63
63
|
constructor(id, label, commandService) {
|
|
64
64
|
super(id, label);
|
|
65
65
|
this.commandService = commandService;
|
|
@@ -73,14 +73,14 @@ ToggleDoNotDisturbBySourceAction = ( (__decorate([
|
|
|
73
73
|
], ToggleDoNotDisturbBySourceAction)));
|
|
74
74
|
class ConfigureDoNotDisturbAction extends Action {
|
|
75
75
|
static { this.ID = 'workbench.action.configureDoNotDisturbMode'; }
|
|
76
|
-
static { this.LABEL = ( localize(
|
|
76
|
+
static { this.LABEL = ( localize(7105, "Configure Do Not Disturb...")); }
|
|
77
77
|
constructor(id, label) {
|
|
78
78
|
super(id, label, ThemeIcon.asClassName(doNotDisturbIcon));
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
let HideNotificationsCenterAction = class HideNotificationsCenterAction extends Action {
|
|
82
82
|
static { this.ID = HIDE_NOTIFICATIONS_CENTER; }
|
|
83
|
-
static { this.LABEL = ( localize(
|
|
83
|
+
static { this.LABEL = ( localize(7106, "Hide Notifications")); }
|
|
84
84
|
constructor(id, label, commandService) {
|
|
85
85
|
super(id, label, ThemeIcon.asClassName(hideIcon));
|
|
86
86
|
this.commandService = commandService;
|
|
@@ -94,7 +94,7 @@ HideNotificationsCenterAction = ( (__decorate([
|
|
|
94
94
|
], HideNotificationsCenterAction)));
|
|
95
95
|
let ExpandNotificationAction = class ExpandNotificationAction extends Action {
|
|
96
96
|
static { this.ID = EXPAND_NOTIFICATION; }
|
|
97
|
-
static { this.LABEL = ( localize(
|
|
97
|
+
static { this.LABEL = ( localize(7107, "Expand Notification")); }
|
|
98
98
|
constructor(id, label, commandService) {
|
|
99
99
|
super(id, label, ThemeIcon.asClassName(expandIcon));
|
|
100
100
|
this.commandService = commandService;
|
|
@@ -108,7 +108,7 @@ ExpandNotificationAction = ( (__decorate([
|
|
|
108
108
|
], ExpandNotificationAction)));
|
|
109
109
|
let CollapseNotificationAction = class CollapseNotificationAction extends Action {
|
|
110
110
|
static { this.ID = COLLAPSE_NOTIFICATION; }
|
|
111
|
-
static { this.LABEL = ( localize(
|
|
111
|
+
static { this.LABEL = ( localize(7108, "Collapse Notification")); }
|
|
112
112
|
constructor(id, label, commandService) {
|
|
113
113
|
super(id, label, ThemeIcon.asClassName(collapseIcon));
|
|
114
114
|
this.commandService = commandService;
|
|
@@ -122,7 +122,7 @@ CollapseNotificationAction = ( (__decorate([
|
|
|
122
122
|
], CollapseNotificationAction)));
|
|
123
123
|
class ConfigureNotificationAction extends Action {
|
|
124
124
|
static { this.ID = 'workbench.action.configureNotification'; }
|
|
125
|
-
static { this.LABEL = ( localize(
|
|
125
|
+
static { this.LABEL = ( localize(7109, "More Actions...")); }
|
|
126
126
|
constructor(id, label, notification) {
|
|
127
127
|
super(id, label, ThemeIcon.asClassName(configureIcon));
|
|
128
128
|
this.notification = notification;
|
|
@@ -130,7 +130,7 @@ class ConfigureNotificationAction extends Action {
|
|
|
130
130
|
}
|
|
131
131
|
let CopyNotificationMessageAction = class CopyNotificationMessageAction extends Action {
|
|
132
132
|
static { this.ID = 'workbench.action.copyNotificationMessage'; }
|
|
133
|
-
static { this.LABEL = ( localize(
|
|
133
|
+
static { this.LABEL = ( localize(7110, "Copy Text")); }
|
|
134
134
|
constructor(id, label, clipboardService) {
|
|
135
135
|
super(id, label);
|
|
136
136
|
this.clipboardService = clipboardService;
|
|
@@ -46,21 +46,21 @@ class NotificationsAlerts extends Disposable {
|
|
|
46
46
|
let alertText;
|
|
47
47
|
if (notification.severity === Severity$1.Error) {
|
|
48
48
|
alertText = ( localize(
|
|
49
|
-
|
|
49
|
+
3101,
|
|
50
50
|
"Error: {0}",
|
|
51
51
|
(notification.message.linkedText.toString())
|
|
52
52
|
));
|
|
53
53
|
}
|
|
54
54
|
else if (notification.severity === Severity$1.Warning) {
|
|
55
55
|
alertText = ( localize(
|
|
56
|
-
|
|
56
|
+
3102,
|
|
57
57
|
"Warning: {0}",
|
|
58
58
|
(notification.message.linkedText.toString())
|
|
59
59
|
));
|
|
60
60
|
}
|
|
61
61
|
else {
|
|
62
62
|
alertText = ( localize(
|
|
63
|
-
|
|
63
|
+
3103,
|
|
64
64
|
"Info: {0}",
|
|
65
65
|
(notification.message.linkedText.toString())
|
|
66
66
|
));
|