@codingame/monaco-vscode-api 19.1.3 → 20.0.0
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/missing-services.js +141 -54
- package/package.json +8 -8
- package/services.d.ts +5 -5
- package/services.js +3 -3
- package/vscode/src/vs/base/browser/dom.d.ts +7 -5
- package/vscode/src/vs/base/browser/dom.js +21 -132
- package/vscode/src/vs/base/browser/domSanitize.d.ts +28 -0
- package/vscode/src/vs/base/browser/domSanitize.js +175 -0
- package/vscode/src/vs/base/browser/formattedTextRenderer.d.ts +2 -5
- package/vscode/src/vs/base/browser/formattedTextRenderer.js +13 -20
- package/vscode/src/vs/base/browser/markdownRenderer.d.ts +23 -13
- package/vscode/src/vs/base/browser/markdownRenderer.js +155 -126
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.d.ts +2 -0
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +9 -11
- package/vscode/src/vs/base/browser/ui/button/button.d.ts +2 -0
- package/vscode/src/vs/base/browser/ui/button/button.js +24 -15
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/vscode/src/vs/base/browser/ui/highlightedlabel/highlightedLabel.js +5 -10
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.css +9 -0
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.js +3 -21
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +7 -7
- package/vscode/src/vs/base/browser/ui/list/listPaging.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/list/listWidget.d.ts +2 -0
- package/vscode/src/vs/base/browser/ui/list/listWidget.js +3 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/abstractScrollbar.js +9 -5
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.d.ts +3 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.js +48 -1
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElementOptions.d.ts +2 -0
- package/vscode/src/vs/base/browser/ui/toggle/toggle.css +0 -3
- package/vscode/src/vs/base/browser/ui/toggle/toggle.d.ts +22 -12
- package/vscode/src/vs/base/browser/ui/toggle/toggle.js +93 -33
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.d.ts +3 -0
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +3 -0
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.d.ts +3 -1
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +19 -17
- package/vscode/src/vs/base/browser/webWorkerFactory.d.ts +1 -1
- package/vscode/src/vs/base/browser/webWorkerFactory.js +3 -2
- package/vscode/src/vs/base/common/arrays.js +4 -1
- package/vscode/src/vs/base/common/arraysFind.d.ts +1 -0
- package/vscode/src/vs/base/common/async.d.ts +26 -0
- package/vscode/src/vs/base/common/async.js +103 -1
- package/vscode/src/vs/base/common/codicons.d.ts +1 -0
- package/vscode/src/vs/base/common/codiconsLibrary.d.ts +1 -0
- package/vscode/src/vs/base/common/codiconsLibrary.js +1 -0
- package/vscode/src/vs/base/common/lifecycle.js +4 -0
- package/vscode/src/vs/base/common/marshallingIds.d.ts +3 -1
- package/vscode/src/vs/base/common/marshallingIds.js +2 -0
- package/vscode/src/vs/base/common/network.d.ts +2 -1
- package/vscode/src/vs/base/common/network.js +2 -1
- package/vscode/src/vs/base/common/oauth.d.ts +2 -8
- package/vscode/src/vs/base/common/oauth.js +6 -27
- package/vscode/src/vs/base/common/observableInternal/changeTracker.d.ts +10 -0
- package/vscode/src/vs/base/common/observableInternal/changeTracker.js +33 -1
- package/vscode/src/vs/base/common/observableInternal/index.d.ts +2 -2
- package/vscode/src/vs/base/common/observableInternal/logging/debugger/devToolsLogger.js +22 -1
- package/vscode/src/vs/base/common/observableInternal/map.d.ts +24 -0
- package/vscode/src/vs/base/common/observableInternal/map.js +63 -0
- package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.d.ts +1 -0
- package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.js +8 -0
- package/vscode/src/vs/base/common/platform.js +1 -1
- package/vscode/src/vs/base/common/product.d.ts +19 -7
- package/vscode/src/vs/base/common/strings.d.ts +1 -0
- package/vscode/src/vs/base/common/strings.js +16 -1
- package/vscode/src/vs/editor/browser/config/editorConfiguration.js +4 -4
- package/vscode/src/vs/editor/browser/config/migrateOptions.js +1 -0
- package/vscode/src/vs/editor/browser/controller/dragScrolling.d.ts +48 -0
- package/vscode/src/vs/editor/browser/controller/dragScrolling.js +182 -0
- package/vscode/src/vs/editor/browser/controller/editContext/clipboardUtils.d.ts +1 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.d.ts +3 -5
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.js +30 -73
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderContentRich.d.ts +35 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderContentRich.js +329 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderContentSimple.d.ts +31 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderContentSimple.js +176 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderSupport.d.ts +12 -12
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +50 -88
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderUtils.d.ts +11 -0
- package/vscode/src/vs/editor/browser/controller/editContext/screenReaderUtils.d.ts +9 -12
- package/vscode/src/vs/editor/browser/controller/editContext/screenReaderUtils.js +22 -11
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +5 -21
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContextInput.js +23 -2
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContextState.d.ts +2 -2
- package/vscode/src/vs/editor/browser/controller/mouseHandler.d.ts +1 -0
- package/vscode/src/vs/editor/browser/controller/mouseHandler.js +31 -114
- package/vscode/src/vs/editor/browser/controller/mouseTarget.d.ts +1 -0
- package/vscode/src/vs/editor/browser/controller/mouseTarget.js +26 -7
- package/vscode/src/vs/editor/browser/coreCommands.d.ts +3 -3
- package/vscode/src/vs/editor/browser/editorBrowser.d.ts +1 -1
- package/vscode/src/vs/editor/browser/editorExtensions.d.ts +2 -2
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlas.js +1 -1
- package/vscode/src/vs/editor/browser/gpu/taskQueue.d.ts +5 -2
- package/vscode/src/vs/editor/browser/gpu/taskQueue.js +11 -4
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.js +1 -1
- package/vscode/src/vs/editor/browser/services/bulkEditService.d.ts +2 -2
- package/vscode/src/vs/editor/browser/services/editorWorkerService.d.ts +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/hoverService.d.ts +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/hoverService.js +33 -1
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.d.ts +1 -0
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +6 -0
- package/vscode/src/vs/editor/browser/services/inlineCompletionsService.d.ts +4 -1
- package/vscode/src/vs/editor/browser/services/inlineCompletionsService.js +13 -2
- package/vscode/src/vs/editor/browser/view/domLineBreaksComputer.d.ts +1 -1
- package/vscode/src/vs/editor/browser/view/domLineBreaksComputer.js +1 -1
- package/vscode/src/vs/editor/browser/view/renderingContext.d.ts +2 -1
- package/vscode/src/vs/editor/browser/view/viewUserInputEvents.d.ts +1 -1
- package/vscode/src/vs/editor/browser/viewParts/contentWidgets/contentWidgets.js +4 -3
- package/vscode/src/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.js +2 -0
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.css +8 -2
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.d.ts +3 -2
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.js +44 -13
- package/vscode/src/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.d.ts +1 -0
- package/vscode/src/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.js +7 -2
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursor.d.ts +1 -0
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursor.js +9 -4
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLine.d.ts +1 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLine.js +43 -35
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLineOptions.d.ts +1 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLineOptions.js +2 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.css +1 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.d.ts +1 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.js +21 -4
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.d.ts +3 -3
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +3 -3
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +4 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.d.ts +3 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.js +9 -3
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.d.ts +2 -2
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.js +4 -4
- package/vscode/src/vs/editor/common/commands/surroundSelectionCommand.js +1 -1
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +21 -6
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +178 -162
- package/vscode/src/vs/editor/common/config/editorOptions.js +592 -495
- package/vscode/src/vs/editor/common/coordinatesConverter.d.ts +30 -0
- package/vscode/src/vs/editor/common/coordinatesConverter.js +56 -0
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/core/edits/edit.d.ts +3 -3
- package/vscode/src/vs/editor/common/core/edits/lineEdit.d.ts +2 -2
- package/vscode/src/vs/editor/common/core/edits/lineEdit.js +14 -14
- package/vscode/src/vs/editor/common/core/edits/stringEdit.d.ts +11 -4
- package/vscode/src/vs/editor/common/core/edits/stringEdit.js +36 -12
- package/vscode/src/vs/editor/common/core/edits/textEdit.d.ts +3 -0
- package/vscode/src/vs/editor/common/core/edits/textEdit.js +20 -0
- package/vscode/src/vs/editor/common/core/text/abstractText.d.ts +2 -0
- package/vscode/src/vs/editor/common/core/text/abstractText.js +3 -0
- package/vscode/src/vs/editor/common/core/text/positionToOffsetImpl.d.ts +1 -1
- package/vscode/src/vs/editor/common/core/text/positionToOffsetImpl.js +2 -2
- package/vscode/src/vs/editor/common/cursor/cursor.d.ts +4 -4
- package/vscode/src/vs/editor/common/cursor/cursor.js +9 -9
- package/vscode/src/vs/editor/common/cursor/cursorContext.d.ts +1 -1
- package/vscode/src/vs/editor/common/cursor/cursorDeleteOperations.d.ts +2 -1
- package/vscode/src/vs/editor/common/cursor/cursorDeleteOperations.js +28 -13
- package/vscode/src/vs/editor/common/cursor/cursorMoveCommands.js +15 -6
- package/vscode/src/vs/editor/common/cursorCommon.d.ts +1 -0
- package/vscode/src/vs/editor/common/cursorCommon.js +2 -0
- package/vscode/src/vs/editor/common/editorContextKeys.js +46 -46
- package/vscode/src/vs/editor/common/languages/defaultDocumentColorsComputer.js +3 -3
- package/vscode/src/vs/editor/common/languages/linkComputer.js +1 -4
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
- package/vscode/src/vs/editor/common/languages.d.ts +19 -0
- package/vscode/src/vs/editor/common/languages.js +83 -57
- package/vscode/src/vs/editor/common/model/editStack.d.ts +2 -2
- package/vscode/src/vs/editor/common/model/editStack.js +3 -3
- package/vscode/src/vs/editor/common/model/textModel.d.ts +7 -6
- package/vscode/src/vs/editor/common/model/textModel.js +5 -4
- package/vscode/src/vs/editor/common/model.d.ts +6 -1
- package/vscode/src/vs/editor/common/model.js +6 -1
- package/vscode/src/vs/editor/common/modelLineProjectionData.d.ts +1 -1
- package/vscode/src/vs/editor/common/services/editorWebWorker.d.ts +1 -1
- package/vscode/src/vs/editor/common/services/model.service.d.ts +2 -2
- package/vscode/src/vs/editor/common/services/modelService.d.ts +2 -2
- package/vscode/src/vs/editor/common/services/modelService.js +2 -2
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +172 -160
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +174 -161
- package/vscode/src/vs/editor/common/standaloneStrings.js +47 -47
- package/vscode/src/vs/editor/common/textModelEditSource.d.ts +151 -0
- package/vscode/src/vs/editor/common/{textModelEditReason.js → textModelEditSource.js} +44 -23
- package/vscode/src/vs/editor/common/textModelEvents.d.ts +2 -2
- package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.js +1 -1
- package/vscode/src/vs/editor/common/viewLayout/lineDecorations.d.ts +1 -1
- package/vscode/src/vs/editor/common/viewLayout/lineDecorations.js +1 -1
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.d.ts +8 -5
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +29 -29
- package/vscode/src/vs/editor/common/viewLayout/viewLinesViewportData.d.ts +2 -1
- package/vscode/src/vs/editor/common/viewModel/inlineDecorations.d.ts +21 -0
- package/vscode/src/vs/editor/common/viewModel/inlineDecorations.js +30 -0
- package/vscode/src/vs/editor/common/viewModel/modelLineProjection.js +2 -1
- package/vscode/src/vs/editor/common/viewModel/monospaceLineBreaksComputer.d.ts +1 -1
- package/vscode/src/vs/editor/common/viewModel/monospaceLineBreaksComputer.js +11 -3
- package/vscode/src/vs/editor/common/viewModel/screenReaderSimpleModel.d.ts +10 -0
- package/vscode/src/vs/editor/common/viewModel/viewModelDecoration.d.ts +11 -0
- package/vscode/src/vs/editor/common/viewModel/viewModelDecoration.js +49 -0
- package/vscode/src/vs/editor/common/viewModel/viewModelDecorations.d.ts +7 -11
- package/vscode/src/vs/editor/common/viewModel/viewModelDecorations.js +5 -43
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.d.ts +7 -4
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +32 -9
- package/vscode/src/vs/editor/common/viewModel/viewModelLines.d.ts +4 -2
- package/vscode/src/vs/editor/common/viewModel/viewModelLines.js +5 -55
- package/vscode/src/vs/editor/common/viewModel.d.ts +8 -34
- package/vscode/src/vs/editor/common/viewModel.js +3 -35
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +44 -17
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +8 -7
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.js +5 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerSaturationBox.d.ts +0 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerSaturationBox.js +0 -3
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +4 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -19
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.d.ts +3 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +54 -29
- 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/dropOrPasteInto/browser/postEditWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findController.d.ts +4 -4
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +26 -26
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +20 -20
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- 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/gotoError/browser/gotoErrorWidget.js +14 -14
- 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/gotoSymbol/browser/referencesModel.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.d.ts +3 -1
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.js +31 -3
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +3 -3
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidget.d.ts +3 -1
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidget.js +6 -3
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.js +7 -2
- package/vscode/src/vs/editor/contrib/hover/browser/getHover.d.ts +1 -2
- package/vscode/src/vs/editor/contrib/hover/browser/getHover.js +6 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
- package/vscode/src/vs/editor/contrib/hover/browser/hoverTypes.d.ts +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.d.ts +1 -2
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +18 -19
- 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/inlayHints/browser/inlayHintsHover.js +17 -15
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.d.ts +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +21 -20
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +22 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/ghostText.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.d.ts +5 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +107 -83
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +31 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.d.ts +4 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +27 -16
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +6 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +11 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/typingSpeed.d.ts +32 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/typingSpeed.js +145 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.js +2 -21
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +14 -9
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +5 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +3 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.js +42 -20
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsInsertionView.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
- package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.d.ts +5 -0
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +105 -33
- 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/message/browser/messageController.js +1 -1
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.d.ts +2 -0
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +34 -28
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.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 +18 -18
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +13 -13
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +6 -6
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.js +2 -2
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +5 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +13 -13
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +17 -17
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.d.ts +6 -6
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +30 -30
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +9 -6
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +3 -3
- package/vscode/src/vs/editor/editor.worker.start.d.ts +1 -1
- package/vscode/src/vs/editor/editor.worker.start.js +26 -18
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.d.ts +2 -1
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +3 -0
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +1 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +1 -1
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionList.d.ts +3 -1
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +45 -8
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +20 -1
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/vscode/src/vs/platform/actions/browser/actionViewItemService.service.d.ts +5 -5
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/vscode/src/vs/platform/actions/browser/toolbar.d.ts +1 -0
- package/vscode/src/vs/platform/actions/browser/toolbar.js +6 -3
- package/vscode/src/vs/platform/actions/common/actions.d.ts +4 -3
- package/vscode/src/vs/platform/actions/common/actions.js +4 -3
- 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/clipboard/browser/clipboardService.d.ts +1 -1
- package/vscode/src/vs/platform/clipboard/browser/clipboardService.js +12 -2
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +5 -1
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +20 -10
- package/vscode/src/vs/platform/configuration/common/configurations.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/contextkey/common/scanner.js +5 -5
- package/vscode/src/vs/platform/diagnostics/common/diagnostics.d.ts +1 -1
- package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +1 -1
- package/vscode/src/vs/platform/dnd/browser/dnd.d.ts +1 -0
- package/vscode/src/vs/platform/dnd/browser/dnd.js +2 -1
- package/vscode/src/vs/platform/environment/common/argv.d.ts +2 -0
- package/vscode/src/vs/platform/environment/common/environment.service.d.ts +1 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionGalleryManifest.d.ts +62 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionGalleryManifest.js +55 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionGalleryManifest.service.d.ts +3 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +2 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +19 -19
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +1 -1
- 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/extensions/common/extensionsApiProposals.d.ts +21 -0
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +21 -0
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/files/common/files.js +6 -6
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/vscode/src/vs/platform/imageResize/common/imageResizeService.service.d.ts +5 -0
- package/vscode/src/vs/platform/imageResize/common/imageResizeService.service.js +6 -0
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.service.d.ts +1 -1
- package/vscode/src/vs/platform/list/browser/listService.js +27 -27
- package/vscode/src/vs/platform/log/common/log.js +6 -6
- package/vscode/src/vs/platform/markers/common/markerService.js +2 -2
- package/vscode/src/vs/platform/markers/common/markers.js +6 -6
- package/vscode/src/vs/platform/mcp/common/mcpManagement.service.d.ts +8 -0
- package/vscode/src/vs/platform/mcp/common/mcpManagement.service.js +2 -1
- package/vscode/src/vs/platform/notification/common/notification.js +3 -3
- package/vscode/src/vs/platform/observable/common/platformObservableUtils.d.ts +1 -0
- package/vscode/src/vs/platform/observable/common/platformObservableUtils.js +20 -9
- package/vscode/src/vs/platform/opener/browser/link.js +1 -4
- package/vscode/src/vs/platform/policy/common/policy.d.ts +2 -2
- package/vscode/src/vs/platform/policy/common/policy.service.d.ts +1 -1
- package/vscode/src/vs/platform/product/common/product.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css +81 -14
- package/vscode/src/vs/platform/quickinput/browser/quickInput.d.ts +10 -7
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +19 -14
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +5 -5
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.d.ts +2 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +38 -11
- package/vscode/src/vs/platform/quickinput/browser/{quickInputTree.d.ts → quickInputList.d.ts} +1 -1
- package/vscode/src/vs/platform/quickinput/browser/{quickInputTree.js → quickInputList.js} +9 -9
- package/vscode/src/vs/platform/quickinput/browser/quickInputService.d.ts +2 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputService.js +3 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputDelegate.d.ts +6 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputDelegate.js +13 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTree.d.ts +9 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTree.js +35 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.d.ts +13 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +33 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.d.ts +42 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.js +296 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeFilter.d.ts +10 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeFilter.js +39 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.d.ts +33 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.js +148 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.d.ts +53 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.js +189 -0
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +46 -2
- package/vscode/src/vs/platform/quickinput/common/quickInput.js +1 -0
- package/vscode/src/vs/platform/quickinput/common/quickInput.service.d.ts +2 -1
- package/vscode/src/vs/platform/request/common/request.js +18 -18
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +1 -1
- package/vscode/src/vs/platform/terminal/common/environmentVariableShared.d.ts +1 -1
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +6 -5
- package/vscode/src/vs/platform/terminal/common/terminal.service.d.ts +2 -4
- package/vscode/src/vs/platform/terminal/common/terminalProcess.d.ts +1 -1
- package/vscode/src/vs/platform/theme/browser/defaultStyles.d.ts +1 -1
- package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
- 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/colors/editorColors.js +95 -95
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +47 -47
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +15 -15
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +6 -6
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.d.ts +12 -2
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +14 -6
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.service.d.ts +2 -1
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +64 -9
- package/vscode/src/vs/workbench/api/common/extHost.common.services.js +2 -0
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +102 -41
- package/vscode/src/vs/workbench/api/common/extHost.protocol.js +6 -0
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.d.ts +4 -2
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +98 -27
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +22 -4
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +24 -5
- package/vscode/src/vs/workbench/api/common/extHostChatOutputRenderer.d.ts +14 -0
- package/vscode/src/vs/workbench/api/common/extHostChatOutputRenderer.js +32 -0
- package/vscode/src/vs/workbench/api/common/extHostChatSessions.d.ts +35 -0
- package/vscode/src/vs/workbench/api/common/extHostChatSessions.js +222 -0
- package/vscode/src/vs/workbench/api/common/extHostCustomEditors.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDataChannels.d.ts +15 -0
- package/vscode/src/vs/workbench/api/common/extHostDataChannels.js +44 -0
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +3 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +32 -34
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.d.ts +12 -15
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +127 -120
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostMcp.js +40 -25
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostSCM.d.ts +1 -2
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +28 -10
- package/vscode/src/vs/workbench/api/common/extHostSecretState.d.ts +1 -0
- package/vscode/src/vs/workbench/api/common/extHostSecretState.js +3 -0
- package/vscode/src/vs/workbench/api/common/extHostSecrets.d.ts +2 -0
- package/vscode/src/vs/workbench/api/common/extHostSecrets.js +6 -0
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTask.d.ts +3 -0
- package/vscode/src/vs/workbench/api/common/extHostTask.js +12 -1
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.d.ts +8 -8
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +203 -198
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +19 -8
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +211 -33
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +77 -13
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +69 -11
- package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.d.ts +1 -1
- 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/textInputActions.d.ts +4 -2
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +24 -10
- package/vscode/src/vs/workbench/browser/contextkeys.js +10 -5
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.service.d.ts +1 -1
- package/vscode/src/vs/workbench/common/configuration.js +9 -9
- package/vscode/src/vs/workbench/common/contextkeys.js +87 -78
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.d.ts +32 -0
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +180 -0
- package/vscode/src/vs/workbench/common/editor/diffEditorModel.d.ts +12 -0
- package/vscode/src/vs/workbench/common/editor/diffEditorModel.js +26 -0
- package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +1 -1
- package/vscode/src/vs/workbench/common/editor/editorModel.d.ts +10 -0
- package/vscode/src/vs/workbench/common/editor/editorModel.js +27 -0
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.d.ts +51 -0
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +303 -0
- package/vscode/src/vs/workbench/common/editor/textDiffEditorModel.d.ts +18 -0
- package/vscode/src/vs/workbench/common/editor/textDiffEditorModel.js +45 -0
- package/vscode/src/vs/workbench/common/editor/textEditorModel.d.ts +47 -0
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +181 -0
- package/vscode/src/vs/workbench/common/editor.d.ts +1 -1
- package/vscode/src/vs/workbench/common/editor.js +4 -4
- package/vscode/src/vs/workbench/common/theme.d.ts +2 -2
- package/vscode/src/vs/workbench/common/theme.js +161 -161
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +164 -156
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +4 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAttachmentResolveService.service.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatContentParts.d.ts +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownAnchorService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContextPickService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.service.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +5 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +59 -48
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatEntitlementService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +81 -11
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +7 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +6 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +48 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatTodoListService.service.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatTodoListService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/chat/common/constants.js +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +32 -11
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.js +8 -5
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.service.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +47 -17
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +147 -65
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.service.d.ts +9 -7
- package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contentProviders/types.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.js +203 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/tools.js +4 -0
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +13 -13
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +11 -11
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +65 -65
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +4 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +5 -5
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- 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/inlineChatSessionService.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpRegistryTypes.d.ts +7 -2
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpRegistryTypes.service.d.ts +5 -4
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +33 -9
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +28 -10
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.d.ts +11 -3
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.d.ts +1 -1
- 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/constants.js +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.service.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +9 -7
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariable.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariable.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/quickFix.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/browser/terminalCompletionService.service.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.d.ts +2 -0
- package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +8 -10
- package/vscode/src/vs/workbench/services/activity/common/activity.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/assignment/common/assignmentService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/assignment/common/assignmentService.service.js +1 -1
- package/vscode/src/vs/workbench/services/authentication/common/dynamicAuthenticationProviderStorage.service.d.ts +5 -2
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
- package/vscode/src/vs/workbench/services/coreExperimentation/common/coreExperimentationService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/dataChannel/common/dataChannel.d.ts +7 -0
- package/vscode/src/vs/workbench/services/dataChannel/common/dataChannel.service.d.ts +8 -0
- package/vscode/src/vs/workbench/services/dataChannel/common/dataChannel.service.js +6 -0
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensions.d.ts +10 -13
- package/vscode/src/vs/workbench/services/extensions/common/extensions.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensions.service.d.ts +2 -5
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +100 -84
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/host/browser/host.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/languageDetection/common/languageDetectionWorkerService.d.ts +61 -0
- package/vscode/src/vs/workbench/services/languageDetection/common/languageDetectionWorkerService.js +7 -0
- package/vscode/src/vs/workbench/services/localization/common/locale.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
- package/vscode/src/vs/workbench/services/mcp/common/mcpWorkbenchManagementService.service.d.ts +11 -8
- package/vscode/src/vs/workbench/services/mcp/common/mcpWorkbenchManagementService.service.js +3 -2
- package/vscode/src/vs/workbench/services/outline/browser/outline.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/preferences/common/preferences.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- 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/statusbar/browser/statusbar.d.ts +1 -0
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.d.ts +1 -1
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.service.d.ts +1 -2
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyEditorService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyService.service.d.ts +1 -1
- package/vscode-dts/vscode.d.ts +5 -5
- package/vscode-dts/vscode.proposed.chatOutputRenderer.d.ts +86 -0
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +142 -5
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +25 -19
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +2 -103
- package/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts +129 -0
- package/vscode-dts/vscode.proposed.d.ts +7 -0
- package/vscode-dts/vscode.proposed.dataChannels.d.ts +19 -0
- package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +2 -0
- package/vscode-dts/vscode.proposed.languageModelToolResultAudience.d.ts +25 -0
- package/vscode-dts/vscode.proposed.scmProviderOptions.d.ts +39 -0
- package/vscode-dts/vscode.proposed.secretStorageKeys.d.ts +16 -0
- package/vscode-dts/vscode.proposed.taskExecutionTerminal.d.ts +15 -0
- package/workbench.d.ts +1 -1
- package/workers/editor.worker.js +17 -16
- package/vscode/src/vs/base/common/policy.d.ts +0 -8
- package/vscode/src/vs/editor/common/textModelEditReason.d.ts +0 -98
- package/vscode/src/vs/platform/assignment/common/assignment.d.ts +0 -33
|
@@ -30,7 +30,7 @@ function announceCursorChange(previousCursorState, cursorState) {
|
|
|
30
30
|
const cursorPositions = ( cursorDiff.map(
|
|
31
31
|
cs => `line ${cs.viewState.position.lineNumber} column ${cs.viewState.position.column}`
|
|
32
32
|
)).join(', ');
|
|
33
|
-
const msg = cursorDiff.length === 1 ? ( localize(
|
|
33
|
+
const msg = cursorDiff.length === 1 ? ( localize(1369, "Cursor added: {0}", cursorPositions)) : ( localize(1370, "Cursors added: {0}", cursorPositions));
|
|
34
34
|
status(msg);
|
|
35
35
|
}
|
|
36
36
|
}
|
|
@@ -38,7 +38,7 @@ class InsertCursorAbove extends EditorAction {
|
|
|
38
38
|
constructor() {
|
|
39
39
|
super({
|
|
40
40
|
id: 'editor.action.insertCursorAbove',
|
|
41
|
-
label: ( localize2(
|
|
41
|
+
label: ( localize2(1371, "Add Cursor Above")),
|
|
42
42
|
precondition: undefined,
|
|
43
43
|
kbOpts: {
|
|
44
44
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -52,7 +52,7 @@ class InsertCursorAbove extends EditorAction {
|
|
|
52
52
|
menuOpts: {
|
|
53
53
|
menuId: MenuId.MenubarSelectionMenu,
|
|
54
54
|
group: '3_multi',
|
|
55
|
-
title: ( localize(
|
|
55
|
+
title: ( localize(1372, "&&Add Cursor Above")),
|
|
56
56
|
order: 2
|
|
57
57
|
}
|
|
58
58
|
});
|
|
@@ -80,7 +80,7 @@ class InsertCursorBelow extends EditorAction {
|
|
|
80
80
|
constructor() {
|
|
81
81
|
super({
|
|
82
82
|
id: 'editor.action.insertCursorBelow',
|
|
83
|
-
label: ( localize2(
|
|
83
|
+
label: ( localize2(1373, "Add Cursor Below")),
|
|
84
84
|
precondition: undefined,
|
|
85
85
|
kbOpts: {
|
|
86
86
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -94,7 +94,7 @@ class InsertCursorBelow extends EditorAction {
|
|
|
94
94
|
menuOpts: {
|
|
95
95
|
menuId: MenuId.MenubarSelectionMenu,
|
|
96
96
|
group: '3_multi',
|
|
97
|
-
title: ( localize(
|
|
97
|
+
title: ( localize(1374, "A&&dd Cursor Below")),
|
|
98
98
|
order: 3
|
|
99
99
|
}
|
|
100
100
|
});
|
|
@@ -122,7 +122,7 @@ class InsertCursorAtEndOfEachLineSelected extends EditorAction {
|
|
|
122
122
|
constructor() {
|
|
123
123
|
super({
|
|
124
124
|
id: 'editor.action.insertCursorAtEndOfEachLineSelected',
|
|
125
|
-
label: ( localize2(
|
|
125
|
+
label: ( localize2(1375, "Add Cursors to Line Ends")),
|
|
126
126
|
precondition: undefined,
|
|
127
127
|
kbOpts: {
|
|
128
128
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -132,7 +132,7 @@ class InsertCursorAtEndOfEachLineSelected extends EditorAction {
|
|
|
132
132
|
menuOpts: {
|
|
133
133
|
menuId: MenuId.MenubarSelectionMenu,
|
|
134
134
|
group: '3_multi',
|
|
135
|
-
title: ( localize(
|
|
135
|
+
title: ( localize(1376, "Add C&&ursors to Line Ends")),
|
|
136
136
|
order: 4
|
|
137
137
|
}
|
|
138
138
|
});
|
|
@@ -174,7 +174,7 @@ class InsertCursorAtEndOfLineSelected extends EditorAction {
|
|
|
174
174
|
constructor() {
|
|
175
175
|
super({
|
|
176
176
|
id: 'editor.action.addCursorsToBottom',
|
|
177
|
-
label: ( localize2(
|
|
177
|
+
label: ( localize2(1377, "Add Cursors to Bottom")),
|
|
178
178
|
precondition: undefined
|
|
179
179
|
});
|
|
180
180
|
}
|
|
@@ -200,7 +200,7 @@ class InsertCursorAtTopOfLineSelected extends EditorAction {
|
|
|
200
200
|
constructor() {
|
|
201
201
|
super({
|
|
202
202
|
id: 'editor.action.addCursorsToTop',
|
|
203
|
-
label: ( localize2(
|
|
203
|
+
label: ( localize2(1378, "Add Cursors to Top")),
|
|
204
204
|
precondition: undefined
|
|
205
205
|
});
|
|
206
206
|
}
|
|
@@ -608,7 +608,7 @@ class AddSelectionToNextFindMatchAction extends MultiCursorSelectionControllerAc
|
|
|
608
608
|
constructor() {
|
|
609
609
|
super({
|
|
610
610
|
id: 'editor.action.addSelectionToNextFindMatch',
|
|
611
|
-
label: ( localize2(
|
|
611
|
+
label: ( localize2(1379, "Add Selection to Next Find Match")),
|
|
612
612
|
precondition: undefined,
|
|
613
613
|
kbOpts: {
|
|
614
614
|
kbExpr: EditorContextKeys.focus,
|
|
@@ -618,7 +618,7 @@ class AddSelectionToNextFindMatchAction extends MultiCursorSelectionControllerAc
|
|
|
618
618
|
menuOpts: {
|
|
619
619
|
menuId: MenuId.MenubarSelectionMenu,
|
|
620
620
|
group: '3_multi',
|
|
621
|
-
title: ( localize(
|
|
621
|
+
title: ( localize(1380, "Add &&Next Occurrence")),
|
|
622
622
|
order: 5
|
|
623
623
|
}
|
|
624
624
|
});
|
|
@@ -631,12 +631,12 @@ class AddSelectionToPreviousFindMatchAction extends MultiCursorSelectionControll
|
|
|
631
631
|
constructor() {
|
|
632
632
|
super({
|
|
633
633
|
id: 'editor.action.addSelectionToPreviousFindMatch',
|
|
634
|
-
label: ( localize2(
|
|
634
|
+
label: ( localize2(1381, "Add Selection to Previous Find Match")),
|
|
635
635
|
precondition: undefined,
|
|
636
636
|
menuOpts: {
|
|
637
637
|
menuId: MenuId.MenubarSelectionMenu,
|
|
638
638
|
group: '3_multi',
|
|
639
|
-
title: ( localize(
|
|
639
|
+
title: ( localize(1382, "Add P&&revious Occurrence")),
|
|
640
640
|
order: 6
|
|
641
641
|
}
|
|
642
642
|
});
|
|
@@ -649,7 +649,7 @@ class MoveSelectionToNextFindMatchAction extends MultiCursorSelectionControllerA
|
|
|
649
649
|
constructor() {
|
|
650
650
|
super({
|
|
651
651
|
id: 'editor.action.moveSelectionToNextFindMatch',
|
|
652
|
-
label: ( localize2(
|
|
652
|
+
label: ( localize2(1383, "Move Last Selection to Next Find Match")),
|
|
653
653
|
precondition: undefined,
|
|
654
654
|
kbOpts: {
|
|
655
655
|
kbExpr: EditorContextKeys.focus,
|
|
@@ -666,7 +666,7 @@ class MoveSelectionToPreviousFindMatchAction extends MultiCursorSelectionControl
|
|
|
666
666
|
constructor() {
|
|
667
667
|
super({
|
|
668
668
|
id: 'editor.action.moveSelectionToPreviousFindMatch',
|
|
669
|
-
label: ( localize2(
|
|
669
|
+
label: ( localize2(1384, "Move Last Selection to Previous Find Match")),
|
|
670
670
|
precondition: undefined
|
|
671
671
|
});
|
|
672
672
|
}
|
|
@@ -678,7 +678,7 @@ class SelectHighlightsAction extends MultiCursorSelectionControllerAction {
|
|
|
678
678
|
constructor() {
|
|
679
679
|
super({
|
|
680
680
|
id: 'editor.action.selectHighlights',
|
|
681
|
-
label: ( localize2(
|
|
681
|
+
label: ( localize2(1385, "Select All Occurrences of Find Match")),
|
|
682
682
|
precondition: undefined,
|
|
683
683
|
kbOpts: {
|
|
684
684
|
kbExpr: EditorContextKeys.focus,
|
|
@@ -688,7 +688,7 @@ class SelectHighlightsAction extends MultiCursorSelectionControllerAction {
|
|
|
688
688
|
menuOpts: {
|
|
689
689
|
menuId: MenuId.MenubarSelectionMenu,
|
|
690
690
|
group: '3_multi',
|
|
691
|
-
title: ( localize(
|
|
691
|
+
title: ( localize(1386, "Select All &&Occurrences")),
|
|
692
692
|
order: 7
|
|
693
693
|
}
|
|
694
694
|
});
|
|
@@ -701,7 +701,7 @@ class CompatChangeAll extends MultiCursorSelectionControllerAction {
|
|
|
701
701
|
constructor() {
|
|
702
702
|
super({
|
|
703
703
|
id: 'editor.action.changeAll',
|
|
704
|
-
label: ( localize2(
|
|
704
|
+
label: ( localize2(1387, "Change All Occurrences")),
|
|
705
705
|
precondition: ( ContextKeyExpr.and(EditorContextKeys.writable, EditorContextKeys.editorTextFocus)),
|
|
706
706
|
kbOpts: {
|
|
707
707
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -751,11 +751,15 @@ let SelectionHighlighter = class SelectionHighlighter extends Disposable {
|
|
|
751
751
|
this._languageFeaturesService = _languageFeaturesService;
|
|
752
752
|
this.editor = editor;
|
|
753
753
|
this._isEnabled = editor.getOption(EditorOption.selectionHighlight);
|
|
754
|
+
this._isEnabledMultiline = editor.getOption(EditorOption.selectionHighlightMultiline);
|
|
755
|
+
this._maxLength = editor.getOption(EditorOption.selectionHighlightMaxLength);
|
|
754
756
|
this._decorations = editor.createDecorationsCollection();
|
|
755
757
|
this.updateSoon = this._register(( new RunOnceScheduler(() => this._update(), 300)));
|
|
756
758
|
this.state = null;
|
|
757
759
|
this._register(editor.onDidChangeConfiguration((e) => {
|
|
758
760
|
this._isEnabled = editor.getOption(EditorOption.selectionHighlight);
|
|
761
|
+
this._isEnabledMultiline = editor.getOption(EditorOption.selectionHighlightMultiline);
|
|
762
|
+
this._maxLength = editor.getOption(EditorOption.selectionHighlightMaxLength);
|
|
759
763
|
}));
|
|
760
764
|
this._register(editor.onDidChangeCursorSelection((e) => {
|
|
761
765
|
if (!this._isEnabled) {
|
|
@@ -793,18 +797,20 @@ let SelectionHighlighter = class SelectionHighlighter extends Disposable {
|
|
|
793
797
|
this.updateSoon.schedule();
|
|
794
798
|
}
|
|
795
799
|
_update() {
|
|
796
|
-
this._setState(SelectionHighlighter_1._createState(this.state, this._isEnabled, this.editor));
|
|
800
|
+
this._setState(SelectionHighlighter_1._createState(this.state, this._isEnabled, this._isEnabledMultiline, this._maxLength, this.editor));
|
|
797
801
|
}
|
|
798
|
-
static _createState(oldState, isEnabled, editor) {
|
|
802
|
+
static _createState(oldState, isEnabled, isEnabledMultiline, maxLength, editor) {
|
|
799
803
|
if (!isEnabled) {
|
|
800
804
|
return null;
|
|
801
805
|
}
|
|
802
806
|
if (!editor.hasModel()) {
|
|
803
807
|
return null;
|
|
804
808
|
}
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
809
|
+
if (!isEnabledMultiline) {
|
|
810
|
+
const s = editor.getSelection();
|
|
811
|
+
if (s.startLineNumber !== s.endLineNumber) {
|
|
812
|
+
return null;
|
|
813
|
+
}
|
|
808
814
|
}
|
|
809
815
|
const multiCursorController = MultiCursorSelectionController.get(editor);
|
|
810
816
|
if (!multiCursorController) {
|
|
@@ -836,7 +842,7 @@ let SelectionHighlighter = class SelectionHighlighter extends Disposable {
|
|
|
836
842
|
if (/^[ \t]+$/.test(r.searchText)) {
|
|
837
843
|
return null;
|
|
838
844
|
}
|
|
839
|
-
if (r.searchText.length >
|
|
845
|
+
if (maxLength > 0 && r.searchText.length > maxLength) {
|
|
840
846
|
return null;
|
|
841
847
|
}
|
|
842
848
|
const findState = findController.getState();
|
|
@@ -942,9 +948,9 @@ class FocusNextCursor extends EditorAction {
|
|
|
942
948
|
constructor() {
|
|
943
949
|
super({
|
|
944
950
|
id: 'editor.action.focusNextCursor',
|
|
945
|
-
label: ( localize2(
|
|
951
|
+
label: ( localize2(1388, "Focus Next Cursor")),
|
|
946
952
|
metadata: {
|
|
947
|
-
description: ( localize(
|
|
953
|
+
description: ( localize(1389, "Focuses the next cursor")),
|
|
948
954
|
args: [],
|
|
949
955
|
},
|
|
950
956
|
precondition: undefined
|
|
@@ -974,9 +980,9 @@ class FocusPreviousCursor extends EditorAction {
|
|
|
974
980
|
constructor() {
|
|
975
981
|
super({
|
|
976
982
|
id: 'editor.action.focusPreviousCursor',
|
|
977
|
-
label: ( localize2(
|
|
983
|
+
label: ( localize2(1390, "Focus Previous Cursor")),
|
|
978
984
|
metadata: {
|
|
979
|
-
description: ( localize(
|
|
985
|
+
description: ( localize(1391, "Focuses the previous cursor")),
|
|
980
986
|
args: [],
|
|
981
987
|
},
|
|
982
988
|
precondition: undefined
|
|
@@ -60,7 +60,7 @@ class TriggerParameterHintsAction extends EditorAction {
|
|
|
60
60
|
constructor() {
|
|
61
61
|
super({
|
|
62
62
|
id: 'editor.action.triggerParameterHints',
|
|
63
|
-
label: ( localize2(
|
|
63
|
+
label: ( localize2(1392, "Trigger Parameter Hints")),
|
|
64
64
|
precondition: EditorContextKeys.hasSignatureHelpProvider,
|
|
65
65
|
kbOpts: {
|
|
66
66
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -35,8 +35,8 @@ import { ThemeIcon } from '../../../../base/common/themables.js';
|
|
|
35
35
|
var ParameterHintsWidget_1;
|
|
36
36
|
registerCss(parameterHints);
|
|
37
37
|
const $ = $$1;
|
|
38
|
-
const parameterHintsNextIcon = registerIcon('parameter-hints-next', Codicon.chevronDown, ( localize(
|
|
39
|
-
const parameterHintsPreviousIcon = registerIcon('parameter-hints-previous', Codicon.chevronUp, ( localize(
|
|
38
|
+
const parameterHintsNextIcon = registerIcon('parameter-hints-next', Codicon.chevronDown, ( localize(1393, 'Icon for show next parameter hint.')));
|
|
39
|
+
const parameterHintsPreviousIcon = registerIcon('parameter-hints-previous', Codicon.chevronUp, ( localize(1394, 'Icon for show previous parameter hint.')));
|
|
40
40
|
let ParameterHintsWidget = class ParameterHintsWidget extends Disposable {
|
|
41
41
|
static { ParameterHintsWidget_1 = this; }
|
|
42
42
|
static { this.ID = 'editor.widget.parameterHintsWidget'; }
|
|
@@ -206,7 +206,7 @@ let ParameterHintsWidget = class ParameterHintsWidget extends Disposable {
|
|
|
206
206
|
labelToAnnounce += typeof signature.documentation === 'string' ? `, ${signature.documentation}` : `, ${signature.documentation.value}`;
|
|
207
207
|
}
|
|
208
208
|
if (this.announcedLabel !== labelToAnnounce) {
|
|
209
|
-
alert(( localize(
|
|
209
|
+
alert(( localize(1395, "{0}, hint", labelToAnnounce)));
|
|
210
210
|
this.announcedLabel = labelToAnnounce;
|
|
211
211
|
}
|
|
212
212
|
}
|
|
@@ -303,6 +303,6 @@ ParameterHintsWidget = ParameterHintsWidget_1 = ( __decorate([
|
|
|
303
303
|
( __param(3, IOpenerService)),
|
|
304
304
|
( __param(4, ILanguageService))
|
|
305
305
|
], ParameterHintsWidget));
|
|
306
|
-
registerColor('editorHoverWidget.highlightForeground', listHighlightForeground, ( localize(
|
|
306
|
+
registerColor('editorHoverWidget.highlightForeground', listHighlightForeground, ( localize(1396, 'Foreground color of the active item in the parameter hint.')));
|
|
307
307
|
|
|
308
308
|
export { ParameterHintsWidget };
|
|
@@ -56,7 +56,7 @@ class PeekViewService {
|
|
|
56
56
|
}
|
|
57
57
|
var PeekContext;
|
|
58
58
|
(function (PeekContext) {
|
|
59
|
-
PeekContext.inPeekEditor = ( new RawContextKey('inReferenceSearchEditor', true, ( localize(
|
|
59
|
+
PeekContext.inPeekEditor = ( new RawContextKey('inReferenceSearchEditor', true, ( localize(1397, "Whether the current code editor is embedded inside peek"))));
|
|
60
60
|
PeekContext.notInPeekEditor = ( PeekContext.inPeekEditor.toNegated());
|
|
61
61
|
})(PeekContext || (PeekContext = {}));
|
|
62
62
|
let PeekContextController = class PeekContextController {
|
|
@@ -152,7 +152,7 @@ let PeekViewWidget = class PeekViewWidget extends ZoneWidget {
|
|
|
152
152
|
this._actionbarWidget = ( new ActionBar(actionsContainer, actionBarOptions));
|
|
153
153
|
this._disposables.add(this._actionbarWidget);
|
|
154
154
|
if (!noCloseAction) {
|
|
155
|
-
this._actionbarWidget.push(this._disposables.add(( new Action('peekview.close', ( localize(
|
|
155
|
+
this._actionbarWidget.push(this._disposables.add(( new Action('peekview.close', ( localize(1398, "Close")), ThemeIcon.asClassName(Codicon.close), true, () => {
|
|
156
156
|
this.dispose();
|
|
157
157
|
return Promise.resolve();
|
|
158
158
|
}))), { label: false, icon: true });
|
|
@@ -216,30 +216,30 @@ let PeekViewWidget = class PeekViewWidget extends ZoneWidget {
|
|
|
216
216
|
PeekViewWidget = ( __decorate([
|
|
217
217
|
( __param(2, IInstantiationService))
|
|
218
218
|
], PeekViewWidget));
|
|
219
|
-
const peekViewTitleBackground = registerColor('peekViewTitle.background', { dark: '#252526', light: '#F3F3F3', hcDark: Color.black, hcLight: Color.white }, ( localize(
|
|
220
|
-
const peekViewTitleForeground = registerColor('peekViewTitleLabel.foreground', { dark: Color.white, light: Color.black, hcDark: Color.white, hcLight: editorForeground }, ( localize(
|
|
221
|
-
const peekViewTitleInfoForeground = registerColor('peekViewTitleDescription.foreground', { dark: '#ccccccb3', light: '#616161', hcDark: '#FFFFFF99', hcLight: '#292929' }, ( localize(
|
|
222
|
-
const peekViewBorder = registerColor('peekView.border', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: contrastBorder, hcLight: contrastBorder }, ( localize(
|
|
223
|
-
const peekViewResultsBackground = registerColor('peekViewResult.background', { dark: '#252526', light: '#F3F3F3', hcDark: Color.black, hcLight: Color.white }, ( localize(
|
|
224
|
-
registerColor('peekViewResult.lineForeground', { dark: '#bbbbbb', light: '#646465', hcDark: Color.white, hcLight: editorForeground }, ( localize(
|
|
225
|
-
registerColor('peekViewResult.fileForeground', { dark: Color.white, light: '#1E1E1E', hcDark: Color.white, hcLight: editorForeground }, ( localize(
|
|
219
|
+
const peekViewTitleBackground = registerColor('peekViewTitle.background', { dark: '#252526', light: '#F3F3F3', hcDark: Color.black, hcLight: Color.white }, ( localize(1399, 'Background color of the peek view title area.')));
|
|
220
|
+
const peekViewTitleForeground = registerColor('peekViewTitleLabel.foreground', { dark: Color.white, light: Color.black, hcDark: Color.white, hcLight: editorForeground }, ( localize(1400, 'Color of the peek view title.')));
|
|
221
|
+
const peekViewTitleInfoForeground = registerColor('peekViewTitleDescription.foreground', { dark: '#ccccccb3', light: '#616161', hcDark: '#FFFFFF99', hcLight: '#292929' }, ( localize(1401, 'Color of the peek view title info.')));
|
|
222
|
+
const peekViewBorder = registerColor('peekView.border', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: contrastBorder, hcLight: contrastBorder }, ( localize(1402, 'Color of the peek view borders and arrow.')));
|
|
223
|
+
const peekViewResultsBackground = registerColor('peekViewResult.background', { dark: '#252526', light: '#F3F3F3', hcDark: Color.black, hcLight: Color.white }, ( localize(1403, 'Background color of the peek view result list.')));
|
|
224
|
+
registerColor('peekViewResult.lineForeground', { dark: '#bbbbbb', light: '#646465', hcDark: Color.white, hcLight: editorForeground }, ( localize(1404, 'Foreground color for line nodes in the peek view result list.')));
|
|
225
|
+
registerColor('peekViewResult.fileForeground', { dark: Color.white, light: '#1E1E1E', hcDark: Color.white, hcLight: editorForeground }, ( localize(1405, 'Foreground color for file nodes in the peek view result list.')));
|
|
226
226
|
registerColor('peekViewResult.selectionBackground', { dark: '#3399ff33', light: '#3399ff33', hcDark: null, hcLight: null }, ( localize(
|
|
227
|
-
|
|
227
|
+
1406,
|
|
228
228
|
'Background color of the selected entry in the peek view result list.'
|
|
229
229
|
)));
|
|
230
230
|
registerColor('peekViewResult.selectionForeground', { dark: Color.white, light: '#6C6C6C', hcDark: Color.white, hcLight: editorForeground }, ( localize(
|
|
231
|
-
|
|
231
|
+
1407,
|
|
232
232
|
'Foreground color of the selected entry in the peek view result list.'
|
|
233
233
|
)));
|
|
234
|
-
const peekViewEditorBackground = registerColor('peekViewEditor.background', { dark: '#001F33', light: '#F2F8FC', hcDark: Color.black, hcLight: Color.white }, ( localize(
|
|
235
|
-
registerColor('peekViewEditorGutter.background', peekViewEditorBackground, ( localize(
|
|
236
|
-
registerColor('peekViewEditorStickyScroll.background', peekViewEditorBackground, ( localize(
|
|
234
|
+
const peekViewEditorBackground = registerColor('peekViewEditor.background', { dark: '#001F33', light: '#F2F8FC', hcDark: Color.black, hcLight: Color.white }, ( localize(1408, 'Background color of the peek view editor.')));
|
|
235
|
+
registerColor('peekViewEditorGutter.background', peekViewEditorBackground, ( localize(1409, 'Background color of the gutter in the peek view editor.')));
|
|
236
|
+
registerColor('peekViewEditorStickyScroll.background', peekViewEditorBackground, ( localize(1410, 'Background color of sticky scroll in the peek view editor.')));
|
|
237
237
|
registerColor('peekViewEditorStickyScrollGutter.background', peekViewEditorBackground, ( localize(
|
|
238
|
-
|
|
238
|
+
1411,
|
|
239
239
|
'Background color of the gutter part of sticky scroll in the peek view editor.'
|
|
240
240
|
)));
|
|
241
|
-
registerColor('peekViewResult.matchHighlightBackground', { dark: '#ea5c004d', light: '#ea5c004d', hcDark: null, hcLight: null }, ( localize(
|
|
242
|
-
const peekViewEditorMatchHighlight = registerColor('peekViewEditor.matchHighlightBackground', { dark: '#ff8f0099', light: '#f5d802de', hcDark: null, hcLight: null }, ( localize(
|
|
243
|
-
registerColor('peekViewEditor.matchHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(
|
|
241
|
+
registerColor('peekViewResult.matchHighlightBackground', { dark: '#ea5c004d', light: '#ea5c004d', hcDark: null, hcLight: null }, ( localize(1412, 'Match highlight color in the peek view result list.')));
|
|
242
|
+
const peekViewEditorMatchHighlight = registerColor('peekViewEditor.matchHighlightBackground', { dark: '#ff8f0099', light: '#f5d802de', hcDark: null, hcLight: null }, ( localize(1413, 'Match highlight color in the peek view editor.')));
|
|
243
|
+
registerColor('peekViewEditor.matchHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(1414, 'Match highlight border in the peek view editor.')));
|
|
244
244
|
|
|
245
245
|
export { PeekContext, PeekViewService, PeekViewWidget, peekViewBorder, peekViewEditorBackground, peekViewEditorMatchHighlight, peekViewResultsBackground, peekViewTitleBackground, peekViewTitleForeground, peekViewTitleInfoForeground };
|
package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js
CHANGED
|
@@ -10,4 +10,4 @@ import { wrapInReloadableClass1 } from '../../../../platform/observable/common/w
|
|
|
10
10
|
|
|
11
11
|
registerCss(placeholderText);
|
|
12
12
|
registerEditorContribution(PlaceholderTextContribution.ID, wrapInReloadableClass1(() => PlaceholderTextContribution), EditorContributionInstantiation.Eager);
|
|
13
|
-
registerColor('editor.placeholder.foreground', ghostTextForeground, ( localize(
|
|
13
|
+
registerColor('editor.placeholder.foreground', ghostTextForeground, ( localize(1415, 'Foreground color of the placeholder text in the editor.')));
|
|
@@ -19,10 +19,10 @@ class ReadOnlyMessageController extends Disposable {
|
|
|
19
19
|
let message = this.editor.getOptions().get(EditorOption.readOnlyMessage);
|
|
20
20
|
if (!message) {
|
|
21
21
|
if (this.editor.isSimpleWidget) {
|
|
22
|
-
message = ( new MarkdownString(( localize(
|
|
22
|
+
message = ( new MarkdownString(( localize(1453, "Cannot edit in read-only input"))));
|
|
23
23
|
}
|
|
24
24
|
else {
|
|
25
|
-
message = ( new MarkdownString(( localize(
|
|
25
|
+
message = ( new MarkdownString(( localize(1454, "Cannot edit in read-only editor"))));
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
messageController.showMessage(message, this.editor.getPosition());
|
|
@@ -28,7 +28,7 @@ import { EditorContextKeys } from '../../../common/editorContextKeys.js';
|
|
|
28
28
|
import { NewSymbolNameTriggerKind } from '../../../common/languages.js';
|
|
29
29
|
import { ILanguageFeaturesService } from '../../../common/services/languageFeatures.service.js';
|
|
30
30
|
import { ITextResourceConfigurationService } from '../../../common/services/textResourceConfiguration.service.js';
|
|
31
|
-
import {
|
|
31
|
+
import { EditSources } from '../../../common/textModelEditSource.js';
|
|
32
32
|
import { EditorStateCancellationTokenSource, CodeEditorStateFlag } from '../../editorState/browser/editorState.js';
|
|
33
33
|
import { MessageController } from '../../message/browser/messageController.js';
|
|
34
34
|
import { RenameWidget, CONTEXT_RENAME_INPUT_VISIBLE } from './renameWidget.js';
|
|
@@ -94,7 +94,7 @@ class RenameSkeleton {
|
|
|
94
94
|
}
|
|
95
95
|
const result = await provider.provideRenameEdits(this.model, this.position, newName, token);
|
|
96
96
|
if (!result) {
|
|
97
|
-
return this._provideRenameEdits(newName, i + 1, rejects.concat(( localize(
|
|
97
|
+
return this._provideRenameEdits(newName, i + 1, rejects.concat(( localize(1455, "No result."))), token);
|
|
98
98
|
}
|
|
99
99
|
else if (result.rejectReason) {
|
|
100
100
|
return this._provideRenameEdits(newName, i + 1, rejects.concat(result.rejectReason), token);
|
|
@@ -172,7 +172,7 @@ let RenameController = class RenameController {
|
|
|
172
172
|
else {
|
|
173
173
|
trace('resolve rename location failed', e instanceof Error ? e : JSON.stringify(e, null, '\t'));
|
|
174
174
|
if (typeof e === 'string' || isMarkdownString(e)) {
|
|
175
|
-
MessageController.get(this.editor)?.showMessage(e || ( localize(
|
|
175
|
+
MessageController.get(this.editor)?.showMessage(e || ( localize(1456, "An unknown error occurred while resolving rename location")), position);
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
178
|
return undefined;
|
|
@@ -244,16 +244,16 @@ let RenameController = class RenameController {
|
|
|
244
244
|
this._bulkEditService.apply(renameResult, {
|
|
245
245
|
editor: this.editor,
|
|
246
246
|
showPreview: inputFieldResult.wantsPreview,
|
|
247
|
-
label: ( localize(
|
|
247
|
+
label: ( localize(1457, "Renaming '{0}' to '{1}'", loc?.text, inputFieldResult.newName)),
|
|
248
248
|
code: 'undoredo.rename',
|
|
249
|
-
quotableLabel: ( localize(
|
|
249
|
+
quotableLabel: ( localize(1458, "Renaming {0} to {1}", loc?.text, inputFieldResult.newName)),
|
|
250
250
|
respectAutoSaveConfig: true,
|
|
251
|
-
reason:
|
|
251
|
+
reason: EditSources.rename(),
|
|
252
252
|
}).then(result => {
|
|
253
253
|
trace('edits applied');
|
|
254
254
|
if (result.ariaSummary) {
|
|
255
255
|
alert(( localize(
|
|
256
|
-
|
|
256
|
+
1459,
|
|
257
257
|
"Successfully renamed '{0}' to '{1}'. Summary: {2}",
|
|
258
258
|
loc.text,
|
|
259
259
|
inputFieldResult.newName,
|
|
@@ -262,12 +262,12 @@ let RenameController = class RenameController {
|
|
|
262
262
|
}
|
|
263
263
|
}).catch(err => {
|
|
264
264
|
trace(`error when applying edits ${JSON.stringify(err, null, '\t')}`);
|
|
265
|
-
this._notificationService.error(( localize(
|
|
265
|
+
this._notificationService.error(( localize(1460, "Rename failed to apply edits")));
|
|
266
266
|
this._logService.error(err);
|
|
267
267
|
});
|
|
268
268
|
}, err => {
|
|
269
269
|
trace('error when providing rename edits', JSON.stringify(err, null, '\t'));
|
|
270
|
-
this._notificationService.error(( localize(
|
|
270
|
+
this._notificationService.error(( localize(1461, "Rename failed to compute edits")));
|
|
271
271
|
this._logService.error(err);
|
|
272
272
|
}).finally(() => {
|
|
273
273
|
cts2.dispose();
|
|
@@ -302,7 +302,7 @@ class RenameAction extends EditorAction {
|
|
|
302
302
|
constructor() {
|
|
303
303
|
super({
|
|
304
304
|
id: 'editor.action.rename',
|
|
305
|
-
label: ( localize2(
|
|
305
|
+
label: ( localize2(1462, "Rename Symbol")),
|
|
306
306
|
precondition: ( ContextKeyExpr.and(EditorContextKeys.writable, EditorContextKeys.hasRenameProvider)),
|
|
307
307
|
kbOpts: {
|
|
308
308
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -382,7 +382,7 @@ registerAction2(class FocusNextRenameSuggestion extends Action2 {
|
|
|
382
382
|
super({
|
|
383
383
|
id: 'focusNextRenameSuggestion',
|
|
384
384
|
title: {
|
|
385
|
-
...( localize2(
|
|
385
|
+
...( localize2(1463, "Focus Next Rename Suggestion")),
|
|
386
386
|
},
|
|
387
387
|
precondition: CONTEXT_RENAME_INPUT_VISIBLE,
|
|
388
388
|
keybinding: [
|
|
@@ -410,7 +410,7 @@ registerAction2(class FocusPreviousRenameSuggestion extends Action2 {
|
|
|
410
410
|
super({
|
|
411
411
|
id: 'focusPreviousRenameSuggestion',
|
|
412
412
|
title: {
|
|
413
|
-
...( localize2(
|
|
413
|
+
...( localize2(1464, "Focus Previous Rename Suggestion")),
|
|
414
414
|
},
|
|
415
415
|
precondition: CONTEXT_RENAME_INPUT_VISIBLE,
|
|
416
416
|
keybinding: [
|
|
@@ -453,7 +453,7 @@ registerModelAndPositionCommand('_executePrepareRename', async function (accesso
|
|
|
453
453
|
properties: {
|
|
454
454
|
'editor.rename.enablePreview': {
|
|
455
455
|
scope: ConfigurationScope.LANGUAGE_OVERRIDABLE,
|
|
456
|
-
description: ( localize(
|
|
456
|
+
description: ( localize(1465, "Enable/disable the ability to preview changes before renaming")),
|
|
457
457
|
default: true,
|
|
458
458
|
type: 'boolean'
|
|
459
459
|
}
|
|
@@ -44,7 +44,7 @@ import '../../../../platform/theme/common/colors/searchColors.js';
|
|
|
44
44
|
import { IThemeService } from '../../../../platform/theme/common/themeService.service.js';
|
|
45
45
|
|
|
46
46
|
registerCss(renameWidget);
|
|
47
|
-
const CONTEXT_RENAME_INPUT_VISIBLE = ( new RawContextKey('renameInputVisible', false, ( localize(
|
|
47
|
+
const CONTEXT_RENAME_INPUT_VISIBLE = ( new RawContextKey('renameInputVisible', false, ( localize(1466, "Whether the rename input widget is visible"))));
|
|
48
48
|
let RenameWidget = class RenameWidget {
|
|
49
49
|
constructor(_editor, _acceptKeybindings, _themeService, _keybindingService, contextKeyService, _logService) {
|
|
50
50
|
this._editor = _editor;
|
|
@@ -167,7 +167,7 @@ let RenameWidget = class RenameWidget {
|
|
|
167
167
|
beforeRender() {
|
|
168
168
|
const [accept, preview] = this._acceptKeybindings;
|
|
169
169
|
this._label.innerText = ( localize(
|
|
170
|
-
|
|
170
|
+
1467,
|
|
171
171
|
"{0} to Rename, {1} to Preview",
|
|
172
172
|
this._keybindingService.lookupKeybinding(accept)?.getLabel(),
|
|
173
173
|
this._keybindingService.lookupKeybinding(preview)?.getLabel()
|
|
@@ -463,7 +463,7 @@ class RenameCandidateListView {
|
|
|
463
463
|
this._listWidget.layout(height, width);
|
|
464
464
|
this._listContainer.style.height = `${height}px`;
|
|
465
465
|
this._listContainer.style.width = `${width}px`;
|
|
466
|
-
status(( localize(
|
|
466
|
+
status(( localize(1468, "Received {0} rename suggestions", candidates.length)));
|
|
467
467
|
}
|
|
468
468
|
clearCandidates() {
|
|
469
469
|
this._listContainer.style.height = '0px';
|
|
@@ -602,13 +602,13 @@ class InputWithButton {
|
|
|
602
602
|
this._inputNode.className = 'rename-input';
|
|
603
603
|
this._inputNode.type = 'text';
|
|
604
604
|
this._inputNode.style.border = 'none';
|
|
605
|
-
this._inputNode.setAttribute('aria-label', ( localize(
|
|
605
|
+
this._inputNode.setAttribute('aria-label', ( localize(1469, "Rename input. Type new name and press Enter to commit.")));
|
|
606
606
|
this._domNode.appendChild(this._inputNode);
|
|
607
607
|
this._buttonNode = createElement('div');
|
|
608
608
|
this._buttonNode.className = 'rename-suggestions-button';
|
|
609
609
|
this._buttonNode.setAttribute('tabindex', '0');
|
|
610
|
-
this._buttonGenHoverText = ( localize(
|
|
611
|
-
this._buttonCancelHoverText = ( localize(
|
|
610
|
+
this._buttonGenHoverText = ( localize(1470, "Generate new name suggestions"));
|
|
611
|
+
this._buttonCancelHoverText = ( localize(1471, "Cancel"));
|
|
612
612
|
this._buttonHoverContent = this._buttonGenHoverText;
|
|
613
613
|
this._disposables.add(getBaseLayerHoverDelegate().setupDelayedHover(this._buttonNode, () => ({
|
|
614
614
|
content: this._buttonHoverContent,
|
|
@@ -118,7 +118,7 @@ class GrowSelectionAction extends AbstractSmartSelect {
|
|
|
118
118
|
constructor() {
|
|
119
119
|
super(true, {
|
|
120
120
|
id: 'editor.action.smartSelect.expand',
|
|
121
|
-
label: ( localize2(
|
|
121
|
+
label: ( localize2(1472, "Expand Selection")),
|
|
122
122
|
precondition: undefined,
|
|
123
123
|
kbOpts: {
|
|
124
124
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -132,7 +132,7 @@ class GrowSelectionAction extends AbstractSmartSelect {
|
|
|
132
132
|
menuOpts: {
|
|
133
133
|
menuId: MenuId.MenubarSelectionMenu,
|
|
134
134
|
group: '1_basic',
|
|
135
|
-
title: ( localize(
|
|
135
|
+
title: ( localize(1473, "&&Expand Selection")),
|
|
136
136
|
order: 2
|
|
137
137
|
}
|
|
138
138
|
});
|
|
@@ -143,7 +143,7 @@ class ShrinkSelectionAction extends AbstractSmartSelect {
|
|
|
143
143
|
constructor() {
|
|
144
144
|
super(false, {
|
|
145
145
|
id: 'editor.action.smartSelect.shrink',
|
|
146
|
-
label: ( localize2(
|
|
146
|
+
label: ( localize2(1474, "Shrink Selection")),
|
|
147
147
|
precondition: undefined,
|
|
148
148
|
kbOpts: {
|
|
149
149
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -157,7 +157,7 @@ class ShrinkSelectionAction extends AbstractSmartSelect {
|
|
|
157
157
|
menuOpts: {
|
|
158
158
|
menuId: MenuId.MenubarSelectionMenu,
|
|
159
159
|
group: '1_basic',
|
|
160
|
-
title: ( localize(
|
|
160
|
+
title: ( localize(1475, "&&Shrink Selection")),
|
|
161
161
|
order: 3
|
|
162
162
|
}
|
|
163
163
|
});
|
|
@@ -8,7 +8,7 @@ import { RawContextKey } from "../../../../platform/contextkey/common/contextkey
|
|
|
8
8
|
import { IContextKeyService } from "../../../../platform/contextkey/common/contextkey.service.js";
|
|
9
9
|
import { ILogService } from "../../../../platform/log/common/log.service.js";
|
|
10
10
|
import { ISnippetEdit } from "./snippetSession.js";
|
|
11
|
-
import {
|
|
11
|
+
import { TextModelEditSource } from "../../../common/textModelEditSource.js";
|
|
12
12
|
export interface ISnippetInsertOptions {
|
|
13
13
|
overwriteBefore: number;
|
|
14
14
|
overwriteAfter: number;
|
|
@@ -17,7 +17,7 @@ export interface ISnippetInsertOptions {
|
|
|
17
17
|
undoStopAfter: boolean;
|
|
18
18
|
clipboardText: string | undefined;
|
|
19
19
|
overtypingCapturer: OvertypingCapturer | undefined;
|
|
20
|
-
reason?:
|
|
20
|
+
reason?: TextModelEditSource;
|
|
21
21
|
}
|
|
22
22
|
export declare class SnippetController2 implements IEditorContribution {
|
|
23
23
|
private readonly _editor;
|
|
@@ -33,9 +33,9 @@ let SnippetController2 = class SnippetController2 {
|
|
|
33
33
|
static get(editor) {
|
|
34
34
|
return editor.getContribution(SnippetController2_1.ID);
|
|
35
35
|
}
|
|
36
|
-
static { this.InSnippetMode = ( new RawContextKey('inSnippetMode', false, ( localize(
|
|
37
|
-
static { this.HasNextTabstop = ( new RawContextKey('hasNextTabstop', false, ( localize(
|
|
38
|
-
static { this.HasPrevTabstop = ( new RawContextKey('hasPrevTabstop', false, ( localize(
|
|
36
|
+
static { this.InSnippetMode = ( new RawContextKey('inSnippetMode', false, ( localize(1476, "Whether the editor in current in snippet mode")))); }
|
|
37
|
+
static { this.HasNextTabstop = ( new RawContextKey('hasNextTabstop', false, ( localize(1477, "Whether there is a next tab stop when in snippet mode")))); }
|
|
38
|
+
static { this.HasPrevTabstop = ( new RawContextKey('hasPrevTabstop', false, ( localize(1478, "Whether there is a previous tab stop when in snippet mode")))); }
|
|
39
39
|
constructor(_editor, _logService, _languageFeaturesService, contextKeyService, _languageConfigurationService) {
|
|
40
40
|
this._editor = _editor;
|
|
41
41
|
this._logService = _logService;
|
|
@@ -124,7 +124,7 @@ let SnippetController2 = class SnippetController2 {
|
|
|
124
124
|
sortText: 'a'.repeat(i + 1),
|
|
125
125
|
range: activeChoice.range,
|
|
126
126
|
filterText: isAnyOfOptions ? `${word}_${option.value}` : undefined,
|
|
127
|
-
command: { id: 'jumpToNextSnippetPlaceholder', title: ( localize(
|
|
127
|
+
command: { id: 'jumpToNextSnippetPlaceholder', title: ( localize(1479, 'Go to next placeholder...')) }
|
|
128
128
|
});
|
|
129
129
|
}
|
|
130
130
|
return { suggestions };
|
|
@@ -7,7 +7,7 @@ import { ILanguageConfigurationService } from "../../../common/languages/languag
|
|
|
7
7
|
import { IIdentifiedSingleEditOperation, ITextModel } from "../../../common/model.js";
|
|
8
8
|
import { OvertypingCapturer } from "../../suggest/browser/suggestOvertypingCapturer.js";
|
|
9
9
|
import { Choice, Marker, TextmateSnippet } from "./snippetParser.js";
|
|
10
|
-
import {
|
|
10
|
+
import { TextModelEditSource } from "../../../common/textModelEditSource.js";
|
|
11
11
|
export declare class OneSnippet {
|
|
12
12
|
private readonly _editor;
|
|
13
13
|
private readonly _snippet;
|
|
@@ -69,7 +69,7 @@ export declare class SnippetSession {
|
|
|
69
69
|
constructor(_editor: IActiveCodeEditor, _template: string | ISnippetEdit[], _options: ISnippetSessionInsertOptions | undefined, _languageConfigurationService: ILanguageConfigurationService);
|
|
70
70
|
dispose(): void;
|
|
71
71
|
_logInfo(): string;
|
|
72
|
-
insert(editReason?:
|
|
72
|
+
insert(editReason?: TextModelEditSource): void;
|
|
73
73
|
merge(template: string, options?: ISnippetSessionInsertOptions): void;
|
|
74
74
|
next(): void;
|
|
75
75
|
prev(): void;
|
|
@@ -17,7 +17,7 @@ import { ILabelService } from '../../../../platform/label/common/label.service.j
|
|
|
17
17
|
import { IWorkspaceContextService } from '../../../../platform/workspace/common/workspace.service.js';
|
|
18
18
|
import { Placeholder, Choice, Text, SnippetParser, TextmateSnippet } from './snippetParser.js';
|
|
19
19
|
import { ModelBasedVariableResolver, CompositeSnippetVariableResolver, ClipboardBasedVariableResolver, SelectionBasedVariableResolver, CommentBasedVariableResolver, TimeBasedVariableResolver, WorkspaceBasedVariableResolver, RandomBasedVariableResolver } from './snippetVariables.js';
|
|
20
|
-
import {
|
|
20
|
+
import { EditSources } from '../../../common/textModelEditSource.js';
|
|
21
21
|
|
|
22
22
|
var SnippetSession_1;
|
|
23
23
|
registerCss(snippetSession);
|
|
@@ -448,7 +448,7 @@ let SnippetSession = SnippetSession_1 = class SnippetSession {
|
|
|
448
448
|
? SnippetSession_1.createEditsAndSnippetsFromSelections(this._editor, this._template, this._options.overwriteBefore, this._options.overwriteAfter, false, this._options.adjustWhitespace, this._options.clipboardText, this._options.overtypingCapturer, this._languageConfigurationService)
|
|
449
449
|
: SnippetSession_1.createEditsAndSnippetsFromEdits(this._editor, this._template, false, this._options.adjustWhitespace, this._options.clipboardText, this._options.overtypingCapturer, this._languageConfigurationService);
|
|
450
450
|
this._snippets = snippets;
|
|
451
|
-
this._editor.executeEdits(editReason ??
|
|
451
|
+
this._editor.executeEdits(editReason ?? EditSources.snippet(), edits, _undoEdits => {
|
|
452
452
|
const undoEdits = _undoEdits.filter(edit => !!edit.identifier);
|
|
453
453
|
for (let idx = 0; idx < snippets.length; idx++) {
|
|
454
454
|
snippets[idx].initialize(undoEdits[idx].textChange);
|