@codingame/monaco-vscode-api 10.1.2 → 10.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +9 -9
- 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/tree/treeDefaults.js +1 -1
- package/vscode/src/vs/base/common/actions.js +1 -1
- package/vscode/src/vs/base/common/date.js +61 -61
- package/vscode/src/vs/base/common/jsonErrorMessages.js +9 -9
- package/vscode/src/vs/base/common/keybindingLabels.js +20 -20
- package/vscode/src/vs/editor/browser/coreCommands.js +3 -3
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.js +1 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +51 -51
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
- package/vscode/src/vs/editor/common/standaloneStrings.js +32 -32
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +3 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.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/format/browser/formatActions.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- 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/referencesTree.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +23 -23
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- 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/multicursor/browser/multicursor.js +22 -22
- 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/quickAccess/browser/gotoLineQuickAccess.js +5 -5
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +11 -11
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- 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/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +49 -49
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +2 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +7 -7
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- 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/request/common/request.js +14 -14
- 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/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- 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/extHostLanguageModels.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- 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/extHostTelemetry.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.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/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +41 -41
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +131 -131
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +9 -9
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +61 -61
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +15 -15
- package/vscode/src/vs/workbench/browser/parts/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/titlebar/menubarControl.js +18 -18
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +7 -7
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +4 -4
- package/vscode/src/vs/workbench/browser/quickaccess.js +1 -1
- package/vscode/src/vs/workbench/browser/window.js +16 -16
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +220 -217
- package/vscode/src/vs/workbench/common/configuration.js +10 -10
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +131 -131
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +16 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatConstants.js +1 -1
- 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/chatColors.js +6 -6
- 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/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/quickaccess/gotoSymbolQuickAccess.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +4 -4
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +9 -9
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +13 -13
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +10 -10
- 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/abstractDebugAdapter.js +1 -1
- 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/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/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/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/common/inlineChat.js +41 -41
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- 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/icons.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/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/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/search/browser/searchActionsFind.js +10 -10
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +3 -3
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +1 -1
- package/vscode/src/vs/workbench/services/activity/common/activity.js +4 -4
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +3 -3
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- 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/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +82 -82
- 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/keybindingsEditorModel.js +7 -7
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +9 -9
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +8 -8
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +3 -3
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +7 -7
- package/workers/editor.worker.js +1 -1
|
@@ -113,7 +113,7 @@ EditorPlaceholder = EditorPlaceholder_1 = ( (__decorate([
|
|
|
113
113
|
let WorkspaceTrustRequiredPlaceholderEditor = class WorkspaceTrustRequiredPlaceholderEditor extends EditorPlaceholder {
|
|
114
114
|
static { WorkspaceTrustRequiredPlaceholderEditor_1 = this; }
|
|
115
115
|
static { this.ID = 'workbench.editors.workspaceTrustRequiredEditor'; }
|
|
116
|
-
static { this.LABEL = ( localize(
|
|
116
|
+
static { this.LABEL = ( localize(11696, "Workspace Trust Required")); }
|
|
117
117
|
static { this.DESCRIPTOR = EditorPaneDescriptor.create(WorkspaceTrustRequiredPlaceholderEditor_1, this.ID, this.LABEL); }
|
|
118
118
|
constructor(group, telemetryService, themeService, commandService, workspaceService, storageService) {
|
|
119
119
|
super(WorkspaceTrustRequiredPlaceholderEditor_1.ID, group, telemetryService, themeService, storageService);
|
|
@@ -128,16 +128,16 @@ let WorkspaceTrustRequiredPlaceholderEditor = class WorkspaceTrustRequiredPlaceh
|
|
|
128
128
|
icon: '$(workspace-untrusted)',
|
|
129
129
|
label: isSingleFolderWorkspaceIdentifier(toWorkspaceIdentifier(this.workspaceService.getWorkspace())) ?
|
|
130
130
|
( localize(
|
|
131
|
-
|
|
131
|
+
11697,
|
|
132
132
|
"The file is not displayed in the editor because trust has not been granted to the folder."
|
|
133
133
|
)) :
|
|
134
134
|
( localize(
|
|
135
|
-
|
|
135
|
+
11698,
|
|
136
136
|
"The file is not displayed in the editor because trust has not been granted to the workspace."
|
|
137
137
|
)),
|
|
138
138
|
actions: [
|
|
139
139
|
{
|
|
140
|
-
label: ( localize(
|
|
140
|
+
label: ( localize(11699, "Manage Workspace Trust")),
|
|
141
141
|
run: () => this.commandService.executeCommand('workbench.trust.manage')
|
|
142
142
|
}
|
|
143
143
|
]
|
|
@@ -154,7 +154,7 @@ WorkspaceTrustRequiredPlaceholderEditor = WorkspaceTrustRequiredPlaceholderEdito
|
|
|
154
154
|
let ErrorPlaceholderEditor = class ErrorPlaceholderEditor extends EditorPlaceholder {
|
|
155
155
|
static { ErrorPlaceholderEditor_1 = this; }
|
|
156
156
|
static { this.ID = 'workbench.editors.errorEditor'; }
|
|
157
|
-
static { this.LABEL = ( localize(
|
|
157
|
+
static { this.LABEL = ( localize(11700, "Error Editor")); }
|
|
158
158
|
static { this.DESCRIPTOR = EditorPaneDescriptor.create(ErrorPlaceholderEditor_1, this.ID, this.LABEL); }
|
|
159
159
|
constructor(group, telemetryService, themeService, storageService, fileService, dialogService) {
|
|
160
160
|
super(ErrorPlaceholderEditor_1.ID, group, telemetryService, themeService, storageService);
|
|
@@ -167,20 +167,20 @@ let ErrorPlaceholderEditor = class ErrorPlaceholderEditor extends EditorPlacehol
|
|
|
167
167
|
const isFileNotFound = error?.fileOperationResult === 1 ;
|
|
168
168
|
let label;
|
|
169
169
|
if (isFileNotFound) {
|
|
170
|
-
label = ( localize(
|
|
170
|
+
label = ( localize(11701, "The editor could not be opened because the file was not found."));
|
|
171
171
|
}
|
|
172
172
|
else if (isEditorOpenError(error) && error.forceMessage) {
|
|
173
173
|
label = error.message;
|
|
174
174
|
}
|
|
175
175
|
else if (error) {
|
|
176
176
|
label = ( localize(
|
|
177
|
-
|
|
177
|
+
11702,
|
|
178
178
|
"The editor could not be opened due to an unexpected error: {0}",
|
|
179
179
|
truncateMiddle(toErrorMessage(error), EditorPlaceholder.PLACEHOLDER_LABEL_MAX_LENGTH / 2)
|
|
180
180
|
));
|
|
181
181
|
}
|
|
182
182
|
else {
|
|
183
|
-
label = ( localize(
|
|
183
|
+
label = ( localize(11703, "The editor could not be opened due to an unexpected error."));
|
|
184
184
|
}
|
|
185
185
|
let icon = '$(error)';
|
|
186
186
|
if (isEditorOpenError(error)) {
|
|
@@ -208,7 +208,7 @@ let ErrorPlaceholderEditor = class ErrorPlaceholderEditor extends EditorPlacehol
|
|
|
208
208
|
else {
|
|
209
209
|
actions = [
|
|
210
210
|
{
|
|
211
|
-
label: ( localize(
|
|
211
|
+
label: ( localize(11704, "Try Again")),
|
|
212
212
|
run: () => this.group.openEditor(input, { ...options, source: EditorOpenSource.USER })
|
|
213
213
|
}
|
|
214
214
|
];
|
|
@@ -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(9837, "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
|
+
9838,
|
|
113
113
|
"{0}, unsaved changes, {1}",
|
|
114
114
|
nameAndDescription,
|
|
115
115
|
mapGroupIdToGroupAriaLabel.get(groupId)
|
|
116
116
|
)) :
|
|
117
117
|
( localize(
|
|
118
|
-
|
|
118
|
+
9839,
|
|
119
119
|
"{0}, {1}",
|
|
120
120
|
nameAndDescription,
|
|
121
121
|
mapGroupIdToGroupAriaLabel.get(groupId)
|
|
122
122
|
));
|
|
123
123
|
}
|
|
124
|
-
return isDirty ? ( localize(
|
|
124
|
+
return isDirty ? ( localize(9840, "{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(9841, "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(9653, "Ln {0}, Col {1} ({2} selected)"));
|
|
238
|
+
const nlsSingleSelection = ( localize(9654, "Ln {0}, Col {1}"));
|
|
239
|
+
const nlsMultiSelectionRange = ( localize(9655, "{0} selections ({1} characters selected)"));
|
|
240
|
+
const nlsMultiSelection = ( localize(9656, "{0} selections"));
|
|
241
|
+
const nlsEOLLF = ( localize(9657, "LF"));
|
|
242
|
+
const nlsEOLCRLF = ( localize(9658, "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(9659, "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(9660, "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(9661, "convert file")) });
|
|
315
|
+
picks.unshift({ type: 'separator', label: ( localize(9662, "change view")) });
|
|
316
|
+
const action = await this.quickInputService.pick(picks, { placeHolder: ( localize(9663, "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(9664, "Tab Moves Focus"));
|
|
323
323
|
this.tabFocusModeElement.value = this.statusbarService.addEntry({
|
|
324
|
-
name: ( localize(
|
|
324
|
+
name: ( localize(9665, "Accessibility Mode")),
|
|
325
325
|
text,
|
|
326
326
|
ariaLabel: text,
|
|
327
|
-
tooltip: ( localize(
|
|
327
|
+
tooltip: ( localize(9666, "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(9667, "Column Selection"));
|
|
341
341
|
this.columnSelectionModeElement.value = this.statusbarService.addEntry({
|
|
342
|
-
name: ( localize(
|
|
342
|
+
name: ( localize(9668, "Column Selection Mode")),
|
|
343
343
|
text,
|
|
344
344
|
ariaLabel: text,
|
|
345
|
-
tooltip: ( localize(
|
|
345
|
+
tooltip: ( localize(9669, "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(9670, "Editor Selection")),
|
|
367
367
|
text,
|
|
368
368
|
ariaLabel: text,
|
|
369
|
-
tooltip: ( localize(
|
|
369
|
+
tooltip: ( localize(9671, "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(9672, "Editor Indentation")),
|
|
386
386
|
text,
|
|
387
387
|
ariaLabel: text,
|
|
388
|
-
tooltip: ( localize(
|
|
388
|
+
tooltip: ( localize(9673, "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(9674, "Editor Encoding")),
|
|
400
400
|
text,
|
|
401
401
|
ariaLabel: text,
|
|
402
|
-
tooltip: ( localize(
|
|
402
|
+
tooltip: ( localize(9675, "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(9676, "Editor End of Line")),
|
|
414
414
|
text,
|
|
415
415
|
ariaLabel: text,
|
|
416
|
-
tooltip: ( localize(
|
|
416
|
+
tooltip: ( localize(9677, "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(9678, "Editor Language")),
|
|
428
428
|
text,
|
|
429
429
|
ariaLabel: text,
|
|
430
|
-
tooltip: ( localize(
|
|
430
|
+
tooltip: ( localize(9679, "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(9680, "File Information")),
|
|
442
442
|
text,
|
|
443
443
|
ariaLabel: text,
|
|
444
|
-
tooltip: ( localize(
|
|
444
|
+
tooltip: ( localize(9681, "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(9682, "Spaces: {0}", modelOpts.indentSize))
|
|
599
599
|
: ( localize(
|
|
600
|
-
|
|
600
|
+
9683,
|
|
601
601
|
"Spaces: {0} (Tab Size: {1})",
|
|
602
602
|
modelOpts.indentSize,
|
|
603
603
|
modelOpts.tabSize
|
|
604
604
|
))
|
|
605
|
-
: ( localize(
|
|
605
|
+
: ( localize(9684, "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(9685, "Current Problem")), text: '', ariaLabel: '' }, 'statusbar.currentProblem', 0 );
|
|
756
756
|
}
|
|
757
|
-
this.statusBarEntryAccessor.value.update({ name: ( localize(
|
|
757
|
+
this.statusBarEntryAccessor.value.update({ name: ( localize(9685, "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(9686, "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(9687, '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(9688, "Change the language mode of the active text editor.")),
|
|
878
878
|
args: [
|
|
879
879
|
{
|
|
880
|
-
name: ( localize(
|
|
880
|
+
name: ( localize(9689, "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(9659, "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(9690, "({0}) - Configured Language", languageId));
|
|
921
921
|
}
|
|
922
922
|
else {
|
|
923
|
-
description = ( localize(
|
|
923
|
+
description = ( localize(9691, "({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(9692, "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(9693, "Configure '{0}' language based settings...", currentLanguageName)) };
|
|
943
943
|
picks.unshift(configureLanguageSettings);
|
|
944
|
-
configureLanguageAssociations = { label: ( localize(
|
|
944
|
+
configureLanguageAssociations = { label: ( localize(9694, "Configure File Association for '{0}'...", ext)) };
|
|
945
945
|
picks.unshift(configureLanguageAssociations);
|
|
946
946
|
}
|
|
947
947
|
const autoDetectLanguage = {
|
|
948
|
-
label: ( localize(
|
|
948
|
+
label: ( localize(9695, "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(9696, "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(9697, "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(9698, "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(9699, '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(9659, "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(9660, "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(9700, "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(9701, '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(9659, "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(9659, "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(9702, "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(9703, "Save with Encoding")) };
|
|
1127
|
+
const reopenWithEncodingPick = { label: ( localize(9704, "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(9663, "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(9705, "Guessed from content")) });
|
|
1197
1197
|
}
|
|
1198
1198
|
const encoding = await quickInputService.pick(picks, {
|
|
1199
|
-
placeHolder: isReopenWithEncoding ? ( localize(
|
|
1199
|
+
placeHolder: isReopenWithEncoding ? ( localize(9706, "Select File Encoding to Reopen File")) : ( localize(9707, "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(6791, "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(6792, "{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
|
}
|
|
@@ -18,7 +18,7 @@ class AbstractTextCodeEditor extends AbstractTextEditor {
|
|
|
18
18
|
if (this.input) {
|
|
19
19
|
return this.input.getName();
|
|
20
20
|
}
|
|
21
|
-
return ( localize(
|
|
21
|
+
return ( localize(10937, "Text Editor"));
|
|
22
22
|
}
|
|
23
23
|
createEditorControl(parent, initialOptions) {
|
|
24
24
|
this.editorControl = this._register(this.instantiationService.createInstance(CodeEditorWidget, parent, initialOptions, this.getCodeEditorWidgetOptions()));
|
|
@@ -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(9650, "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
|
+
9651,
|
|
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
|
+
9652,
|
|
123
123
|
"At least one file is not displayed in the text compare editor because it is very large."
|
|
124
124
|
));
|
|
125
125
|
}
|
|
@@ -63,7 +63,7 @@ let AbstractTextEditor = class AbstractTextEditor extends AbstractEditorWithView
|
|
|
63
63
|
return editorConfiguration;
|
|
64
64
|
}
|
|
65
65
|
computeAriaLabel() {
|
|
66
|
-
return this.input ? computeEditorAriaLabel(this.input, undefined, this.group, this.editorGroupService.count) : ( localize(
|
|
66
|
+
return this.input ? computeEditorAriaLabel(this.input, undefined, this.group, this.editorGroupService.count) : ( localize(11705, "Editor"));
|
|
67
67
|
}
|
|
68
68
|
onDidChangeFileSystemProvider(scheme) {
|
|
69
69
|
if (!this.input) {
|