@codingame/monaco-vscode-api 10.1.0 → 10.1.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/README.md +27 -0
- package/package.json +8 -15
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +1 -1
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +1 -1
- package/vscode/src/vs/base/browser/ui/splitview/paneview.js +1 -1
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +1 -1
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +9 -9
- package/vscode/src/vs/base/common/date.js +61 -61
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +1 -1
- package/vscode/src/vs/editor/browser/controller/editContext/screenReaderUtils.js +4 -4
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +12 -12
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +14 -14
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +7 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +4 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +51 -51
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/standaloneStrings.js +32 -32
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +28 -28
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +7 -7
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +27 -27
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- 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/inlayHints/browser/inlayHintsHover.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +14 -14
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +17 -17
- 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/rename/browser/renameWidget.js +6 -6
- 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/suggestWidget.js +16 -16
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +49 -49
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
- 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/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +9 -9
- 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/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/quickinput/browser/quickInput.js +8 -8
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +6 -6
- package/vscode/src/vs/platform/request/common/request.js +14 -14
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +17 -17
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
- 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/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +129 -129
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +25 -25
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +21 -21
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +4 -4
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +41 -41
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +16 -16
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +2 -2
- 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/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/viewFilter.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +6 -6
- package/vscode/src/vs/workbench/browser/quickaccess.js +1 -1
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +217 -217
- 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/accessibility/browser/accessibilityConfiguration.js +131 -131
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +17 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatConstants.js +5 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +7 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.js +8 -7
- 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 +13 -12
- 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 +3 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +4 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariablesConstant.js +2 -0
- 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/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +10 -10
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
- 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/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/debug/browser/breakpointEditorContribution.js +29 -29
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +65 -65
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +34 -34
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/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/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/textFileSaveErrorHandler.js +18 -18
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +14 -14
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +84 -84
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +33 -33
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +8 -8
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +7 -7
- package/vscode/src/vs/workbench/contrib/files/common/files.js +14 -14
- 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/mergeEditor/browser/mergeEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +29 -29
- package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +8 -8
- 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/preferences/browser/preferencesWidgets.js +10 -10
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +50 -50
- 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/search/browser/anythingQuickAccess.js +5 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +10 -10
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +2 -2
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +5 -5
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +7 -7
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +16 -16
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatControllerHolder.js +5 -0
- 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/workspace/common/workspace.js +2 -2
- 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/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/browser/keybindingsEditorModel.js +7 -7
- 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/colorThemeData.js +8 -8
- 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/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +17 -17
- package/vscode/src/vs/base/common/processes.js +0 -25
- package/vscode/src/vs/platform/terminal/common/capabilities/bufferMarkCapability.js +0 -41
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetection/promptInputModel.js +0 -345
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetection/terminalCommand.js +0 -296
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.js +0 -761
- package/vscode/src/vs/platform/terminal/common/capabilities/cwdDetectionCapability.js +0 -29
- package/vscode/src/vs/platform/terminal/common/capabilities/naiveCwdDetectionCapability.js +0 -22
- package/vscode/src/vs/platform/terminal/common/capabilities/partialCommandDetectionCapability.js +0 -48
- package/vscode/src/vs/platform/terminal/common/capabilities/terminalCapabilityStore.js +0 -94
- package/vscode/src/vs/platform/terminal/common/environmentVariable.js +0 -7
- package/vscode/src/vs/platform/terminal/common/environmentVariableCollection.js +0 -196
- package/vscode/src/vs/platform/terminal/common/terminalEnvironment.js +0 -40
- package/vscode/src/vs/platform/terminal/common/terminalProfiles.js +0 -107
- package/vscode/src/vs/platform/terminal/common/terminalRecorder.js +0 -67
- package/vscode/src/vs/platform/terminal/common/xterm/shellIntegrationAddon.js +0 -346
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +0 -167
- package/vscode/src/vs/workbench/contrib/terminal/browser/environmentVariableInfo.js +0 -119
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalActions.js +0 -1770
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalContextMenu.js +0 -40
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalExtensions.js +0 -25
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIconPicker.js +0 -72
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcons.js +0 -16
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalInstance.js +0 -2218
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProcessManager.js +0 -628
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalQuickAccess.js +0 -143
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalResizeDebouncer.js +0 -61
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalRunRecentQuickPick.js +0 -315
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalStatusList.js +0 -121
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalUri.js +0 -39
- package/vscode/src/vs/workbench/contrib/terminal/browser/widgets/widgetManager.js +0 -36
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationAddon.js +0 -498
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +0 -123
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/lineDataEventAddon.js +0 -55
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/markNavigationAddon.js +0 -571
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.js +0 -732
- package/vscode/src/vs/workbench/contrib/terminal/common/history.js +0 -378
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalClipboard.js +0 -80
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalEnvironment.js +0 -282
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +0 -36
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/media/terminalChatWidget.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChat.js +0 -46
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatController.js +0 -303
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatWidget.js +0 -203
- package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/browser/media/stickyScroll.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/browser/terminalStickyScrollColorRegistry.js +0 -22
- package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/browser/terminalStickyScrollContribution.js +0 -97
- package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/browser/terminalStickyScrollOverlay.js +0 -372
|
@@ -53,7 +53,7 @@ let BrowserFileUpload = class BrowserFileUpload {
|
|
|
53
53
|
location: 10 ,
|
|
54
54
|
delay: 800,
|
|
55
55
|
cancellable: true,
|
|
56
|
-
title: ( localize(
|
|
56
|
+
title: ( localize(10194, "Uploading"))
|
|
57
57
|
}, async (progress) => this.doUpload(target, this.toTransfer(source), progress, cts.token), () => cts.dispose(true));
|
|
58
58
|
this.progressService.withProgress({ location: VIEW_ID, delay: 500 }, () => uploadPromise);
|
|
59
59
|
return uploadPromise;
|
|
@@ -108,8 +108,8 @@ let BrowserFileUpload = class BrowserFileUpload {
|
|
|
108
108
|
undefined,
|
|
109
109
|
{ recursive: true, folder: target.getChild(entry.name)?.isDirectory }
|
|
110
110
|
)))], {
|
|
111
|
-
undoLabel: ( localize(
|
|
112
|
-
progressLabel: ( localize(
|
|
111
|
+
undoLabel: ( localize(10195, "Overwrite {0}", entry.name)),
|
|
112
|
+
progressLabel: ( localize(10196, "Overwriting {0}", entry.name)),
|
|
113
113
|
});
|
|
114
114
|
if (token.isCancellationRequested) {
|
|
115
115
|
return;
|
|
@@ -143,7 +143,7 @@ let BrowserFileUpload = class BrowserFileUpload {
|
|
|
143
143
|
}
|
|
144
144
|
else {
|
|
145
145
|
message = ( localize(
|
|
146
|
-
|
|
146
|
+
10197,
|
|
147
147
|
"{0} of {1} files ({2}/s)",
|
|
148
148
|
operation.filesUploaded,
|
|
149
149
|
operation.filesTotal,
|
|
@@ -153,7 +153,7 @@ let BrowserFileUpload = class BrowserFileUpload {
|
|
|
153
153
|
}
|
|
154
154
|
else {
|
|
155
155
|
message = ( localize(
|
|
156
|
-
|
|
156
|
+
10198,
|
|
157
157
|
"{0} ({1} of {2}, {3}/s)",
|
|
158
158
|
entry.name,
|
|
159
159
|
ByteSize.formatSize(fileBytesUploaded),
|
|
@@ -301,7 +301,7 @@ let ExternalFileImport = class ExternalFileImport {
|
|
|
301
301
|
location: 10 ,
|
|
302
302
|
delay: 800,
|
|
303
303
|
cancellable: true,
|
|
304
|
-
title: ( localize(
|
|
304
|
+
title: ( localize(10199, "Copying..."))
|
|
305
305
|
}, async () => await this.doImport(target, source, targetWindow, cts.token), () => cts.dispose(true));
|
|
306
306
|
this.progressService.withProgress({ location: VIEW_ID, delay: 500 }, () => importPromise);
|
|
307
307
|
return importPromise;
|
|
@@ -325,8 +325,8 @@ let ExternalFileImport = class ExternalFileImport {
|
|
|
325
325
|
const buttons = [
|
|
326
326
|
{
|
|
327
327
|
label: folders.length > 1 ?
|
|
328
|
-
( localize(
|
|
329
|
-
( localize(
|
|
328
|
+
( localize(10200, "&&Copy Folders")) :
|
|
329
|
+
( localize(10201, "&&Copy Folder")),
|
|
330
330
|
run: () => ImportChoice.Copy
|
|
331
331
|
}
|
|
332
332
|
];
|
|
@@ -335,25 +335,25 @@ let ExternalFileImport = class ExternalFileImport {
|
|
|
335
335
|
if (( (folders.some(folder => workspaceFolderSchemas.indexOf(folder.uri.scheme) >= 0)))) {
|
|
336
336
|
buttons.unshift({
|
|
337
337
|
label: folders.length > 1 ?
|
|
338
|
-
( localize(
|
|
339
|
-
( localize(
|
|
338
|
+
( localize(10202, "&&Add Folders to Workspace")) :
|
|
339
|
+
( localize(10203, "&&Add Folder to Workspace")),
|
|
340
340
|
run: () => ImportChoice.Add
|
|
341
341
|
});
|
|
342
342
|
message = folders.length > 1 ?
|
|
343
343
|
( localize(
|
|
344
|
-
|
|
344
|
+
10204,
|
|
345
345
|
"Do you want to copy the folders or add the folders to the workspace?"
|
|
346
346
|
)) :
|
|
347
347
|
( localize(
|
|
348
|
-
|
|
348
|
+
10205,
|
|
349
349
|
"Do you want to copy '{0}' or add '{0}' as a folder to the workspace?",
|
|
350
350
|
basename(folders[0].uri)
|
|
351
351
|
));
|
|
352
352
|
}
|
|
353
353
|
else {
|
|
354
354
|
message = folders.length > 1 ?
|
|
355
|
-
( localize(
|
|
356
|
-
( localize(
|
|
355
|
+
( localize(10206, "Are you sure to want to copy folders?")) :
|
|
356
|
+
( localize(10207, "Are you sure to want to copy '{0}'?", basename(folders[0].uri)));
|
|
357
357
|
}
|
|
358
358
|
const { result } = await this.dialogService.prompt({
|
|
359
359
|
type: Severity$1.Info,
|
|
@@ -402,9 +402,9 @@ let ExternalFileImport = class ExternalFileImport {
|
|
|
402
402
|
}))))));
|
|
403
403
|
if (inaccessibleFileCount > 0) {
|
|
404
404
|
this.notificationService.error(inaccessibleFileCount > 1 ? ( localize(
|
|
405
|
-
|
|
405
|
+
10208,
|
|
406
406
|
"Some or all of the dropped files could not be accessed for import."
|
|
407
|
-
)) : ( localize(
|
|
407
|
+
)) : ( localize(10209, "The dropped file could not be accessed for import.")));
|
|
408
408
|
}
|
|
409
409
|
const resourceFileEdits = ( (resourcesFiltered.map(resource => {
|
|
410
410
|
const sourceFileName = basename(resource);
|
|
@@ -416,11 +416,11 @@ let ExternalFileImport = class ExternalFileImport {
|
|
|
416
416
|
const undoLevel = this.configurationService.getValue().explorer.confirmUndo;
|
|
417
417
|
await this.explorerService.applyBulkEdit(resourceFileEdits, {
|
|
418
418
|
undoLabel: resourcesFiltered.length === 1 ?
|
|
419
|
-
( localize(
|
|
420
|
-
( localize(
|
|
419
|
+
( localize(10210, "Import {0}", basename(resourcesFiltered[0]))) :
|
|
420
|
+
( localize(10211, "Import {0} resources", resourcesFiltered.length)),
|
|
421
421
|
progressLabel: resourcesFiltered.length === 1 ?
|
|
422
|
-
( localize(
|
|
423
|
-
( localize(
|
|
422
|
+
( localize(10212, "Copying {0}", basename(resourcesFiltered[0]))) :
|
|
423
|
+
( localize(10213, "Copying {0} resources", resourcesFiltered.length)),
|
|
424
424
|
progressLocation: 10 ,
|
|
425
425
|
confirmBeforeUndo: undoLevel === "verbose" || undoLevel === "default" ,
|
|
426
426
|
});
|
|
@@ -464,7 +464,7 @@ let FileDownload = class FileDownload {
|
|
|
464
464
|
location: 10 ,
|
|
465
465
|
delay: 800,
|
|
466
466
|
cancellable: isWeb,
|
|
467
|
-
title: ( localize(
|
|
467
|
+
title: ( localize(10214, "Downloading"))
|
|
468
468
|
}, async (progress) => this.doDownload(source, progress, cts), () => cts.dispose(true));
|
|
469
469
|
this.progressService.withProgress({ location: VIEW_ID, delay: 500 }, () => downloadPromise);
|
|
470
470
|
return downloadPromise;
|
|
@@ -608,7 +608,7 @@ let FileDownload = class FileDownload {
|
|
|
608
608
|
}
|
|
609
609
|
else {
|
|
610
610
|
message = ( localize(
|
|
611
|
-
|
|
611
|
+
10215,
|
|
612
612
|
"{0} of {1} files ({2}/s)",
|
|
613
613
|
operation.filesDownloaded,
|
|
614
614
|
operation.filesTotal,
|
|
@@ -618,7 +618,7 @@ let FileDownload = class FileDownload {
|
|
|
618
618
|
}
|
|
619
619
|
else {
|
|
620
620
|
message = ( localize(
|
|
621
|
-
|
|
621
|
+
10216,
|
|
622
622
|
"{0} ({1} of {2}, {3}/s)",
|
|
623
623
|
name,
|
|
624
624
|
ByteSize.formatSize(operation.fileBytesDownloaded),
|
|
@@ -642,15 +642,15 @@ let FileDownload = class FileDownload {
|
|
|
642
642
|
}
|
|
643
643
|
const destination = await this.fileDialogService.showSaveDialog({
|
|
644
644
|
availableFileSystems: [Schemas.file],
|
|
645
|
-
saveLabel: mnemonicButtonLabel(( localize(
|
|
646
|
-
title: ( localize(
|
|
645
|
+
saveLabel: mnemonicButtonLabel(( localize(10217, "Download"))),
|
|
646
|
+
title: ( localize(10218, "Choose Where to Download")),
|
|
647
647
|
defaultUri
|
|
648
648
|
});
|
|
649
649
|
if (destination) {
|
|
650
650
|
this.storageService.store(FileDownload_1.LAST_USED_DOWNLOAD_PATH_STORAGE_KEY, dirname(destination).fsPath, -1 , 1 );
|
|
651
651
|
await this.explorerService.applyBulkEdit([( (new ResourceFileEdit(explorerItem.resource, destination, { overwrite: true, copy: true })))], {
|
|
652
|
-
undoLabel: ( localize(
|
|
653
|
-
progressLabel: ( localize(
|
|
652
|
+
undoLabel: ( localize(10219, "Download {0}", explorerItem.name)),
|
|
653
|
+
progressLabel: ( localize(10220, "Downloading {0}", explorerItem.name)),
|
|
654
654
|
progressLocation: 10
|
|
655
655
|
});
|
|
656
656
|
}
|
|
@@ -670,12 +670,12 @@ FileDownload = FileDownload_1 = ( (__decorate([
|
|
|
670
670
|
function getFileOverwriteConfirm(name) {
|
|
671
671
|
return {
|
|
672
672
|
message: ( localize(
|
|
673
|
-
|
|
673
|
+
10221,
|
|
674
674
|
"A file or folder with the name '{0}' already exists in the destination folder. Do you want to replace it?",
|
|
675
675
|
name
|
|
676
676
|
)),
|
|
677
|
-
detail: ( localize(
|
|
678
|
-
primaryButton: ( localize(
|
|
677
|
+
detail: ( localize(10222, "This action is irreversible!")),
|
|
678
|
+
primaryButton: ( localize(10223, "&&Replace")),
|
|
679
679
|
type: 'warning'
|
|
680
680
|
};
|
|
681
681
|
}
|
|
@@ -683,12 +683,12 @@ function getMultipleFilesOverwriteConfirm(files) {
|
|
|
683
683
|
if (files.length > 1) {
|
|
684
684
|
return {
|
|
685
685
|
message: ( localize(
|
|
686
|
-
|
|
686
|
+
10224,
|
|
687
687
|
"The following {0} files and/or folders already exist in the destination folder. Do you want to replace them?",
|
|
688
688
|
files.length
|
|
689
689
|
)),
|
|
690
|
-
detail: getFileNamesMessage(files) + '\n' + ( localize(
|
|
691
|
-
primaryButton: ( localize(
|
|
690
|
+
detail: getFileNamesMessage(files) + '\n' + ( localize(10222, "This action is irreversible!")),
|
|
691
|
+
primaryButton: ( localize(10223, "&&Replace")),
|
|
692
692
|
type: 'warning'
|
|
693
693
|
};
|
|
694
694
|
}
|
|
@@ -39,10 +39,10 @@ let FileUriLabelContribution = class FileUriLabelContribution {
|
|
|
39
39
|
FileUriLabelContribution = ( (__decorate([
|
|
40
40
|
( (__param(0, ILabelService)))
|
|
41
41
|
], FileUriLabelContribution)));
|
|
42
|
-
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(TextFileEditor, TextFileEditor.ID, ( localize(
|
|
42
|
+
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(TextFileEditor, TextFileEditor.ID, ( localize(4466, "Text File Editor"))), [
|
|
43
43
|
( (new SyncDescriptor(FileEditorInput)))
|
|
44
44
|
]);
|
|
45
|
-
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(BinaryFileEditor, BinaryFileEditor.ID, ( localize(
|
|
45
|
+
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(BinaryFileEditor, BinaryFileEditor.ID, ( localize(4467, "Binary File Editor"))), [
|
|
46
46
|
( (new SyncDescriptor(FileEditorInput)))
|
|
47
47
|
]);
|
|
48
48
|
( (Registry.as(EditorExtensions.EditorFactory))).registerEditorSerializer(FILE_EDITOR_INPUT_ID, FileEditorInputSerializer);
|
|
@@ -32,7 +32,7 @@ var EmptyView_1;
|
|
|
32
32
|
let EmptyView = class EmptyView extends ViewPane {
|
|
33
33
|
static { EmptyView_1 = this; }
|
|
34
34
|
static { this.ID = 'workbench.explorer.emptyView'; }
|
|
35
|
-
static { this.NAME = ( localize2(
|
|
35
|
+
static { this.NAME = ( localize2(10192, "No Folder Opened")); }
|
|
36
36
|
constructor(options, themeService, viewDescriptorService, instantiationService, keybindingService, contextMenuService, contextService, configurationService, labelService, contextKeyService, openerService, telemetryService, hoverService) {
|
|
37
37
|
super(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, telemetryService, hoverService);
|
|
38
38
|
this.contextService = contextService;
|
|
@@ -135,7 +135,7 @@ let ExplorerFindProvider = class ExplorerFindProvider {
|
|
|
135
135
|
this.progressService = progressService;
|
|
136
136
|
this.explorerService = explorerService;
|
|
137
137
|
this.toggles = [explorerFuzzyMatch];
|
|
138
|
-
this.placeholder = ( localize(
|
|
138
|
+
this.placeholder = ( localize(10155, "Type to search files"));
|
|
139
139
|
}
|
|
140
140
|
async *getFindResults(pattern, sessionId, token, toggleStates) {
|
|
141
141
|
const isFuzzyMatch = toggleStates.find(t => t.id === explorerFuzzyMatch.id)?.isChecked;
|
|
@@ -292,7 +292,7 @@ let ExplorerView = class ExplorerView extends ViewPane {
|
|
|
292
292
|
const setHeader = () => {
|
|
293
293
|
titleElement.textContent = this.name;
|
|
294
294
|
this.updateTitle(this.name);
|
|
295
|
-
this.ariaHeaderLabel = ( localize(
|
|
295
|
+
this.ariaHeaderLabel = ( localize(10156, "Explorer Section: {0}", this.name));
|
|
296
296
|
titleElement.setAttribute('aria-label', this.ariaHeaderLabel);
|
|
297
297
|
};
|
|
298
298
|
this._register(this.contextService.onDidChangeWorkspaceName(setHeader));
|
|
@@ -884,7 +884,7 @@ registerAction2(class extends Action2 {
|
|
|
884
884
|
constructor() {
|
|
885
885
|
super({
|
|
886
886
|
id: 'workbench.files.action.createFileFromExplorer',
|
|
887
|
-
title: ( localize(
|
|
887
|
+
title: ( localize(10157, "New File...")),
|
|
888
888
|
f1: false,
|
|
889
889
|
icon: Codicon.newFile,
|
|
890
890
|
precondition: ExplorerResourceNotReadonlyContext,
|
|
@@ -905,7 +905,7 @@ registerAction2(class extends Action2 {
|
|
|
905
905
|
constructor() {
|
|
906
906
|
super({
|
|
907
907
|
id: 'workbench.files.action.createFolderFromExplorer',
|
|
908
|
-
title: ( localize(
|
|
908
|
+
title: ( localize(10158, "New Folder...")),
|
|
909
909
|
f1: false,
|
|
910
910
|
icon: Codicon.newFolder,
|
|
911
911
|
precondition: ExplorerResourceNotReadonlyContext,
|
|
@@ -926,7 +926,7 @@ registerAction2(class extends Action2 {
|
|
|
926
926
|
constructor() {
|
|
927
927
|
super({
|
|
928
928
|
id: 'workbench.files.action.refreshFilesExplorer',
|
|
929
|
-
title: ( localize2(
|
|
929
|
+
title: ( localize2(10159, "Refresh Explorer")),
|
|
930
930
|
f1: true,
|
|
931
931
|
icon: Codicon.refresh,
|
|
932
932
|
menu: {
|
|
@@ -936,7 +936,7 @@ registerAction2(class extends Action2 {
|
|
|
936
936
|
order: 30
|
|
937
937
|
},
|
|
938
938
|
metadata: {
|
|
939
|
-
description: ( localize2(
|
|
939
|
+
description: ( localize2(10160, "Forces a refresh of the Explorer."))
|
|
940
940
|
}
|
|
941
941
|
});
|
|
942
942
|
}
|
|
@@ -951,7 +951,7 @@ registerAction2(class extends Action2 {
|
|
|
951
951
|
constructor() {
|
|
952
952
|
super({
|
|
953
953
|
id: 'workbench.files.action.collapseExplorerFolders',
|
|
954
|
-
title: ( localize2(
|
|
954
|
+
title: ( localize2(10161, "Collapse Folders in Explorer")),
|
|
955
955
|
f1: true,
|
|
956
956
|
icon: Codicon.collapseAll,
|
|
957
957
|
menu: {
|
|
@@ -961,7 +961,7 @@ registerAction2(class extends Action2 {
|
|
|
961
961
|
order: 40
|
|
962
962
|
},
|
|
963
963
|
metadata: {
|
|
964
|
-
description: ( localize2(
|
|
964
|
+
description: ( localize2(10162, "Folds all folders in the Explorer."))
|
|
965
965
|
}
|
|
966
966
|
});
|
|
967
967
|
}
|
|
@@ -61,7 +61,7 @@ let OpenEditorsView = class OpenEditorsView extends ViewPane {
|
|
|
61
61
|
static { this.DEFAULT_VISIBLE_OPEN_EDITORS = 9; }
|
|
62
62
|
static { this.DEFAULT_MIN_VISIBLE_OPEN_EDITORS = 0; }
|
|
63
63
|
static { this.ID = 'workbench.explorer.openEditorsView'; }
|
|
64
|
-
static { this.NAME = ( localize2(
|
|
64
|
+
static { this.NAME = ( localize2(5406, "Open Editors")); }
|
|
65
65
|
constructor(options, instantiationService, viewDescriptorService, contextMenuService, editorGroupService, configurationService, keybindingService, contextKeyService, themeService, telemetryService, hoverService, workingCopyService, filesConfigurationService, openerService, fileService) {
|
|
66
66
|
super(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, telemetryService, hoverService);
|
|
67
67
|
this.editorGroupService = editorGroupService;
|
|
@@ -421,7 +421,7 @@ let OpenEditorsView = class OpenEditorsView extends ViewPane {
|
|
|
421
421
|
this.dirtyCountElement.classList.add('hidden');
|
|
422
422
|
}
|
|
423
423
|
else {
|
|
424
|
-
this.dirtyCountElement.textContent = ( localize(
|
|
424
|
+
this.dirtyCountElement.textContent = ( localize(5407, "{0} unsaved", dirty));
|
|
425
425
|
this.dirtyCountElement.classList.remove('hidden');
|
|
426
426
|
}
|
|
427
427
|
}
|
|
@@ -692,7 +692,7 @@ OpenEditorsDragAndDrop.__decorator = ( (__decorate([
|
|
|
692
692
|
], OpenEditorsDragAndDrop.prototype, "dropHandler", null)));
|
|
693
693
|
class OpenEditorsAccessibilityProvider {
|
|
694
694
|
getWidgetAriaLabel() {
|
|
695
|
-
return ( localize(
|
|
695
|
+
return ( localize(5406, "Open Editors"));
|
|
696
696
|
}
|
|
697
697
|
getAriaLabel(element) {
|
|
698
698
|
if (element instanceof OpenEditor) {
|
|
@@ -706,7 +706,7 @@ registerAction2(class extends Action2 {
|
|
|
706
706
|
constructor() {
|
|
707
707
|
super({
|
|
708
708
|
id: 'workbench.action.toggleEditorGroupLayout',
|
|
709
|
-
title: ( localize2(
|
|
709
|
+
title: ( localize2(5408, "Toggle Vertical/Horizontal Editor Layout")),
|
|
710
710
|
f1: true,
|
|
711
711
|
keybinding: {
|
|
712
712
|
primary: 1024 | 512 | 21 ,
|
|
@@ -737,8 +737,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
737
737
|
command: {
|
|
738
738
|
id: toggleEditorGroupLayoutId,
|
|
739
739
|
title: {
|
|
740
|
-
...( localize2(
|
|
741
|
-
mnemonicTitle: ( localize(
|
|
740
|
+
...( localize2(5409, "Flip Layout")),
|
|
741
|
+
mnemonicTitle: ( localize(5410, "Flip &&Layout"))
|
|
742
742
|
}
|
|
743
743
|
},
|
|
744
744
|
order: 1
|
|
@@ -788,7 +788,7 @@ registerAction2(class extends Action2 {
|
|
|
788
788
|
constructor() {
|
|
789
789
|
super({
|
|
790
790
|
id: 'openEditors.newUntitledFile',
|
|
791
|
-
title: ( localize2(
|
|
791
|
+
title: ( localize2(5411, "New Untitled Text File")),
|
|
792
792
|
f1: false,
|
|
793
793
|
icon: Codicon.newFile,
|
|
794
794
|
menu: {
|
|
@@ -15,56 +15,56 @@ const VIEW_ID = 'workbench.explorer.fileView';
|
|
|
15
15
|
const ExplorerViewletVisibleContext = ( (new RawContextKey(
|
|
16
16
|
'explorerViewletVisible',
|
|
17
17
|
true,
|
|
18
|
-
{ type: 'boolean', description: ( localize(
|
|
18
|
+
{ type: 'boolean', description: ( localize(5367, "True when the EXPLORER viewlet is visible.")) }
|
|
19
19
|
)));
|
|
20
20
|
const FoldersViewVisibleContext = ( (new RawContextKey('foldersViewVisible', true, { type: 'boolean', description: ( localize(
|
|
21
|
-
|
|
21
|
+
5368,
|
|
22
22
|
"True when the FOLDERS view (the file tree within the explorer view container) is visible."
|
|
23
23
|
)) })));
|
|
24
24
|
const ExplorerFolderContext = ( (new RawContextKey(
|
|
25
25
|
'explorerResourceIsFolder',
|
|
26
26
|
false,
|
|
27
|
-
{ type: 'boolean', description: ( localize(
|
|
27
|
+
{ type: 'boolean', description: ( localize(5369, "True when the focused item in the EXPLORER is a folder.")) }
|
|
28
28
|
)));
|
|
29
29
|
const ExplorerResourceReadonlyContext = ( (new RawContextKey(
|
|
30
30
|
'explorerResourceReadonly',
|
|
31
31
|
false,
|
|
32
|
-
{ type: 'boolean', description: ( localize(
|
|
32
|
+
{ type: 'boolean', description: ( localize(5370, "True when the focused item in the EXPLORER is read-only.")) }
|
|
33
33
|
)));
|
|
34
34
|
const ExplorerResourceNotReadonlyContext = ( (ExplorerResourceReadonlyContext.toNegated()));
|
|
35
35
|
const ExplorerResourceAvailableEditorIdsContext = ( (new RawContextKey('explorerResourceAvailableEditorIds', '')));
|
|
36
36
|
const ExplorerRootContext = ( (new RawContextKey(
|
|
37
37
|
'explorerResourceIsRoot',
|
|
38
38
|
false,
|
|
39
|
-
{ type: 'boolean', description: ( localize(
|
|
39
|
+
{ type: 'boolean', description: ( localize(5371, "True when the focused item in the EXPLORER is a root folder.")) }
|
|
40
40
|
)));
|
|
41
41
|
const ExplorerResourceCut = ( (new RawContextKey(
|
|
42
42
|
'explorerResourceCut',
|
|
43
43
|
false,
|
|
44
|
-
{ type: 'boolean', description: ( localize(
|
|
44
|
+
{ type: 'boolean', description: ( localize(5372, "True when an item in the EXPLORER has been cut for cut and paste.")) }
|
|
45
45
|
)));
|
|
46
46
|
const ExplorerResourceMoveableToTrash = ( (new RawContextKey(
|
|
47
47
|
'explorerResourceMoveableToTrash',
|
|
48
48
|
false,
|
|
49
|
-
{ type: 'boolean', description: ( localize(
|
|
49
|
+
{ type: 'boolean', description: ( localize(5373, "True when the focused item in the EXPLORER can be moved to trash.")) }
|
|
50
50
|
)));
|
|
51
|
-
const FilesExplorerFocusedContext = ( (new RawContextKey('filesExplorerFocus', true, { type: 'boolean', description: ( localize(
|
|
52
|
-
const OpenEditorsFocusedContext = ( (new RawContextKey('openEditorsFocus', true, { type: 'boolean', description: ( localize(
|
|
51
|
+
const FilesExplorerFocusedContext = ( (new RawContextKey('filesExplorerFocus', true, { type: 'boolean', description: ( localize(5374, "True when the focus is inside the EXPLORER view.")) })));
|
|
52
|
+
const OpenEditorsFocusedContext = ( (new RawContextKey('openEditorsFocus', true, { type: 'boolean', description: ( localize(5375, "True when the focus is inside the OPEN EDITORS view.")) })));
|
|
53
53
|
const ExplorerFocusedContext = ( (new RawContextKey(
|
|
54
54
|
'explorerViewletFocus',
|
|
55
55
|
true,
|
|
56
|
-
{ type: 'boolean', description: ( localize(
|
|
56
|
+
{ type: 'boolean', description: ( localize(5376, "True when the focus is inside the EXPLORER viewlet.")) }
|
|
57
57
|
)));
|
|
58
58
|
const ExplorerCompressedFocusContext = ( (new RawContextKey(
|
|
59
59
|
'explorerViewletCompressedFocus',
|
|
60
60
|
true,
|
|
61
|
-
{ type: 'boolean', description: ( localize(
|
|
61
|
+
{ type: 'boolean', description: ( localize(5377, "True when the focused item in the EXPLORER view is a compact item.")) }
|
|
62
62
|
)));
|
|
63
63
|
const ExplorerCompressedFirstFocusContext = ( (new RawContextKey(
|
|
64
64
|
'explorerViewletCompressedFirstFocus',
|
|
65
65
|
true,
|
|
66
66
|
{ type: 'boolean', description: ( localize(
|
|
67
|
-
|
|
67
|
+
5378,
|
|
68
68
|
"True when the focus is inside a compact item's first part in the EXPLORER view."
|
|
69
69
|
)) }
|
|
70
70
|
)));
|
|
@@ -72,7 +72,7 @@ const ExplorerCompressedLastFocusContext = ( (new RawContextKey(
|
|
|
72
72
|
'explorerViewletCompressedLastFocus',
|
|
73
73
|
true,
|
|
74
74
|
{ type: 'boolean', description: ( localize(
|
|
75
|
-
|
|
75
|
+
5379,
|
|
76
76
|
"True when the focus is inside a compact item's last part in the EXPLORER view."
|
|
77
77
|
)) }
|
|
78
78
|
)));
|
|
@@ -80,7 +80,7 @@ const ViewHasSomeCollapsibleRootItemContext = ( (new RawContextKey(
|
|
|
80
80
|
'viewHasSomeCollapsibleItem',
|
|
81
81
|
false,
|
|
82
82
|
{ type: 'boolean', description: ( localize(
|
|
83
|
-
|
|
83
|
+
5380,
|
|
84
84
|
"True when a workspace in the EXPLORER view has some collapsible root child."
|
|
85
85
|
)) }
|
|
86
86
|
)));
|
|
@@ -22,12 +22,12 @@ import { IChatService } from '../../chat/common/chatService.service.js';
|
|
|
22
22
|
import { CONTEXT_CHAT_INPUT_HAS_TEXT, CONTEXT_IN_CHAT_INPUT } from '../../chat/common/chatContextKeys.js';
|
|
23
23
|
CommandsRegistry.registerCommandAlias('interactiveEditor.start', 'inlineChat.start');
|
|
24
24
|
CommandsRegistry.registerCommandAlias('interactive.acceptChanges', ACTION_ACCEPT_CHANGES);
|
|
25
|
-
const START_INLINE_CHAT = registerIcon('start-inline-chat', Codicon.sparkle, ( localize(
|
|
25
|
+
const START_INLINE_CHAT = registerIcon('start-inline-chat', Codicon.sparkle, ( localize(7593, 'Icon which spawns the inline chat from the editor toolbar.')));
|
|
26
26
|
class StartSessionAction extends EditorAction2 {
|
|
27
27
|
constructor() {
|
|
28
28
|
super({
|
|
29
29
|
id: 'inlineChat.start',
|
|
30
|
-
title: ( localize2(
|
|
30
|
+
title: ( localize2(7594, 'Editor Inline Chat')),
|
|
31
31
|
category: AbstractInlineChatAction.category,
|
|
32
32
|
f1: true,
|
|
33
33
|
precondition: ( (ContextKeyExpr.and(
|
|
@@ -66,7 +66,7 @@ class UnstashSessionAction extends EditorAction2 {
|
|
|
66
66
|
constructor() {
|
|
67
67
|
super({
|
|
68
68
|
id: 'inlineChat.unstash',
|
|
69
|
-
title: ( localize2(
|
|
69
|
+
title: ( localize2(7595, "Resume Last Dismissed Inline Chat")),
|
|
70
70
|
category: AbstractInlineChatAction.category,
|
|
71
71
|
precondition: ( (ContextKeyExpr.and(CTX_INLINE_CHAT_HAS_STASHED_SESSION, EditorContextKeys.writable))),
|
|
72
72
|
keybinding: {
|
|
@@ -89,7 +89,7 @@ class UnstashSessionAction extends EditorAction2 {
|
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
class AbstractInlineChatAction extends EditorAction2 {
|
|
92
|
-
static { this.category = ( localize2(
|
|
92
|
+
static { this.category = ( localize2(7596, "Inline Chat")); }
|
|
93
93
|
constructor(desc) {
|
|
94
94
|
super({
|
|
95
95
|
...desc,
|
|
@@ -135,7 +135,7 @@ class ArrowOutUpAction extends AbstractInlineChatAction {
|
|
|
135
135
|
constructor() {
|
|
136
136
|
super({
|
|
137
137
|
id: 'inlineChat.arrowOutUp',
|
|
138
|
-
title: ( localize(
|
|
138
|
+
title: ( localize(7597, 'Cursor Up')),
|
|
139
139
|
precondition: ( (ContextKeyExpr.and(
|
|
140
140
|
CTX_INLINE_CHAT_FOCUSED,
|
|
141
141
|
CTX_INLINE_CHAT_INNER_CURSOR_FIRST,
|
|
@@ -156,7 +156,7 @@ class ArrowOutDownAction extends AbstractInlineChatAction {
|
|
|
156
156
|
constructor() {
|
|
157
157
|
super({
|
|
158
158
|
id: 'inlineChat.arrowOutDown',
|
|
159
|
-
title: ( localize(
|
|
159
|
+
title: ( localize(7598, 'Cursor Down')),
|
|
160
160
|
precondition: ( (ContextKeyExpr.and(
|
|
161
161
|
CTX_INLINE_CHAT_FOCUSED,
|
|
162
162
|
CTX_INLINE_CHAT_INNER_CURSOR_LAST,
|
|
@@ -177,7 +177,7 @@ class FocusInlineChat extends EditorAction2 {
|
|
|
177
177
|
constructor() {
|
|
178
178
|
super({
|
|
179
179
|
id: 'inlineChat.focus',
|
|
180
|
-
title: ( localize2(
|
|
180
|
+
title: ( localize2(7599, "Focus Input")),
|
|
181
181
|
f1: true,
|
|
182
182
|
category: AbstractInlineChatAction.category,
|
|
183
183
|
precondition: ( (ContextKeyExpr.and(
|
|
@@ -211,7 +211,7 @@ class DiscardAction extends AbstractInlineChatAction {
|
|
|
211
211
|
constructor() {
|
|
212
212
|
super({
|
|
213
213
|
id: 'inlineChat.discard',
|
|
214
|
-
title: ( localize(
|
|
214
|
+
title: ( localize(7600, 'Discard')),
|
|
215
215
|
icon: Codicon.discard,
|
|
216
216
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
217
217
|
keybinding: {
|
|
@@ -229,8 +229,8 @@ class AcceptChanges extends AbstractInlineChatAction {
|
|
|
229
229
|
constructor() {
|
|
230
230
|
super({
|
|
231
231
|
id: ACTION_ACCEPT_CHANGES,
|
|
232
|
-
title: ( localize2(
|
|
233
|
-
shortTitle: ( localize(
|
|
232
|
+
title: ( localize2(7601, "Accept Changes")),
|
|
233
|
+
shortTitle: ( localize(7602, 'Accept')),
|
|
234
234
|
icon: Codicon.check,
|
|
235
235
|
f1: true,
|
|
236
236
|
precondition: ( (ContextKeyExpr.and(CTX_INLINE_CHAT_VISIBLE, (ContextKeyExpr.or(
|
|
@@ -265,7 +265,7 @@ class DiscardHunkAction extends AbstractInlineChatAction {
|
|
|
265
265
|
constructor() {
|
|
266
266
|
super({
|
|
267
267
|
id: ACTION_DISCARD_CHANGES,
|
|
268
|
-
title: ( localize(
|
|
268
|
+
title: ( localize(7600, 'Discard')),
|
|
269
269
|
icon: Codicon.chromeClose,
|
|
270
270
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
271
271
|
menu: [{
|
|
@@ -298,8 +298,8 @@ class RerunAction extends AbstractInlineChatAction {
|
|
|
298
298
|
constructor() {
|
|
299
299
|
super({
|
|
300
300
|
id: ACTION_REGENERATE_RESPONSE,
|
|
301
|
-
title: ( localize2(
|
|
302
|
-
shortTitle: ( localize(
|
|
301
|
+
title: ( localize2(7603, "Rerun Request")),
|
|
302
|
+
shortTitle: ( localize(7604, 'Rerun')),
|
|
303
303
|
f1: false,
|
|
304
304
|
icon: Codicon.refresh,
|
|
305
305
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
@@ -332,7 +332,7 @@ class CloseAction extends AbstractInlineChatAction {
|
|
|
332
332
|
constructor() {
|
|
333
333
|
super({
|
|
334
334
|
id: 'inlineChat.close',
|
|
335
|
-
title: ( localize(
|
|
335
|
+
title: ( localize(7605, 'Close')),
|
|
336
336
|
icon: Codicon.close,
|
|
337
337
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
338
338
|
keybinding: {
|
|
@@ -361,7 +361,7 @@ class ConfigureInlineChatAction extends AbstractInlineChatAction {
|
|
|
361
361
|
constructor() {
|
|
362
362
|
super({
|
|
363
363
|
id: 'inlineChat.configure',
|
|
364
|
-
title: ( localize2(
|
|
364
|
+
title: ( localize2(7606, 'Configure Inline Chat')),
|
|
365
365
|
icon: Codicon.settingsGear,
|
|
366
366
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
367
367
|
f1: true,
|
|
@@ -380,7 +380,7 @@ class MoveToNextHunk extends AbstractInlineChatAction {
|
|
|
380
380
|
constructor() {
|
|
381
381
|
super({
|
|
382
382
|
id: 'inlineChat.moveToNextHunk',
|
|
383
|
-
title: ( localize2(
|
|
383
|
+
title: ( localize2(7607, 'Move to Next Change')),
|
|
384
384
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
385
385
|
f1: true,
|
|
386
386
|
keybinding: {
|
|
@@ -397,7 +397,7 @@ class MoveToPreviousHunk extends AbstractInlineChatAction {
|
|
|
397
397
|
constructor() {
|
|
398
398
|
super({
|
|
399
399
|
id: 'inlineChat.moveToPreviousHunk',
|
|
400
|
-
title: ( localize2(
|
|
400
|
+
title: ( localize2(7608, 'Move to Previous Change')),
|
|
401
401
|
f1: true,
|
|
402
402
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
403
403
|
keybinding: {
|
|
@@ -414,7 +414,7 @@ class ViewInChatAction extends AbstractInlineChatAction {
|
|
|
414
414
|
constructor() {
|
|
415
415
|
super({
|
|
416
416
|
id: ACTION_VIEW_IN_CHAT,
|
|
417
|
-
title: ( localize(
|
|
417
|
+
title: ( localize(7609, 'View in Chat')),
|
|
418
418
|
icon: Codicon.commentDiscussion,
|
|
419
419
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
420
420
|
menu: [{
|
|
@@ -452,7 +452,7 @@ class ToggleDiffForChange extends AbstractInlineChatAction {
|
|
|
452
452
|
(CTX_INLINE_CHAT_EDIT_MODE.isEqualTo("live" )),
|
|
453
453
|
CTX_INLINE_CHAT_CHANGE_HAS_DIFF
|
|
454
454
|
))),
|
|
455
|
-
title: ( localize2(
|
|
455
|
+
title: ( localize2(7610, 'Toggle Changes')),
|
|
456
456
|
icon: Codicon.diffSingle,
|
|
457
457
|
toggled: {
|
|
458
458
|
condition: CTX_INLINE_CHAT_CHANGE_SHOWS_DIFF,
|
|
@@ -216,14 +216,14 @@ let InlineChatController = InlineChatController_1 = class InlineChatController {
|
|
|
216
216
|
delete options.position;
|
|
217
217
|
}
|
|
218
218
|
const widgetPosition = this._showWidget(options.headless ?? session?.headless, true, initPosition);
|
|
219
|
-
let errorMessage = ( localize(
|
|
219
|
+
let errorMessage = ( localize(5680, "Failed to start editor chat"));
|
|
220
220
|
if (!session) {
|
|
221
221
|
const createSessionCts = ( (new CancellationTokenSource()));
|
|
222
222
|
const msgListener = Event.once(this._messages.event)(m => {
|
|
223
223
|
this._log('state=_createSession) message received', m);
|
|
224
224
|
if (m === 32 ) {
|
|
225
225
|
options.autoSend = true;
|
|
226
|
-
this._ui.value.widget.updateInfo(( localize(
|
|
226
|
+
this._ui.value.widget.updateInfo(( localize(5681, "Getting ready...")));
|
|
227
227
|
}
|
|
228
228
|
else {
|
|
229
229
|
createSessionCts.cancel();
|
|
@@ -541,7 +541,7 @@ let InlineChatController = InlineChatController_1 = class InlineChatController {
|
|
|
541
541
|
let newPosition;
|
|
542
542
|
if (response.result?.errorDetails) ;
|
|
543
543
|
else if (response.response.value.length === 0) {
|
|
544
|
-
const status = ( localize(
|
|
544
|
+
const status = ( localize(5682, "No results, please refine your input and try again"));
|
|
545
545
|
this._ui.value.widget.updateStatus(status, { classes: ['warn'] });
|
|
546
546
|
}
|
|
547
547
|
else {
|
|
@@ -575,7 +575,7 @@ let InlineChatController = InlineChatController_1 = class InlineChatController {
|
|
|
575
575
|
await this._strategy.apply();
|
|
576
576
|
}
|
|
577
577
|
catch (err) {
|
|
578
|
-
this._dialogService.error(( localize(
|
|
578
|
+
this._dialogService.error(( localize(5683, "Failed to apply changes.", toErrorMessage(err))));
|
|
579
579
|
this._log('FAILED to apply changes');
|
|
580
580
|
this._log(err);
|
|
581
581
|
}
|
|
@@ -595,7 +595,7 @@ let InlineChatController = InlineChatController_1 = class InlineChatController {
|
|
|
595
595
|
undoCancelEdits = this._strategy.cancel();
|
|
596
596
|
}
|
|
597
597
|
catch (err) {
|
|
598
|
-
this._dialogService.error(( localize(
|
|
598
|
+
this._dialogService.error(( localize(5684, "Failed to discard changes.", toErrorMessage(err))));
|
|
599
599
|
this._log('FAILED to discard changes');
|
|
600
600
|
this._log(err);
|
|
601
601
|
}
|
|
@@ -721,7 +721,7 @@ let InlineChatController = InlineChatController_1 = class InlineChatController {
|
|
|
721
721
|
if (!this._session) {
|
|
722
722
|
return;
|
|
723
723
|
}
|
|
724
|
-
const status = ( localize(
|
|
724
|
+
const status = ( localize(5685, "Accept or discard changes to continue saving."));
|
|
725
725
|
this._ui.value.widget.updateStatus(status, { classes: ['warn'] });
|
|
726
726
|
if (this._ui.value.position) {
|
|
727
727
|
this._editor.revealLineInCenterIfOutsideViewport(this._ui.value.position.lineNumber);
|
|
@@ -183,7 +183,7 @@ let InlineChatZoneWidget = class InlineChatZoneWidget extends ZoneWidget {
|
|
|
183
183
|
this.widget.reset();
|
|
184
184
|
this.widget.chatWidget.setVisible(false);
|
|
185
185
|
super.hide();
|
|
186
|
-
status(( localize(
|
|
186
|
+
status(( localize(10260, 'Closed inline chat widget')));
|
|
187
187
|
scrollState.restore(this.editor);
|
|
188
188
|
}
|
|
189
189
|
};
|