@codingame/monaco-vscode-api 4.5.1 → 5.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/api.js +1 -1
- package/extensions.d.ts +2 -3
- package/extensions.js +10 -2
- package/lifecycle.js +6 -0
- package/localExtensionHost.d.ts +4 -1
- package/missing-services.js +41 -25
- package/package.json +8 -8
- package/service-override/tools/editor.js +31 -8
- package/service-override/tools/views.d.ts +1 -1
- package/service-override/tools/views.js +2 -3
- package/service-override/views.d.ts +0 -1
- package/services.d.ts +3 -3
- package/services.js +4 -3
- package/vscode/src/vs/base/browser/defaultWorkerFactory.js +4 -2
- package/vscode/src/vs/base/browser/dom.js +3 -3
- package/vscode/src/vs/base/browser/iframe.js +3 -1
- package/vscode/src/vs/base/browser/indexedDB.js +2 -2
- package/vscode/src/vs/base/browser/markdownRenderer.js +9 -3
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +6 -11
- package/vscode/src/vs/base/browser/ui/button/button.js +18 -21
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/contextview/contextview.js +1 -1
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +168 -165
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.js +2 -2
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +7 -10
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +19 -18
- package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +4 -15
- package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +13 -16
- package/vscode/src/vs/base/browser/ui/highlightedlabel/highlightedLabel.js +2 -2
- package/vscode/src/vs/{platform/hover/browser → base/browser/ui/hover}/hover.d.ts +64 -4
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegate.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegate2.js +13 -0
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +39 -25
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.js +15 -2
- package/vscode/src/vs/base/browser/ui/iconLabel/simpleIconLabel.js +2 -2
- package/vscode/src/vs/base/browser/ui/icons/iconSelectBox.css.js +4 -0
- package/vscode/src/vs/base/browser/ui/icons/iconSelectBox.js +239 -0
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +21 -41
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.js +5 -4
- package/vscode/src/vs/base/browser/ui/list/listView.js +11 -9
- package/vscode/src/vs/base/browser/ui/list/listWidget.d.ts +33 -0
- package/vscode/src/vs/base/browser/ui/list/listWidget.js +11 -8
- package/vscode/src/vs/base/browser/ui/list/rowCache.js +2 -2
- package/vscode/src/vs/base/browser/ui/menu/menu.js +1 -0
- package/vscode/src/vs/base/browser/ui/menu/menubar.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/menu/menubar.js +24 -23
- package/vscode/src/vs/base/browser/ui/progressbar/progressAccessibilitySignal.js +13 -0
- package/vscode/src/vs/base/browser/ui/progressbar/progressbar.js +7 -1
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.js +1 -1
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +14 -17
- package/vscode/src/vs/base/browser/ui/splitview/paneview.js +25 -25
- package/vscode/src/vs/base/browser/ui/splitview/splitview.js +10 -10
- package/vscode/src/vs/base/browser/ui/table/tableWidget.js +3 -3
- package/vscode/src/vs/base/browser/ui/toggle/toggle.js +8 -2
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +11 -10
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +188 -156
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +7 -7
- package/vscode/src/vs/base/browser/ui/tree/compressedObjectTreeModel.js +2 -2
- package/vscode/src/vs/base/browser/ui/tree/dataTree.js +2 -2
- package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.js +6 -6
- package/vscode/src/vs/base/browser/ui/tree/media/tree.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/tree/objectTree.js +7 -5
- package/vscode/src/vs/base/browser/ui/tree/objectTreeModel.js +4 -4
- package/vscode/src/vs/base/browser/ui/tree/treeDefaults.js +2 -1
- package/vscode/src/vs/base/common/actions.js +6 -5
- package/vscode/src/vs/base/common/arrays.js +2 -2
- package/vscode/src/vs/base/common/arraysFind.js +10 -8
- package/vscode/src/vs/base/common/assert.js +2 -2
- package/vscode/src/vs/base/common/async.js +11 -6
- package/vscode/src/vs/base/common/buffer.js +2 -2
- package/vscode/src/vs/base/common/cache.js +29 -10
- package/vscode/src/vs/base/common/cancellation.js +6 -1
- package/vscode/src/vs/base/common/codicons.d.ts +3 -0
- package/vscode/src/vs/base/common/codiconsLibrary.js +3 -0
- package/vscode/src/vs/base/common/codiconsUtil.js +1 -1
- package/vscode/src/vs/base/common/color.js +2 -2
- package/vscode/src/vs/base/common/controlFlow.js +48 -0
- package/vscode/src/vs/base/common/date.js +70 -284
- package/vscode/src/vs/base/common/decorators.js +2 -2
- package/vscode/src/vs/base/common/diff/diff.js +1 -1
- package/vscode/src/vs/base/common/equals.js +44 -0
- package/vscode/src/vs/base/common/errorMessage.js +12 -22
- package/vscode/src/vs/base/common/errors.js +2 -2
- package/vscode/src/vs/base/common/event.d.ts +11 -1
- package/vscode/src/vs/base/common/event.js +28 -3
- package/vscode/src/vs/base/common/extpath.js +1 -1
- package/vscode/src/vs/base/common/filters.js +1 -1
- package/vscode/src/vs/base/common/history.js +1 -1
- package/vscode/src/vs/base/common/jsonEdit.js +6 -4
- package/vscode/src/vs/base/common/jsonErrorMessages.js +10 -45
- package/vscode/src/vs/base/common/keyCodes.js +3 -1
- package/vscode/src/vs/base/common/keybindingLabels.js +29 -108
- package/vscode/src/vs/base/common/labels.js +2 -2
- package/vscode/src/vs/base/common/lifecycle.js +6 -6
- package/vscode/src/vs/base/common/map.js +64 -15
- package/vscode/src/vs/base/common/network.js +2 -0
- package/vscode/src/vs/base/common/objects.js +4 -1
- package/vscode/src/vs/base/common/observableInternal/autorun.js +1 -10
- package/vscode/src/vs/base/common/observableInternal/base.js +22 -10
- package/vscode/src/vs/base/common/observableInternal/derived.js +8 -8
- package/vscode/src/vs/base/common/observableInternal/promise.js +19 -1
- package/vscode/src/vs/base/common/observableInternal/utils.js +30 -52
- package/vscode/src/vs/base/common/path.js +2 -2
- package/vscode/src/vs/base/common/platform.js +7 -26
- package/vscode/src/vs/base/common/product.d.ts +1 -0
- package/vscode/src/vs/base/common/stream.js +1 -1
- package/vscode/src/vs/base/common/strings.js +3 -3
- package/vscode/src/vs/base/common/ternarySearchTree.js +3 -3
- package/vscode/src/vs/base/common/types.d.ts +5 -1
- package/vscode/src/vs/base/common/types.js +7 -5
- package/vscode/src/vs/base/common/uri.js +11 -5
- package/vscode/src/vs/base/common/worker/simpleWorker.js +7 -7
- package/vscode/src/vs/base/parts/ipc/common/ipc.net.js +1 -1
- package/vscode/src/vs/editor/browser/config/editorConfiguration.js +4 -3
- package/vscode/src/vs/editor/browser/controller/textAreaHandler.js +47 -42
- package/vscode/src/vs/editor/browser/coreCommands.js +104 -115
- package/vscode/src/vs/editor/browser/editorExtensions.js +24 -35
- package/vscode/src/vs/editor/browser/observableUtilities.js +58 -0
- package/vscode/src/vs/editor/browser/services/abstractCodeEditorService.js +2 -2
- package/vscode/src/vs/editor/browser/services/bulkEditService.js +1 -1
- package/vscode/src/vs/editor/browser/services/editorWorkerService.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/hoverService.js +121 -2
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +18 -22
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +80 -0
- package/vscode/src/vs/editor/browser/services/openerService.js +1 -1
- package/vscode/src/vs/editor/browser/stableEditorScroll.js +37 -1
- package/vscode/src/vs/editor/browser/view/viewLayer.js +1 -1
- package/vscode/src/vs/editor/browser/view.js +6 -6
- package/vscode/src/vs/editor/browser/viewParts/lines/viewLine.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/lines/viewLines.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimapCharRendererFactory.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/viewZones/viewZones.js +1 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorContributions.js +1 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +139 -131
- package/vscode/src/vs/editor/browser/widget/codeEditor/editor.css.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +25 -68
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +66 -99
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorDecorations.js +1 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +16 -13
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorSash.js +1 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +15 -34
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +25 -41
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.js +1 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +3 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +3 -10
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.js +9 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.js +6 -6
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +28 -51
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +42 -33
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +1 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +14 -20
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +8 -19
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils/editorGutter.js +1 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils.js +1 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +4 -15
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/diffEditorItemTemplate.js +3 -2
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorViewModel.js +17 -8
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidget.js +1 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +28 -20
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/style.css.js +1 -1
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +83 -154
- package/vscode/src/vs/editor/common/config/editorOptions.js +863 -1427
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +112 -255
- package/vscode/src/vs/editor/common/core/lineRange.d.ts +12 -0
- package/vscode/src/vs/editor/common/core/lineRange.js +32 -2
- package/vscode/src/vs/editor/common/core/offsetRange.js +3 -3
- package/vscode/src/vs/editor/common/core/textEdit.d.ts +21 -0
- package/vscode/src/vs/editor/common/core/textEdit.js +14 -2
- package/vscode/src/vs/editor/common/core/textLength.d.ts +29 -0
- package/vscode/src/vs/editor/common/core/textLength.js +6 -0
- package/vscode/src/vs/editor/common/cursor/cursorCollection.js +3 -3
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.js +1 -1
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js +11 -1
- package/vscode/src/vs/editor/common/diff/legacyLinesDiffComputer.js +1 -1
- package/vscode/src/vs/editor/common/diff/rangeMapping.d.ts +11 -0
- package/vscode/src/vs/editor/common/diff/rangeMapping.js +34 -3
- package/vscode/src/vs/editor/common/editorContextKeys.js +80 -239
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +5 -8
- package/vscode/src/vs/editor/common/languages/supports/tokenization.js +2 -2
- package/vscode/src/vs/editor/common/languages.d.ts +50 -10
- package/vscode/src/vs/editor/common/languages.js +79 -72
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/ast.js +12 -12
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/concat23Trees.js +2 -2
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/nodeReader.js +1 -1
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/parser.js +2 -2
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/tokenizer.js +1 -1
- package/vscode/src/vs/editor/common/model/editStack.js +47 -36
- package/vscode/src/vs/editor/common/model/guidesTextModelPart.js +3 -3
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.js +2 -2
- package/vscode/src/vs/editor/common/model/textModel.js +9 -9
- package/vscode/src/vs/editor/common/model/textModelPart.js +1 -1
- package/vscode/src/vs/editor/common/model/textModelTokens.js +2 -2
- package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.js +1 -1
- package/vscode/src/vs/editor/common/services/editorSimpleWorker.js +2 -2
- package/vscode/src/vs/editor/common/services/languageFeatureDebounce.js +1 -1
- package/vscode/src/vs/editor/common/services/languageFeatures.d.ts +2 -2
- package/vscode/src/vs/editor/common/services/languageFeaturesService.js +1 -1
- package/vscode/src/vs/editor/common/services/modelService.js +1 -1
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +11 -1
- package/vscode/src/vs/editor/common/standaloneStrings.js +56 -115
- package/vscode/src/vs/editor/common/textModelGuides.js +1 -1
- package/vscode/src/vs/editor/common/tokens/contiguousMultilineTokens.js +2 -2
- package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.js +1 -1
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +79 -67
- package/vscode/src/vs/editor/common/viewModel/modelLineProjection.js +12 -12
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +3 -0
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +12 -31
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +25 -40
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +4 -11
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +3 -6
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +28 -76
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +36 -25
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +54 -143
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +8 -7
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +51 -42
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +25 -54
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.js +5 -0
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +16 -28
- package/vscode/src/vs/editor/contrib/codelens/browser/codeLensCache.js +1 -1
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +30 -37
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorContributions.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +24 -31
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions.js +25 -25
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPickerWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +11 -34
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +39 -72
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +15 -14
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +6 -13
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +33 -50
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +38 -69
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +4 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +22 -29
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +7 -0
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +8 -7
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +92 -124
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +63 -147
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +51 -117
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +13 -32
- package/vscode/src/vs/editor/contrib/folding/browser/foldingRanges.js +2 -2
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +4 -15
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +28 -35
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +21 -52
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +38 -77
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +109 -246
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +21 -23
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +40 -30
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +23 -34
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +31 -42
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +33 -39
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +24 -23
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverComputer.js +74 -0
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.js +332 -0
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverStatusBar.js +34 -0
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverTypes.js +39 -0
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidget.js +355 -0
- package/vscode/src/vs/editor/contrib/hover/browser/getHover.js +11 -14
- package/vscode/src/vs/editor/contrib/hover/browser/hover.css.js +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +13 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +354 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverContribution.js +42 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverController.js +320 -0
- package/vscode/src/vs/editor/contrib/hover/browser/marginHoverComputer.js +48 -0
- package/vscode/src/vs/editor/contrib/hover/browser/{marginHover.js → marginHoverWidget.js} +14 -48
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +273 -55
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +19 -37
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +11 -18
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +62 -85
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHints.js +1 -1
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +87 -102
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/commands.js +31 -63
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/ghostTextWidget.js +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hoverParticipant.js +45 -43
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys.js +12 -18
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController.js +52 -34
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget.js +41 -68
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsModel.js +26 -24
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsSource.js +39 -70
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/singleTextEdit.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/suggestWidgetInlineCompletionProvider.js +3 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.js +4 -1
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/ghostTextWidget.js +1 -0
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/hoverParticipant.js +1 -0
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditController.js +4 -2
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditHintsWidget.js +5 -3
- package/vscode/src/vs/editor/contrib/inlineProgress/browser/inlineProgressWidget.css.js +1 -1
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +2 -5
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +135 -234
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +26 -33
- package/vscode/src/vs/editor/contrib/links/browser/links.js +32 -64
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +13 -16
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +122 -195
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +17 -20
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +16 -32
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +43 -86
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +10 -24
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +46 -170
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +3 -10
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +71 -81
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.css.js +1 -1
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +195 -78
- package/vscode/src/vs/editor/contrib/sectionHeaders/browser/sectionHeaders.js +5 -0
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +73 -86
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +26 -41
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.js +1 -1
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +13 -80
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +26 -55
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +13 -6
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.js +0 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +55 -72
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +161 -147
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +43 -95
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +21 -28
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +16 -23
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetStatus.js +11 -10
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +67 -66
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +13 -13
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +3 -6
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +72 -136
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +11 -26
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +19 -22
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +66 -59
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +72 -51
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.js +26 -19
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +40 -18
- package/vscode/src/vs/editor/standalone/browser/standaloneThemeService.js +2 -2
- package/vscode/src/vs/nls.js +1 -4
- package/vscode/src/vs/platform/accessibility/common/accessibility.d.ts +1 -9
- package/vscode/src/vs/platform/accessibility/common/accessibility.js +2 -1
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.d.ts +15 -9
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +172 -338
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.service.d.ts +12 -5
- package/vscode/src/vs/platform/accessibilitySignal/browser/progressAccessibilitySignalScheduler.js +25 -0
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +9 -16
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +21 -41
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +22 -49
- package/vscode/src/vs/platform/actions/browser/buttonbar.js +27 -29
- package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.js +1 -1
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +40 -51
- package/vscode/src/vs/platform/actions/browser/toolbar.d.ts +4 -1
- package/vscode/src/vs/platform/actions/browser/toolbar.js +74 -56
- package/vscode/src/vs/platform/actions/common/actions.contribution.js +5 -0
- package/vscode/src/vs/platform/actions/common/actions.d.ts +3 -1
- package/vscode/src/vs/platform/actions/common/actions.js +18 -6
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +21 -0
- package/vscode/src/vs/platform/actions/common/menuService.js +76 -56
- package/vscode/src/vs/platform/commands/common/commands.js +2 -2
- package/vscode/src/vs/platform/configuration/common/configuration.js +4 -0
- package/vscode/src/vs/platform/configuration/common/configurationModels.js +44 -33
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +38 -61
- package/vscode/src/vs/platform/configuration/common/configurations.js +12 -10
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +68 -51
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +168 -130
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +14 -45
- package/vscode/src/vs/platform/contextkey/common/scanner.js +12 -26
- package/vscode/src/vs/platform/contextview/browser/contextView.d.ts +4 -1
- package/vscode/src/vs/platform/contextview/browser/contextView.service.d.ts +2 -3
- package/vscode/src/vs/platform/contextview/browser/contextViewService.js +10 -8
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +18 -33
- package/vscode/src/vs/platform/dnd/browser/dnd.js +24 -19
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +0 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +9 -15
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +2 -6
- package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.js +335 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +916 -0
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +36 -43
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +5 -0
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +23 -16
- package/vscode/src/vs/platform/files/common/files.d.ts +14 -1
- package/vscode/src/vs/platform/files/common/files.js +41 -58
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +28 -21
- package/vscode/src/vs/platform/hover/browser/hover.js +2 -2
- package/vscode/src/vs/platform/hover/browser/hover.service.d.ts +2 -31
- package/vscode/src/vs/platform/instantiation/common/instantiation.d.ts +9 -0
- package/vscode/src/vs/platform/instantiation/common/instantiation.js +1 -1
- package/vscode/src/vs/platform/instantiation/common/instantiationService.js +49 -15
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +21 -20
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +75 -6
- package/vscode/src/vs/platform/layout/browser/zIndexRegistry.js +4 -2
- package/vscode/src/vs/platform/list/browser/listService.js +159 -189
- package/vscode/src/vs/platform/log/common/log.js +23 -20
- package/vscode/src/vs/platform/markers/common/markerService.js +8 -4
- package/vscode/src/vs/platform/markers/common/markers.js +15 -14
- package/vscode/src/vs/platform/opener/browser/link.js +6 -4
- package/vscode/src/vs/platform/product/common/product.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +36 -49
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +183 -193
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +122 -105
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +9 -8
- package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +5 -12
- package/vscode/src/vs/platform/request/common/request.js +31 -40
- package/vscode/src/vs/platform/telemetry/common/gdprTypings.d.ts +0 -1
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +1 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/capabilities.d.ts +5 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetection/promptInputModel.d.ts +30 -0
- package/vscode/src/vs/platform/terminal/common/terminal.js +3 -1
- package/vscode/src/vs/platform/theme/browser/defaultStyles.js +6 -0
- package/vscode/src/vs/platform/theme/browser/iconsStyleSheet.js +13 -11
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +28 -59
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +9 -40
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +151 -350
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +51 -170
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +63 -90
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +8 -35
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +14 -53
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +13 -32
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +14 -37
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +6 -13
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +9 -24
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +64 -207
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +111 -114
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +52 -55
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +20 -5
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +25 -32
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +7 -1
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncStoreService.js +173 -35
- package/vscode/src/vs/platform/workspace/common/workspace.js +8 -9
- package/vscode/src/vs/platform/workspaces/common/workspaces.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +31 -31
- package/vscode/src/vs/workbench/api/common/extHost.protocol.js +2 -6
- package/vscode/src/vs/workbench/api/common/extHostAiRelatedInformation.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostBulkEdits.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +71 -54
- package/vscode/src/vs/workbench/api/common/extHostChatVariables.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostCodeInsets.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostCommands.js +9 -5
- package/vscode/src/vs/workbench/api/common/extHostConfiguration.js +19 -7
- package/vscode/src/vs/workbench/api/common/extHostCustomEditors.js +17 -15
- package/vscode/src/vs/workbench/api/common/extHostDebugService.js +43 -27
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +37 -34
- package/vscode/src/vs/workbench/api/common/extHostDocumentContentProviders.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDocumentData.js +6 -4
- package/vscode/src/vs/workbench/api/common/extHostDocumentSaveParticipant.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostDocuments.js +5 -5
- package/vscode/src/vs/workbench/api/common/extHostDocumentsAndEditors.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostEditorTabs.js +13 -9
- package/vscode/src/vs/workbench/api/common/extHostEmbeddingVector.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +22 -7
- package/vscode/src/vs/workbench/api/common/extHostFileSystem.js +16 -16
- package/vscode/src/vs/workbench/api/common/extHostFileSystemConsumer.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostFileSystemEventService.js +19 -1
- package/vscode/src/vs/workbench/api/common/extHostInlineChat.js +4 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +356 -214
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +88 -44
- package/vscode/src/vs/workbench/api/common/extHostLanguages.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +6 -13
- package/vscode/src/vs/workbench/api/common/extHostManagedSockets.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +20 -14
- package/vscode/src/vs/workbench/api/common/extHostNotebookDocument.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostNotebookDocumentSaveParticipant.js +3 -2
- package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +20 -18
- package/vscode/src/vs/workbench/api/common/extHostNotebookRenderers.js +3 -1
- package/vscode/src/vs/workbench/api/common/extHostOutput.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostProfileContentHandler.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +4 -2
- package/vscode/src/vs/workbench/api/common/extHostSearch.js +8 -6
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +41 -38
- package/vscode/src/vs/workbench/api/common/extHostTask.js +15 -11
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +22 -21
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +109 -94
- package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.js +52 -36
- package/vscode/src/vs/workbench/api/common/extHostTestItem.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTesting.js +19 -35
- package/vscode/src/vs/workbench/api/common/extHostTestingPrivateApi.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTextEditor.js +6 -6
- package/vscode/src/vs/workbench/api/common/extHostTextEditors.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostTimeline.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +23 -11
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +31 -36
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +142 -146
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +103 -45
- package/vscode/src/vs/workbench/api/common/extHostUriOpener.js +6 -4
- package/vscode/src/vs/workbench/api/common/extHostUrls.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostWebview.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostWebviewMessaging.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostWebviewView.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostWindow.js +3 -5
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +51 -48
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +29 -44
- package/vscode/src/vs/workbench/api/worker/extHostExtensionService.js +3 -3
- package/vscode/src/vs/workbench/api/worker/extensionHostWorker.js +2 -2
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +93 -157
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +287 -621
- package/vscode/src/vs/workbench/browser/actions/media/actions.css.js +1 -1
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +31 -30
- package/vscode/src/vs/workbench/browser/actions/widgetNavigationCommands.js +30 -6
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +49 -123
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +63 -119
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +11 -26
- package/vscode/src/vs/workbench/browser/editor.js +62 -55
- package/vscode/src/vs/workbench/browser/labels.js +44 -52
- package/vscode/src/vs/workbench/browser/part.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +23 -56
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +72 -115
- package/vscode/src/vs/workbench/browser/parts/compositePart.d.ts +3 -1
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +12 -17
- package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +11 -18
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +51 -198
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +60 -101
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +51 -48
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +29 -40
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +176 -684
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +51 -104
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +76 -93
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +26 -77
- package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +19 -27
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +41 -60
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +86 -94
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +124 -353
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +21 -30
- package/vscode/src/vs/workbench/browser/parts/editor/media/editorquickaccess.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/media/multieditortabscontrol.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +57 -79
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +34 -31
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +2 -5
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +27 -24
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +21 -18
- package/vscode/src/vs/workbench/browser/parts/editor/textResourceEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +144 -142
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +42 -109
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +11 -10
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +25 -52
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +24 -59
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +22 -30
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +21 -61
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +23 -25
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +38 -54
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.d.ts +4 -3
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +58 -196
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.d.ts +2 -1
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.d.ts +3 -1
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +73 -124
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +19 -30
- package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +9 -8
- package/vscode/src/vs/workbench/browser/parts/views/media/views.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +328 -198
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +13 -16
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.d.ts +14 -3
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +118 -101
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +68 -85
- package/vscode/src/vs/workbench/browser/quickaccess.js +12 -12
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +394 -596
- package/vscode/src/vs/workbench/common/configuration.js +33 -52
- package/vscode/src/vs/workbench/common/contextkeys.js +117 -348
- package/vscode/src/vs/workbench/common/contributions.js +9 -3
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +14 -15
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +18 -15
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +14 -11
- package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor.js +31 -36
- package/vscode/src/vs/workbench/common/theme.js +408 -409
- package/vscode/src/vs/workbench/common/views.d.ts +2 -0
- package/vscode/src/vs/workbench/common/views.js +36 -35
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +280 -495
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleView.js +876 -0
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +90 -53
- package/vscode/src/vs/workbench/contrib/accessibility/browser/{accessibilityContributions.js → accessibleViewContributions.js} +163 -27
- package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +3 -3
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkCellEdits.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +55 -54
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +73 -201
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +84 -26
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +32 -65
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +8 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +21 -37
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAgentHover.js +101 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +23 -27
- package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +8 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +69 -74
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +270 -171
- package/vscode/src/vs/workbench/contrib/chat/browser/chatMarkdownDecorationsRenderer.js +42 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +15 -30
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +398 -59
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +55 -21
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chat.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chatAgentHover.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/chat/common/annotations.js +4 -9
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +101 -11
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatColors.js +7 -30
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +35 -65
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +105 -84
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +1 -14
- package/vscode/src/vs/workbench/contrib/chat/common/chatParticipantContribTypes.js +2 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.js +7 -9
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.service.js +3 -0
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +33 -40
- package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +24 -61
- package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +11 -34
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +23 -39
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +24 -34
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +24 -68
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +14 -17
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +25 -45
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +47 -55
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +4 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +13 -28
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +4 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +4 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +29 -41
- package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +14 -37
- package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +11 -14
- package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +102 -104
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +41 -43
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +21 -20
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +9 -20
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +20 -22
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +33 -64
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +121 -137
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +16 -19
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +56 -82
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +145 -79
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +16 -51
- package/vscode/src/vs/workbench/contrib/comments/browser/media/review.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +30 -44
- package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.js +23 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/timestamp.js +2 -3
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +24 -51
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +22 -17
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +55 -30
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +84 -242
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +33 -74
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +263 -435
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +14 -13
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +20 -67
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +967 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +62 -273
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +101 -0
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +12 -17
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +231 -291
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +147 -141
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +13 -14
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +4 -11
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +82 -0
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +25 -22
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +620 -1088
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +42 -69
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +10 -13
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +9 -15
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +32 -29
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +9 -12
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +26 -35
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +8 -11
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +38 -49
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +60 -107
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +71 -100
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +201 -379
- package/vscode/src/vs/workbench/contrib/files/browser/{fileCommands.save.js → fileCommands._save.js} +10 -13
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +11 -22
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +151 -244
- package/vscode/src/vs/workbench/contrib/files/browser/{files.configuration.contribution.js → files.contribution._configuration.js} +105 -156
- package/vscode/src/vs/workbench/contrib/files/browser/{files.editorPane.contribution.js → files.contribution._editorPane.js} +24 -31
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +22 -23
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +14 -25
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +63 -78
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +122 -155
- package/vscode/src/vs/workbench/contrib/files/browser/views/media/openeditors.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +60 -83
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +36 -26
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +8 -16
- package/vscode/src/vs/workbench/contrib/files/common/files.js +61 -84
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +11 -14
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +58 -106
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +9 -22
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +6 -9
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +15 -26
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +99 -231
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatContentWidget.js +10 -7
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +147 -164
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.js +9 -31
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +352 -111
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +100 -128
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +111 -103
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +24 -19
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChat.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChatContentWidget.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/utils.js +4 -32
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +85 -168
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveEditorInput.js +5 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +15 -18
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +75 -145
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeMarkers/mergeMarkersController.js +1 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/diffComputer.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/lineRange.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mapping.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +64 -53
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/modifiedBaseRange.js +2 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/textModelDiffs.js +7 -7
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/utils.js +2 -48
- package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +19 -50
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +2 -5
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +82 -74
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.js +7 -11
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +112 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +97 -157
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +40 -60
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +67 -122
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +21 -37
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +36 -43
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +9 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +11 -18
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.js +53 -67
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +12 -27
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +96 -153
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +8 -19
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +18 -45
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +7 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +94 -53
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +164 -216
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +28 -135
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookOptions.js +17 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellActionView.js +6 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellComments.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +20 -29
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +63 -82
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellStatusPart.js +5 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbars.js +2 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +16 -20
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +8 -23
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +11 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +8 -16
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +13 -21
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +20 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellAnchor.js +2 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellList.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellListView.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +111 -101
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +66 -73
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +35 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.js +17 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellEditorOptions.js +6 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/markupCellViewModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineProviderFactory.service.js +3 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.js +17 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorToolbar.js +2 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +48 -101
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +15 -19
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookCellTextModel.js +52 -16
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +3 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookContextKeys.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +21 -23
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModel.js +30 -17
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +32 -44
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +16 -51
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +57 -94
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +52 -231
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +34 -105
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +128 -158
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +19 -82
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +254 -447
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +9 -16
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +146 -181
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +2 -5
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +51 -62
- package/vscode/src/vs/workbench/contrib/search/browser/searchModel.js +2 -3
- package/vscode/src/vs/workbench/contrib/search/common/cellSearchModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +2 -5
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +3 -10
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +18 -17
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +18 -24
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +71 -70
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +36 -146
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +18 -23
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +19 -23
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +134 -123
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +7 -14
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +24 -6
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.js +2 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +19 -26
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.d.ts +8 -9
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm-private.d.ts +2 -20
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +10 -29
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +44 -80
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +106 -138
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverage.js +1 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testId.js +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testItemCollection.js +15 -5
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +51 -34
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +4 -11
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +20 -23
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +6 -9
- package/vscode/src/vs/workbench/services/accessibility/common/accessibleViewInformationService.service.d.ts +9 -0
- package/vscode/src/vs/workbench/services/accessibility/common/accessibleViewInformationService.service.js +3 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +18 -8
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +23 -62
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +3 -2
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +99 -18
- package/vscode/src/vs/workbench/services/editor/common/customEditorLabelService.js +30 -16
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +15 -4
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.service.d.ts +20 -1
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +9 -8
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionFeatures.js +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +3 -6
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.service.d.ts +0 -1
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +40 -57
- package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.d.ts +4 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionDescriptionRegistry.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostManagers.d.ts +4 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionRunningLocation.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensions.d.ts +8 -2
- package/vscode/src/vs/workbench/services/extensions/common/extensions.js +8 -3
- package/vscode/src/vs/workbench/services/extensions/common/extensions.service.d.ts +4 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsApiProposals.js +3 -3
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +176 -223
- package/vscode/src/vs/workbench/services/extensions/common/rpcProtocol.js +5 -3
- package/vscode/src/vs/workbench/services/extensions/worker/polyfillNestedWorker.js +1 -1
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +35 -38
- package/vscode/src/vs/workbench/services/language/common/languageService.js +75 -134
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +6 -4
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycleService.js +1 -1
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +6 -13
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +80 -66
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +8 -15
- package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +79 -72
- package/vscode/src/vs/workbench/services/preferences/common/preferencesValidation.js +54 -141
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +30 -42
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +92 -101
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +50 -45
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +15 -30
- package/vscode/src/vs/workbench/services/textfile/common/encoding.js +4 -1
- package/vscode/src/vs/workbench/services/textfile/common/textEditorService.js +3 -1
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +32 -35
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +48 -83
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +26 -45
- package/vscode/src/vs/workbench/services/themes/common/workbenchThemeService.js +1 -0
- package/vscode/src/vs/workbench/services/userDataProfile/browser/iconSelectBox.js +97 -0
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +14 -23
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +2 -5
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +22 -62
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +49 -78
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopy.d.ts +7 -2
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +50 -89
- package/vscode-dts/vscode.proposed.chatParticipant.d.ts +23 -45
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +65 -91
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +9 -0
- package/vscode-dts/vscode.proposed.chatTab.d.ts +1 -5
- package/vscode-dts/vscode.proposed.contribAccessibilityHelpContent.d.ts +15 -0
- package/vscode-dts/vscode.proposed.debugFocus.d.ts +4 -4
- package/vscode-dts/vscode.proposed.defaultChatParticipant.d.ts +2 -2
- package/vscode-dts/vscode.proposed.documentPaste.d.ts +144 -43
- package/vscode-dts/vscode.proposed.editorHoverVerbosityLevel.d.ts +76 -0
- package/vscode-dts/vscode.proposed.interactive.d.ts +1 -17
- package/vscode-dts/vscode.proposed.languageModels.d.ts +56 -11
- package/vscode-dts/vscode.proposed.newSymbolNamesProvider.d.ts +12 -1
- package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +4 -4
- package/vscode-dts/vscode.proposed.speech.d.ts +2 -1
- package/vscode-dts/vscode.proposed.terminalShellIntegration.d.ts +144 -38
- package/vscode-dts/vscode.proposed.testPreserveFocus.d.ts +28 -0
- package/tools/l10n.js +0 -177
- package/vscode/src/vs/base/browser/ui/hover/updatableHoverWidget.d.ts +0 -21
- package/vscode/src/vs/base/browser/ui/hover/updatableHoverWidget.js +0 -215
- package/vscode/src/vs/editor/browser/services/hoverService/hoverService.d.ts +0 -32
- package/vscode/src/vs/editor/contrib/hover/browser/contentHover.js +0 -838
- package/vscode/src/vs/editor/contrib/hover/browser/hover.js +0 -685
- package/vscode/src/vs/platform/accessibility/common/accessibility.service.d.ts +0 -19
- package/vscode/src/vs/workbench/api/common/extHostChat.js +0 -54
- package/vscode/src/vs/workbench/api/common/extHostIssueReporter.js +0 -70
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignal.contribution.js +0 -308
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignalDebuggerContribution.js +0 -49
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignalLineFeatureContribution.js +0 -178
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/commands.js +0 -164
- package/vscode/src/vs/workbench/contrib/chat/common/chatContributionService.service.js +0 -3
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatFileCreationWidget.js +0 -223
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/OutlineEntry.js +0 -95
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.js +0 -113
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineProvider.js +0 -224
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalConfigHelper.d.ts +0 -48
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEvents.js +0 -47
- package/vscode-dts/vscode.proposed.dropMetadata.d.ts +0 -65
- package/vscode-dts/vscode.proposed.handleIssueUri.d.ts +0 -57
- package/vscode-dts/vscode.proposed.windowActivity.d.ts +0 -17
- /package/vscode/src/vs/workbench/browser/parts/editor/{editor.autosave.contribution.js → editor.contribution._autosave.js} +0 -0
- /package/vscode/src/vs/workbench/contrib/files/browser/{files.fileEditorFactory.contribution.js → files.contribution._fileEditorFactory.js} +0 -0
|
@@ -4,7 +4,6 @@ import { Gesture } from '../../../../base/browser/touch.js';
|
|
|
4
4
|
import { ActionBar } from '../../../../base/browser/ui/actionbar/actionbar.js';
|
|
5
5
|
import { getDefaultHoverDelegate } from '../../../../base/browser/ui/hover/hoverDelegateFactory.js';
|
|
6
6
|
import { IconLabel } from '../../../../base/browser/ui/iconLabel/iconLabel.js';
|
|
7
|
-
import { setupCustomHover } from '../../../../base/browser/ui/hover/updatableHoverWidget.js';
|
|
8
7
|
import { InputBox } from '../../../../base/browser/ui/inputbox/inputBox.js';
|
|
9
8
|
import { Action } from '../../../../base/common/actions.js';
|
|
10
9
|
import { equals } from '../../../../base/common/arrays.js';
|
|
@@ -45,6 +44,7 @@ import { SIDE_GROUP, ACTIVE_GROUP } from '../../../services/editor/common/editor
|
|
|
45
44
|
import { IEditorService } from '../../../services/editor/common/editorService.service.js';
|
|
46
45
|
import { INotificationService } from '../../../../platform/notification/common/notification.service.js';
|
|
47
46
|
var BreakpointsRenderer_1, FunctionBreakpointsRenderer_1, DataBreakpointsRenderer_1, InstructionBreakpointsRenderer_1;
|
|
47
|
+
const _moduleId = "vs/workbench/contrib/debug/browser/breakpointsView";
|
|
48
48
|
const $ = $$1;
|
|
49
49
|
function createCheckbox(disposables) {
|
|
50
50
|
const checkbox = $('input');
|
|
@@ -60,12 +60,11 @@ function getExpandedBodySize(model, sessionId, countLimit) {
|
|
|
60
60
|
}
|
|
61
61
|
let BreakpointsView = class BreakpointsView extends ViewPane {
|
|
62
62
|
constructor(options, contextMenuService, debugService, keybindingService, instantiationService, themeService, editorService, contextViewService, configurationService, viewDescriptorService, contextKeyService, openerService, telemetryService, labelService, menuService, hoverService, languageService) {
|
|
63
|
-
super(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, telemetryService);
|
|
63
|
+
super(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, telemetryService, hoverService);
|
|
64
64
|
this.debugService = debugService;
|
|
65
65
|
this.editorService = editorService;
|
|
66
66
|
this.contextViewService = contextViewService;
|
|
67
67
|
this.labelService = labelService;
|
|
68
|
-
this.hoverService = hoverService;
|
|
69
68
|
this.languageService = languageService;
|
|
70
69
|
this.needsRefresh = false;
|
|
71
70
|
this.needsStateChange = false;
|
|
@@ -81,36 +80,47 @@ let BreakpointsView = class BreakpointsView extends ViewPane {
|
|
|
81
80
|
this._register(this.debugService.getModel().onDidChangeBreakpoints(() => this.onBreakpointsChange()));
|
|
82
81
|
this._register(this.debugService.getViewModel().onDidFocusSession(() => this.onBreakpointsChange()));
|
|
83
82
|
this._register(this.debugService.onDidChangeState(() => this.onStateChange()));
|
|
84
|
-
this.hintDelayer = this._register(( new RunOnceScheduler(() => this.updateBreakpointsHint(true), 4000)));
|
|
83
|
+
this.hintDelayer = this._register(( (new RunOnceScheduler(() => this.updateBreakpointsHint(true), 4000))));
|
|
85
84
|
}
|
|
86
85
|
renderBody(container) {
|
|
87
86
|
super.renderBody(container);
|
|
88
87
|
this.element.classList.add('debug-pane');
|
|
89
88
|
container.classList.add('debug-breakpoints');
|
|
90
|
-
const delegate = ( new BreakpointsDelegate(this));
|
|
89
|
+
const delegate = ( (new BreakpointsDelegate(this)));
|
|
91
90
|
this.list = this.instantiationService.createInstance(WorkbenchList, 'Breakpoints', container, delegate, [
|
|
92
91
|
this.instantiationService.createInstance(BreakpointsRenderer, this.menu, this.breakpointHasMultipleModes, this.breakpointSupportsCondition, this.breakpointItemType),
|
|
93
|
-
( new ExceptionBreakpointsRenderer(
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
92
|
+
( (new ExceptionBreakpointsRenderer(
|
|
93
|
+
this.menu,
|
|
94
|
+
this.breakpointHasMultipleModes,
|
|
95
|
+
this.breakpointSupportsCondition,
|
|
96
|
+
this.breakpointItemType,
|
|
97
|
+
this.debugService,
|
|
98
|
+
this.hoverService
|
|
99
|
+
))),
|
|
100
|
+
( (new ExceptionBreakpointInputRenderer(this, this.debugService, this.contextViewService))),
|
|
101
101
|
this.instantiationService.createInstance(FunctionBreakpointsRenderer, this.menu, this.breakpointSupportsCondition, this.breakpointItemType),
|
|
102
|
-
( new FunctionBreakpointInputRenderer(
|
|
102
|
+
( (new FunctionBreakpointInputRenderer(
|
|
103
|
+
this,
|
|
104
|
+
this.debugService,
|
|
105
|
+
this.contextViewService,
|
|
106
|
+
this.hoverService,
|
|
107
|
+
this.labelService
|
|
108
|
+
))),
|
|
103
109
|
this.instantiationService.createInstance(DataBreakpointsRenderer, this.menu, this.breakpointHasMultipleModes, this.breakpointSupportsCondition, this.breakpointItemType, this.breakpointIsDataBytes),
|
|
104
|
-
( new DataBreakpointInputRenderer(
|
|
110
|
+
( (new DataBreakpointInputRenderer(
|
|
111
|
+
this,
|
|
112
|
+
this.debugService,
|
|
113
|
+
this.contextViewService,
|
|
114
|
+
this.hoverService,
|
|
115
|
+
this.labelService
|
|
116
|
+
))),
|
|
105
117
|
this.instantiationService.createInstance(InstructionBreakpointsRenderer),
|
|
106
118
|
], {
|
|
107
119
|
identityProvider: { getId: (element) => element.getId() },
|
|
108
120
|
multipleSelectionSupport: false,
|
|
109
121
|
keyboardNavigationLabelProvider: { getKeyboardNavigationLabel: (e) => e },
|
|
110
|
-
accessibilityProvider: ( new BreakpointsAccessibilityProvider(this.debugService, this.labelService)),
|
|
111
|
-
overrideStyles:
|
|
112
|
-
listBackground: this.getBackgroundColor()
|
|
113
|
-
}
|
|
122
|
+
accessibilityProvider: ( (new BreakpointsAccessibilityProvider(this.debugService, this.labelService))),
|
|
123
|
+
overrideStyles: this.getLocationBasedColors().listOverrideStyles
|
|
114
124
|
});
|
|
115
125
|
CONTEXT_BREAKPOINTS_FOCUSED.bindTo(this.list.contextKeyService);
|
|
116
126
|
this._register(this.list.onContextMenu(this.onListContextMenu, this));
|
|
@@ -165,12 +175,12 @@ let BreakpointsView = class BreakpointsView extends ViewPane {
|
|
|
165
175
|
renderHeaderTitle(container, title) {
|
|
166
176
|
super.renderHeaderTitle(container, title);
|
|
167
177
|
const iconLabelContainer = append(container, $('span.breakpoint-warning'));
|
|
168
|
-
this.hintContainer = this._register(( new IconLabel(iconLabelContainer, {
|
|
178
|
+
this.hintContainer = this._register(( (new IconLabel(iconLabelContainer, {
|
|
169
179
|
supportIcons: true, hoverDelegate: {
|
|
170
180
|
showHover: (options, focus) => this.hoverService.showHover({ content: options.content, target: this.hintContainer.element }, focus),
|
|
171
181
|
delay: this.configurationService.getValue('workbench.hover.delay')
|
|
172
182
|
}
|
|
173
|
-
})));
|
|
183
|
+
}))));
|
|
174
184
|
hide(this.hintContainer.element);
|
|
175
185
|
}
|
|
176
186
|
focus() {
|
|
@@ -239,7 +249,7 @@ let BreakpointsView = class BreakpointsView extends ViewPane {
|
|
|
239
249
|
});
|
|
240
250
|
if (message && debuggerHasUnverifiedBps?.length && this.debugService.getModel().areBreakpointsActivated()) {
|
|
241
251
|
if (delayed) {
|
|
242
|
-
const mdown = ( new MarkdownString(undefined, { isTrusted: true })).appendMarkdown(message);
|
|
252
|
+
const mdown = ( (new MarkdownString(undefined, { isTrusted: true }))).appendMarkdown(message);
|
|
243
253
|
this.hintContainer.setLabel('$(warning)', undefined, { title: { markdown: mdown, markdownNotSupportedFallback: message } });
|
|
244
254
|
show(this.hintContainer.element);
|
|
245
255
|
}
|
|
@@ -310,24 +320,24 @@ let BreakpointsView = class BreakpointsView extends ViewPane {
|
|
|
310
320
|
return elements;
|
|
311
321
|
}
|
|
312
322
|
};
|
|
313
|
-
BreakpointsView = ( __decorate([
|
|
314
|
-
( __param(1, IContextMenuService)),
|
|
315
|
-
( __param(2, IDebugService)),
|
|
316
|
-
( __param(3, IKeybindingService)),
|
|
317
|
-
( __param(4, IInstantiationService)),
|
|
318
|
-
( __param(5, IThemeService)),
|
|
319
|
-
( __param(6, IEditorService)),
|
|
320
|
-
( __param(7, IContextViewService)),
|
|
321
|
-
( __param(8, IConfigurationService)),
|
|
322
|
-
( __param(9, IViewDescriptorService)),
|
|
323
|
-
( __param(10, IContextKeyService)),
|
|
324
|
-
( __param(11, IOpenerService)),
|
|
325
|
-
( __param(12, ITelemetryService)),
|
|
326
|
-
( __param(13, ILabelService)),
|
|
327
|
-
( __param(14, IMenuService)),
|
|
328
|
-
( __param(15, IHoverService)),
|
|
329
|
-
( __param(16, ILanguageService))
|
|
330
|
-
], BreakpointsView));
|
|
323
|
+
BreakpointsView = ( (__decorate([
|
|
324
|
+
( (__param(1, IContextMenuService))),
|
|
325
|
+
( (__param(2, IDebugService))),
|
|
326
|
+
( (__param(3, IKeybindingService))),
|
|
327
|
+
( (__param(4, IInstantiationService))),
|
|
328
|
+
( (__param(5, IThemeService))),
|
|
329
|
+
( (__param(6, IEditorService))),
|
|
330
|
+
( (__param(7, IContextViewService))),
|
|
331
|
+
( (__param(8, IConfigurationService))),
|
|
332
|
+
( (__param(9, IViewDescriptorService))),
|
|
333
|
+
( (__param(10, IContextKeyService))),
|
|
334
|
+
( (__param(11, IOpenerService))),
|
|
335
|
+
( (__param(12, ITelemetryService))),
|
|
336
|
+
( (__param(13, ILabelService))),
|
|
337
|
+
( (__param(14, IMenuService))),
|
|
338
|
+
( (__param(15, IHoverService))),
|
|
339
|
+
( (__param(16, ILanguageService)))
|
|
340
|
+
], BreakpointsView)));
|
|
331
341
|
class BreakpointsDelegate {
|
|
332
342
|
constructor(view) {
|
|
333
343
|
this.view = view;
|
|
@@ -366,15 +376,16 @@ class BreakpointsDelegate {
|
|
|
366
376
|
return '';
|
|
367
377
|
}
|
|
368
378
|
}
|
|
369
|
-
const breakpointIdToActionBarDomeNode = ( new Map());
|
|
379
|
+
const breakpointIdToActionBarDomeNode = ( (new Map()));
|
|
370
380
|
let BreakpointsRenderer = class BreakpointsRenderer {
|
|
371
381
|
static { BreakpointsRenderer_1 = this; }
|
|
372
|
-
constructor(menu, breakpointHasMultipleModes, breakpointSupportsCondition, breakpointItemType, debugService, labelService) {
|
|
382
|
+
constructor(menu, breakpointHasMultipleModes, breakpointSupportsCondition, breakpointItemType, debugService, hoverService, labelService) {
|
|
373
383
|
this.menu = menu;
|
|
374
384
|
this.breakpointHasMultipleModes = breakpointHasMultipleModes;
|
|
375
385
|
this.breakpointSupportsCondition = breakpointSupportsCondition;
|
|
376
386
|
this.breakpointItemType = breakpointItemType;
|
|
377
387
|
this.debugService = debugService;
|
|
388
|
+
this.hoverService = hoverService;
|
|
378
389
|
this.labelService = labelService;
|
|
379
390
|
}
|
|
380
391
|
static { this.ID = 'breakpoints'; }
|
|
@@ -394,7 +405,7 @@ let BreakpointsRenderer = class BreakpointsRenderer {
|
|
|
394
405
|
append(data.breakpoint, data.checkbox);
|
|
395
406
|
data.name = append(data.breakpoint, $('span.name'));
|
|
396
407
|
data.filePath = append(data.breakpoint, $('span.file-path'));
|
|
397
|
-
data.actionBar = ( new ActionBar(data.breakpoint));
|
|
408
|
+
data.actionBar = ( (new ActionBar(data.breakpoint)));
|
|
398
409
|
data.toDispose.push(data.actionBar);
|
|
399
410
|
const badgeContainer = append(data.breakpoint, $('.badge-container'));
|
|
400
411
|
data.badge = append(badgeContainer, $('span.line-number.monaco-count-badge'));
|
|
@@ -404,7 +415,7 @@ let BreakpointsRenderer = class BreakpointsRenderer {
|
|
|
404
415
|
data.context = breakpoint;
|
|
405
416
|
data.breakpoint.classList.toggle('disabled', !this.debugService.getModel().areBreakpointsActivated());
|
|
406
417
|
data.name.textContent = basenameOrAuthority(breakpoint.uri);
|
|
407
|
-
let badgeContent = ( breakpoint.lineNumber.toString());
|
|
418
|
+
let badgeContent = ( (breakpoint.lineNumber.toString()));
|
|
408
419
|
if (breakpoint.column) {
|
|
409
420
|
badgeContent += `:${breakpoint.column}`;
|
|
410
421
|
}
|
|
@@ -416,7 +427,7 @@ let BreakpointsRenderer = class BreakpointsRenderer {
|
|
|
416
427
|
data.checkbox.checked = breakpoint.enabled;
|
|
417
428
|
const { message, icon } = getBreakpointMessageAndIcon(this.debugService.state, this.debugService.getModel().areBreakpointsActivated(), breakpoint, this.labelService, this.debugService.getModel());
|
|
418
429
|
data.icon.className = ThemeIcon.asClassName(icon);
|
|
419
|
-
data.toDispose.push(
|
|
430
|
+
data.toDispose.push(this.hoverService.setupUpdatableHover(getDefaultHoverDelegate('mouse'), data.breakpoint, breakpoint.message || message || ''));
|
|
420
431
|
const debugActive = this.debugService.state === 3 || this.debugService.state === 2 ;
|
|
421
432
|
if (debugActive && !breakpoint.verified) {
|
|
422
433
|
data.breakpoint.classList.add('disabled');
|
|
@@ -435,17 +446,19 @@ let BreakpointsRenderer = class BreakpointsRenderer {
|
|
|
435
446
|
dispose(templateData.toDispose);
|
|
436
447
|
}
|
|
437
448
|
};
|
|
438
|
-
BreakpointsRenderer = BreakpointsRenderer_1 = ( __decorate([
|
|
439
|
-
( __param(4, IDebugService)),
|
|
440
|
-
( __param(5,
|
|
441
|
-
|
|
449
|
+
BreakpointsRenderer = BreakpointsRenderer_1 = ( (__decorate([
|
|
450
|
+
( (__param(4, IDebugService))),
|
|
451
|
+
( (__param(5, IHoverService))),
|
|
452
|
+
( (__param(6, ILabelService)))
|
|
453
|
+
], BreakpointsRenderer)));
|
|
442
454
|
class ExceptionBreakpointsRenderer {
|
|
443
|
-
constructor(menu, breakpointHasMultipleModes, breakpointSupportsCondition, breakpointItemType, debugService) {
|
|
455
|
+
constructor(menu, breakpointHasMultipleModes, breakpointSupportsCondition, breakpointItemType, debugService, hoverService) {
|
|
444
456
|
this.menu = menu;
|
|
445
457
|
this.breakpointHasMultipleModes = breakpointHasMultipleModes;
|
|
446
458
|
this.breakpointSupportsCondition = breakpointSupportsCondition;
|
|
447
459
|
this.breakpointItemType = breakpointItemType;
|
|
448
460
|
this.debugService = debugService;
|
|
461
|
+
this.hoverService = hoverService;
|
|
449
462
|
}
|
|
450
463
|
static { this.ID = 'exceptionbreakpoints'; }
|
|
451
464
|
get templateId() {
|
|
@@ -463,7 +476,7 @@ class ExceptionBreakpointsRenderer {
|
|
|
463
476
|
data.name = append(data.breakpoint, $('span.name'));
|
|
464
477
|
data.condition = append(data.breakpoint, $('span.condition'));
|
|
465
478
|
data.breakpoint.classList.add('exception');
|
|
466
|
-
data.actionBar = ( new ActionBar(data.breakpoint));
|
|
479
|
+
data.actionBar = ( (new ActionBar(data.breakpoint)));
|
|
467
480
|
data.toDispose.push(data.actionBar);
|
|
468
481
|
const badgeContainer = append(data.breakpoint, $('.badge-container'));
|
|
469
482
|
data.badge = append(badgeContainer, $('span.line-number.monaco-count-badge'));
|
|
@@ -472,21 +485,12 @@ class ExceptionBreakpointsRenderer {
|
|
|
472
485
|
renderElement(exceptionBreakpoint, index, data) {
|
|
473
486
|
data.context = exceptionBreakpoint;
|
|
474
487
|
data.name.textContent = exceptionBreakpoint.label || `${exceptionBreakpoint.filter} exceptions`;
|
|
475
|
-
const exceptionBreakpointtitle = exceptionBreakpoint.verified ? (exceptionBreakpoint.description || data.name.textContent) : exceptionBreakpoint.message || ( localizeWithPath(
|
|
476
|
-
|
|
477
|
-
'unverifiedExceptionBreakpoint',
|
|
478
|
-
"Unverified Exception Breakpoint"
|
|
479
|
-
));
|
|
480
|
-
data.toDispose.push(setupCustomHover(getDefaultHoverDelegate('mouse'), data.breakpoint, exceptionBreakpointtitle));
|
|
488
|
+
const exceptionBreakpointtitle = exceptionBreakpoint.verified ? (exceptionBreakpoint.description || data.name.textContent) : exceptionBreakpoint.message || ( localizeWithPath(_moduleId, 0, "Unverified Exception Breakpoint"));
|
|
489
|
+
data.toDispose.push(this.hoverService.setupUpdatableHover(getDefaultHoverDelegate('mouse'), data.breakpoint, exceptionBreakpointtitle));
|
|
481
490
|
data.breakpoint.classList.toggle('disabled', !exceptionBreakpoint.verified);
|
|
482
491
|
data.checkbox.checked = exceptionBreakpoint.enabled;
|
|
483
492
|
data.condition.textContent = exceptionBreakpoint.condition || '';
|
|
484
|
-
data.toDispose.push(
|
|
485
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
486
|
-
'expressionCondition',
|
|
487
|
-
"Expression condition: {0}",
|
|
488
|
-
exceptionBreakpoint.condition
|
|
489
|
-
))));
|
|
493
|
+
data.toDispose.push(this.hoverService.setupUpdatableHover(getDefaultHoverDelegate('mouse'), data.condition, ( localizeWithPath(_moduleId, 1, "Expression condition: {0}", exceptionBreakpoint.condition))));
|
|
490
494
|
if (exceptionBreakpoint.modeLabel) {
|
|
491
495
|
data.badge.textContent = exceptionBreakpoint.modeLabel;
|
|
492
496
|
data.badge.style.display = 'block';
|
|
@@ -509,11 +513,12 @@ class ExceptionBreakpointsRenderer {
|
|
|
509
513
|
}
|
|
510
514
|
let FunctionBreakpointsRenderer = class FunctionBreakpointsRenderer {
|
|
511
515
|
static { FunctionBreakpointsRenderer_1 = this; }
|
|
512
|
-
constructor(menu, breakpointSupportsCondition, breakpointItemType, debugService, labelService) {
|
|
516
|
+
constructor(menu, breakpointSupportsCondition, breakpointItemType, debugService, hoverService, labelService) {
|
|
513
517
|
this.menu = menu;
|
|
514
518
|
this.breakpointSupportsCondition = breakpointSupportsCondition;
|
|
515
519
|
this.breakpointItemType = breakpointItemType;
|
|
516
520
|
this.debugService = debugService;
|
|
521
|
+
this.hoverService = hoverService;
|
|
517
522
|
this.labelService = labelService;
|
|
518
523
|
}
|
|
519
524
|
static { this.ID = 'functionbreakpoints'; }
|
|
@@ -533,7 +538,7 @@ let FunctionBreakpointsRenderer = class FunctionBreakpointsRenderer {
|
|
|
533
538
|
append(data.breakpoint, data.checkbox);
|
|
534
539
|
data.name = append(data.breakpoint, $('span.name'));
|
|
535
540
|
data.condition = append(data.breakpoint, $('span.condition'));
|
|
536
|
-
data.actionBar = ( new ActionBar(data.breakpoint));
|
|
541
|
+
data.actionBar = ( (new ActionBar(data.breakpoint)));
|
|
537
542
|
data.toDispose.push(data.actionBar);
|
|
538
543
|
const badgeContainer = append(data.breakpoint, $('.badge-container'));
|
|
539
544
|
data.badge = append(badgeContainer, $('span.line-number.monaco-count-badge'));
|
|
@@ -544,13 +549,13 @@ let FunctionBreakpointsRenderer = class FunctionBreakpointsRenderer {
|
|
|
544
549
|
data.name.textContent = functionBreakpoint.name;
|
|
545
550
|
const { icon, message } = getBreakpointMessageAndIcon(this.debugService.state, this.debugService.getModel().areBreakpointsActivated(), functionBreakpoint, this.labelService, this.debugService.getModel());
|
|
546
551
|
data.icon.className = ThemeIcon.asClassName(icon);
|
|
547
|
-
data.toDispose.push(
|
|
552
|
+
data.toDispose.push(this.hoverService.setupUpdatableHover(getDefaultHoverDelegate('mouse'), data.icon, message ? message : ''));
|
|
548
553
|
data.checkbox.checked = functionBreakpoint.enabled;
|
|
549
|
-
data.toDispose.push(
|
|
554
|
+
data.toDispose.push(this.hoverService.setupUpdatableHover(getDefaultHoverDelegate('mouse'), data.breakpoint, message ? message : ''));
|
|
550
555
|
if (functionBreakpoint.condition && functionBreakpoint.hitCondition) {
|
|
551
556
|
data.condition.textContent = ( localizeWithPath(
|
|
552
|
-
|
|
553
|
-
|
|
557
|
+
_moduleId,
|
|
558
|
+
2,
|
|
554
559
|
"Condition: {0} | Hit Count: {1}",
|
|
555
560
|
functionBreakpoint.condition,
|
|
556
561
|
functionBreakpoint.hitCondition
|
|
@@ -569,11 +574,7 @@ let FunctionBreakpointsRenderer = class FunctionBreakpointsRenderer {
|
|
|
569
574
|
const session = this.debugService.getViewModel().focusedSession;
|
|
570
575
|
data.breakpoint.classList.toggle('disabled', (session && !session.capabilities.supportsFunctionBreakpoints) || !this.debugService.getModel().areBreakpointsActivated());
|
|
571
576
|
if (session && !session.capabilities.supportsFunctionBreakpoints) {
|
|
572
|
-
data.toDispose.push(
|
|
573
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
574
|
-
'functionBreakpointsNotSupported',
|
|
575
|
-
"Function breakpoints are not supported by this debug type"
|
|
576
|
-
))));
|
|
577
|
+
data.toDispose.push(this.hoverService.setupUpdatableHover(getDefaultHoverDelegate('mouse'), data.breakpoint, ( localizeWithPath(_moduleId, 3, "Function breakpoints are not supported by this debug type"))));
|
|
577
578
|
}
|
|
578
579
|
const primary = [];
|
|
579
580
|
this.breakpointSupportsCondition.set(!session || !!session.capabilities.supportsConditionalBreakpoints);
|
|
@@ -587,19 +588,21 @@ let FunctionBreakpointsRenderer = class FunctionBreakpointsRenderer {
|
|
|
587
588
|
dispose(templateData.toDispose);
|
|
588
589
|
}
|
|
589
590
|
};
|
|
590
|
-
FunctionBreakpointsRenderer = FunctionBreakpointsRenderer_1 = ( __decorate([
|
|
591
|
-
( __param(3, IDebugService)),
|
|
592
|
-
( __param(4,
|
|
593
|
-
|
|
591
|
+
FunctionBreakpointsRenderer = FunctionBreakpointsRenderer_1 = ( (__decorate([
|
|
592
|
+
( (__param(3, IDebugService))),
|
|
593
|
+
( (__param(4, IHoverService))),
|
|
594
|
+
( (__param(5, ILabelService)))
|
|
595
|
+
], FunctionBreakpointsRenderer)));
|
|
594
596
|
let DataBreakpointsRenderer = class DataBreakpointsRenderer {
|
|
595
597
|
static { DataBreakpointsRenderer_1 = this; }
|
|
596
|
-
constructor(menu, breakpointHasMultipleModes, breakpointSupportsCondition, breakpointItemType, breakpointIsDataBytes, debugService, labelService) {
|
|
598
|
+
constructor(menu, breakpointHasMultipleModes, breakpointSupportsCondition, breakpointItemType, breakpointIsDataBytes, debugService, hoverService, labelService) {
|
|
597
599
|
this.menu = menu;
|
|
598
600
|
this.breakpointHasMultipleModes = breakpointHasMultipleModes;
|
|
599
601
|
this.breakpointSupportsCondition = breakpointSupportsCondition;
|
|
600
602
|
this.breakpointItemType = breakpointItemType;
|
|
601
603
|
this.breakpointIsDataBytes = breakpointIsDataBytes;
|
|
602
604
|
this.debugService = debugService;
|
|
605
|
+
this.hoverService = hoverService;
|
|
603
606
|
this.labelService = labelService;
|
|
604
607
|
}
|
|
605
608
|
static { this.ID = 'databreakpoints'; }
|
|
@@ -620,7 +623,7 @@ let DataBreakpointsRenderer = class DataBreakpointsRenderer {
|
|
|
620
623
|
data.name = append(data.breakpoint, $('span.name'));
|
|
621
624
|
data.accessType = append(data.breakpoint, $('span.access-type'));
|
|
622
625
|
data.condition = append(data.breakpoint, $('span.condition'));
|
|
623
|
-
data.actionBar = ( new ActionBar(data.breakpoint));
|
|
626
|
+
data.actionBar = ( (new ActionBar(data.breakpoint)));
|
|
624
627
|
data.toDispose.push(data.actionBar);
|
|
625
628
|
const badgeContainer = append(data.breakpoint, $('.badge-container'));
|
|
626
629
|
data.badge = append(badgeContainer, $('span.line-number.monaco-count-badge'));
|
|
@@ -631,9 +634,9 @@ let DataBreakpointsRenderer = class DataBreakpointsRenderer {
|
|
|
631
634
|
data.name.textContent = dataBreakpoint.description;
|
|
632
635
|
const { icon, message } = getBreakpointMessageAndIcon(this.debugService.state, this.debugService.getModel().areBreakpointsActivated(), dataBreakpoint, this.labelService, this.debugService.getModel());
|
|
633
636
|
data.icon.className = ThemeIcon.asClassName(icon);
|
|
634
|
-
data.toDispose.push(
|
|
637
|
+
data.toDispose.push(this.hoverService.setupUpdatableHover(getDefaultHoverDelegate('mouse'), data.icon, message ? message : ''));
|
|
635
638
|
data.checkbox.checked = dataBreakpoint.enabled;
|
|
636
|
-
data.toDispose.push(
|
|
639
|
+
data.toDispose.push(this.hoverService.setupUpdatableHover(getDefaultHoverDelegate('mouse'), data.breakpoint, message ? message : ''));
|
|
637
640
|
if (dataBreakpoint.modeLabel) {
|
|
638
641
|
data.badge.textContent = dataBreakpoint.modeLabel;
|
|
639
642
|
data.badge.style.display = 'block';
|
|
@@ -644,14 +647,10 @@ let DataBreakpointsRenderer = class DataBreakpointsRenderer {
|
|
|
644
647
|
const session = this.debugService.getViewModel().focusedSession;
|
|
645
648
|
data.breakpoint.classList.toggle('disabled', (session && !session.capabilities.supportsDataBreakpoints) || !this.debugService.getModel().areBreakpointsActivated());
|
|
646
649
|
if (session && !session.capabilities.supportsDataBreakpoints) {
|
|
647
|
-
data.toDispose.push(
|
|
648
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
649
|
-
'dataBreakpointsNotSupported',
|
|
650
|
-
"Data breakpoints are not supported by this debug type"
|
|
651
|
-
))));
|
|
650
|
+
data.toDispose.push(this.hoverService.setupUpdatableHover(getDefaultHoverDelegate('mouse'), data.breakpoint, ( localizeWithPath(_moduleId, 4, "Data breakpoints are not supported by this debug type"))));
|
|
652
651
|
}
|
|
653
652
|
if (dataBreakpoint.accessType) {
|
|
654
|
-
const accessType = dataBreakpoint.accessType === 'read' ? ( localizeWithPath(
|
|
653
|
+
const accessType = dataBreakpoint.accessType === 'read' ? ( localizeWithPath(_moduleId, 5, "Read")) : dataBreakpoint.accessType === 'write' ? ( localizeWithPath(_moduleId, 6, "Write")) : ( localizeWithPath(_moduleId, 7, "Access"));
|
|
655
654
|
data.accessType.textContent = accessType;
|
|
656
655
|
}
|
|
657
656
|
else {
|
|
@@ -659,8 +658,8 @@ let DataBreakpointsRenderer = class DataBreakpointsRenderer {
|
|
|
659
658
|
}
|
|
660
659
|
if (dataBreakpoint.condition && dataBreakpoint.hitCondition) {
|
|
661
660
|
data.condition.textContent = ( localizeWithPath(
|
|
662
|
-
|
|
663
|
-
|
|
661
|
+
_moduleId,
|
|
662
|
+
2,
|
|
664
663
|
"Condition: {0} | Hit Count: {1}",
|
|
665
664
|
dataBreakpoint.condition,
|
|
666
665
|
dataBreakpoint.hitCondition
|
|
@@ -684,14 +683,16 @@ let DataBreakpointsRenderer = class DataBreakpointsRenderer {
|
|
|
684
683
|
dispose(templateData.toDispose);
|
|
685
684
|
}
|
|
686
685
|
};
|
|
687
|
-
DataBreakpointsRenderer = DataBreakpointsRenderer_1 = ( __decorate([
|
|
688
|
-
( __param(5, IDebugService)),
|
|
689
|
-
( __param(6,
|
|
690
|
-
|
|
686
|
+
DataBreakpointsRenderer = DataBreakpointsRenderer_1 = ( (__decorate([
|
|
687
|
+
( (__param(5, IDebugService))),
|
|
688
|
+
( (__param(6, IHoverService))),
|
|
689
|
+
( (__param(7, ILabelService)))
|
|
690
|
+
], DataBreakpointsRenderer)));
|
|
691
691
|
let InstructionBreakpointsRenderer = class InstructionBreakpointsRenderer {
|
|
692
692
|
static { InstructionBreakpointsRenderer_1 = this; }
|
|
693
|
-
constructor(debugService, labelService) {
|
|
693
|
+
constructor(debugService, hoverService, labelService) {
|
|
694
694
|
this.debugService = debugService;
|
|
695
|
+
this.hoverService = hoverService;
|
|
695
696
|
this.labelService = labelService;
|
|
696
697
|
}
|
|
697
698
|
static { this.ID = 'instructionBreakpoints'; }
|
|
@@ -711,7 +712,7 @@ let InstructionBreakpointsRenderer = class InstructionBreakpointsRenderer {
|
|
|
711
712
|
append(data.breakpoint, data.checkbox);
|
|
712
713
|
data.name = append(data.breakpoint, $('span.name'));
|
|
713
714
|
data.address = append(data.breakpoint, $('span.file-path'));
|
|
714
|
-
data.actionBar = ( new ActionBar(data.breakpoint));
|
|
715
|
+
data.actionBar = ( (new ActionBar(data.breakpoint)));
|
|
715
716
|
data.toDispose.push(data.actionBar);
|
|
716
717
|
const badgeContainer = append(data.breakpoint, $('.badge-container'));
|
|
717
718
|
data.badge = append(badgeContainer, $('span.line-number.monaco-count-badge'));
|
|
@@ -720,12 +721,12 @@ let InstructionBreakpointsRenderer = class InstructionBreakpointsRenderer {
|
|
|
720
721
|
renderElement(breakpoint, index, data) {
|
|
721
722
|
data.context = breakpoint;
|
|
722
723
|
data.breakpoint.classList.toggle('disabled', !this.debugService.getModel().areBreakpointsActivated());
|
|
723
|
-
data.name.textContent = '0x' + ( breakpoint.address.toString(16));
|
|
724
|
-
data.toDispose.push(
|
|
724
|
+
data.name.textContent = '0x' + ( (breakpoint.address.toString(16)));
|
|
725
|
+
data.toDispose.push(this.hoverService.setupUpdatableHover(getDefaultHoverDelegate('mouse'), data.name, `Decimal address: breakpoint.address.toString()`));
|
|
725
726
|
data.checkbox.checked = breakpoint.enabled;
|
|
726
727
|
const { message, icon } = getBreakpointMessageAndIcon(this.debugService.state, this.debugService.getModel().areBreakpointsActivated(), breakpoint, this.labelService, this.debugService.getModel());
|
|
727
728
|
data.icon.className = ThemeIcon.asClassName(icon);
|
|
728
|
-
data.toDispose.push(
|
|
729
|
+
data.toDispose.push(this.hoverService.setupUpdatableHover(getDefaultHoverDelegate('mouse'), data.breakpoint, breakpoint.message || message || ''));
|
|
729
730
|
const debugActive = this.debugService.state === 3 || this.debugService.state === 2 ;
|
|
730
731
|
if (debugActive && !breakpoint.verified) {
|
|
731
732
|
data.breakpoint.classList.add('disabled');
|
|
@@ -742,15 +743,17 @@ let InstructionBreakpointsRenderer = class InstructionBreakpointsRenderer {
|
|
|
742
743
|
dispose(templateData.toDispose);
|
|
743
744
|
}
|
|
744
745
|
};
|
|
745
|
-
InstructionBreakpointsRenderer = InstructionBreakpointsRenderer_1 = ( __decorate([
|
|
746
|
-
( __param(0, IDebugService)),
|
|
747
|
-
( __param(1,
|
|
748
|
-
|
|
746
|
+
InstructionBreakpointsRenderer = InstructionBreakpointsRenderer_1 = ( (__decorate([
|
|
747
|
+
( (__param(0, IDebugService))),
|
|
748
|
+
( (__param(1, IHoverService))),
|
|
749
|
+
( (__param(2, ILabelService)))
|
|
750
|
+
], InstructionBreakpointsRenderer)));
|
|
749
751
|
class FunctionBreakpointInputRenderer {
|
|
750
|
-
constructor(view, debugService, contextViewService, labelService) {
|
|
752
|
+
constructor(view, debugService, contextViewService, hoverService, labelService) {
|
|
751
753
|
this.view = view;
|
|
752
754
|
this.debugService = debugService;
|
|
753
755
|
this.contextViewService = contextViewService;
|
|
756
|
+
this.hoverService = hoverService;
|
|
754
757
|
this.labelService = labelService;
|
|
755
758
|
}
|
|
756
759
|
static { this.ID = 'functionbreakpointinput'; }
|
|
@@ -767,11 +770,11 @@ class FunctionBreakpointInputRenderer {
|
|
|
767
770
|
append(breakpoint, template.checkbox);
|
|
768
771
|
this.view.breakpointInputFocused.set(true);
|
|
769
772
|
const inputBoxContainer = append(breakpoint, $('.inputBoxContainer'));
|
|
770
|
-
const inputBox = ( new InputBox(
|
|
773
|
+
const inputBox = ( (new InputBox(
|
|
771
774
|
inputBoxContainer,
|
|
772
775
|
this.contextViewService,
|
|
773
776
|
{ inputBoxStyles: defaultInputBoxStyles }
|
|
774
|
-
));
|
|
777
|
+
)));
|
|
775
778
|
const wrapUp = (success) => {
|
|
776
779
|
template.updating = true;
|
|
777
780
|
try {
|
|
@@ -824,43 +827,27 @@ class FunctionBreakpointInputRenderer {
|
|
|
824
827
|
data.type = this.view.inputBoxData?.type || 'name';
|
|
825
828
|
const { icon, message } = getBreakpointMessageAndIcon(this.debugService.state, this.debugService.getModel().areBreakpointsActivated(), functionBreakpoint, this.labelService, this.debugService.getModel());
|
|
826
829
|
data.icon.className = ThemeIcon.asClassName(icon);
|
|
827
|
-
data.toDispose.push(
|
|
830
|
+
data.toDispose.push(this.hoverService.setupUpdatableHover(getDefaultHoverDelegate('mouse'), data.icon, message ? message : ''));
|
|
828
831
|
data.checkbox.checked = functionBreakpoint.enabled;
|
|
829
832
|
data.checkbox.disabled = true;
|
|
830
833
|
data.inputBox.value = functionBreakpoint.name || '';
|
|
831
|
-
let placeholder = ( localizeWithPath(
|
|
832
|
-
|
|
833
|
-
'functionBreakpointPlaceholder',
|
|
834
|
-
"Function to break on"
|
|
835
|
-
));
|
|
836
|
-
let ariaLabel = ( localizeWithPath(
|
|
837
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
838
|
-
'functionBreakPointInputAriaLabel',
|
|
839
|
-
"Type function breakpoint."
|
|
840
|
-
));
|
|
834
|
+
let placeholder = ( localizeWithPath(_moduleId, 8, "Function to break on"));
|
|
835
|
+
let ariaLabel = ( localizeWithPath(_moduleId, 9, "Type function breakpoint."));
|
|
841
836
|
if (data.type === 'condition') {
|
|
842
837
|
data.inputBox.value = functionBreakpoint.condition || '';
|
|
843
|
-
placeholder = ( localizeWithPath(
|
|
844
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
845
|
-
'functionBreakpointExpressionPlaceholder',
|
|
846
|
-
"Break when expression evaluates to true"
|
|
847
|
-
));
|
|
838
|
+
placeholder = ( localizeWithPath(_moduleId, 10, "Break when expression evaluates to true"));
|
|
848
839
|
ariaLabel = ( localizeWithPath(
|
|
849
|
-
|
|
850
|
-
|
|
840
|
+
_moduleId,
|
|
841
|
+
11,
|
|
851
842
|
"Type expression. Function breakpoint will break when expression evaluates to true"
|
|
852
843
|
));
|
|
853
844
|
}
|
|
854
845
|
else if (data.type === 'hitCount') {
|
|
855
846
|
data.inputBox.value = functionBreakpoint.hitCondition || '';
|
|
856
|
-
placeholder = ( localizeWithPath(
|
|
857
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
858
|
-
'functionBreakpointHitCountPlaceholder',
|
|
859
|
-
"Break when hit count is met"
|
|
860
|
-
));
|
|
847
|
+
placeholder = ( localizeWithPath(_moduleId, 12, "Break when hit count is met"));
|
|
861
848
|
ariaLabel = ( localizeWithPath(
|
|
862
|
-
|
|
863
|
-
|
|
849
|
+
_moduleId,
|
|
850
|
+
13,
|
|
864
851
|
"Type hit count. Function breakpoint will break when hit count is met."
|
|
865
852
|
));
|
|
866
853
|
}
|
|
@@ -876,10 +863,11 @@ class FunctionBreakpointInputRenderer {
|
|
|
876
863
|
}
|
|
877
864
|
}
|
|
878
865
|
class DataBreakpointInputRenderer {
|
|
879
|
-
constructor(view, debugService, contextViewService, labelService) {
|
|
866
|
+
constructor(view, debugService, contextViewService, hoverService, labelService) {
|
|
880
867
|
this.view = view;
|
|
881
868
|
this.debugService = debugService;
|
|
882
869
|
this.contextViewService = contextViewService;
|
|
870
|
+
this.hoverService = hoverService;
|
|
883
871
|
this.labelService = labelService;
|
|
884
872
|
}
|
|
885
873
|
static { this.ID = 'databreakpointinput'; }
|
|
@@ -896,11 +884,11 @@ class DataBreakpointInputRenderer {
|
|
|
896
884
|
append(breakpoint, template.checkbox);
|
|
897
885
|
this.view.breakpointInputFocused.set(true);
|
|
898
886
|
const inputBoxContainer = append(breakpoint, $('.inputBoxContainer'));
|
|
899
|
-
const inputBox = ( new InputBox(
|
|
887
|
+
const inputBox = ( (new InputBox(
|
|
900
888
|
inputBoxContainer,
|
|
901
889
|
this.contextViewService,
|
|
902
890
|
{ inputBoxStyles: defaultInputBoxStyles }
|
|
903
|
-
));
|
|
891
|
+
)));
|
|
904
892
|
const wrapUp = (success) => {
|
|
905
893
|
template.updating = true;
|
|
906
894
|
try {
|
|
@@ -945,7 +933,7 @@ class DataBreakpointInputRenderer {
|
|
|
945
933
|
data.type = this.view.inputBoxData?.type || 'condition';
|
|
946
934
|
const { icon, message } = getBreakpointMessageAndIcon(this.debugService.state, this.debugService.getModel().areBreakpointsActivated(), dataBreakpoint, this.labelService, this.debugService.getModel());
|
|
947
935
|
data.icon.className = ThemeIcon.asClassName(icon);
|
|
948
|
-
data.toDispose.push(
|
|
936
|
+
data.toDispose.push(this.hoverService.setupUpdatableHover(getDefaultHoverDelegate('mouse'), data.icon, message ?? ''));
|
|
949
937
|
data.checkbox.checked = dataBreakpoint.enabled;
|
|
950
938
|
data.checkbox.disabled = true;
|
|
951
939
|
data.inputBox.value = '';
|
|
@@ -953,27 +941,19 @@ class DataBreakpointInputRenderer {
|
|
|
953
941
|
let ariaLabel = '';
|
|
954
942
|
if (data.type === 'condition') {
|
|
955
943
|
data.inputBox.value = dataBreakpoint.condition || '';
|
|
956
|
-
placeholder = ( localizeWithPath(
|
|
957
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
958
|
-
'dataBreakpointExpressionPlaceholder',
|
|
959
|
-
"Break when expression evaluates to true"
|
|
960
|
-
));
|
|
944
|
+
placeholder = ( localizeWithPath(_moduleId, 14, "Break when expression evaluates to true"));
|
|
961
945
|
ariaLabel = ( localizeWithPath(
|
|
962
|
-
|
|
963
|
-
|
|
946
|
+
_moduleId,
|
|
947
|
+
15,
|
|
964
948
|
"Type expression. Data breakpoint will break when expression evaluates to true"
|
|
965
949
|
));
|
|
966
950
|
}
|
|
967
951
|
else if (data.type === 'hitCount') {
|
|
968
952
|
data.inputBox.value = dataBreakpoint.hitCondition || '';
|
|
969
|
-
placeholder = ( localizeWithPath(
|
|
970
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
971
|
-
'dataBreakpointHitCountPlaceholder',
|
|
972
|
-
"Break when hit count is met"
|
|
973
|
-
));
|
|
953
|
+
placeholder = ( localizeWithPath(_moduleId, 16, "Break when hit count is met"));
|
|
974
954
|
ariaLabel = ( localizeWithPath(
|
|
975
|
-
|
|
976
|
-
|
|
955
|
+
_moduleId,
|
|
956
|
+
17,
|
|
977
957
|
"Type hit count. Data breakpoint will break when hit count is met."
|
|
978
958
|
));
|
|
979
959
|
}
|
|
@@ -1007,14 +987,10 @@ class ExceptionBreakpointInputRenderer {
|
|
|
1007
987
|
append(breakpoint, template.checkbox);
|
|
1008
988
|
this.view.breakpointInputFocused.set(true);
|
|
1009
989
|
const inputBoxContainer = append(breakpoint, $('.inputBoxContainer'));
|
|
1010
|
-
const inputBox = ( new InputBox(inputBoxContainer, this.contextViewService, {
|
|
1011
|
-
ariaLabel: ( localizeWithPath(
|
|
1012
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1013
|
-
'exceptionBreakpointAriaLabel',
|
|
1014
|
-
"Type exception breakpoint condition"
|
|
1015
|
-
)),
|
|
990
|
+
const inputBox = ( (new InputBox(inputBoxContainer, this.contextViewService, {
|
|
991
|
+
ariaLabel: ( localizeWithPath(_moduleId, 18, "Type exception breakpoint condition")),
|
|
1016
992
|
inputBoxStyles: defaultInputBoxStyles
|
|
1017
|
-
}));
|
|
993
|
+
})));
|
|
1018
994
|
const wrapUp = (success) => {
|
|
1019
995
|
this.view.breakpointInputFocused.set(false);
|
|
1020
996
|
let newCondition = template.breakpoint.condition;
|
|
@@ -1042,11 +1018,7 @@ class ExceptionBreakpointInputRenderer {
|
|
|
1042
1018
|
return template;
|
|
1043
1019
|
}
|
|
1044
1020
|
renderElement(exceptionBreakpoint, _index, data) {
|
|
1045
|
-
const placeHolder = exceptionBreakpoint.conditionDescription || ( localizeWithPath(
|
|
1046
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1047
|
-
'exceptionBreakpointPlaceholder',
|
|
1048
|
-
"Break when expression evaluates to true"
|
|
1049
|
-
));
|
|
1021
|
+
const placeHolder = exceptionBreakpoint.conditionDescription || ( localizeWithPath(_moduleId, 19, "Break when expression evaluates to true"));
|
|
1050
1022
|
data.inputBox.setPlaceHolder(placeHolder);
|
|
1051
1023
|
data.breakpoint = exceptionBreakpoint;
|
|
1052
1024
|
data.checkbox.checked = exceptionBreakpoint.enabled;
|
|
@@ -1067,11 +1039,7 @@ class BreakpointsAccessibilityProvider {
|
|
|
1067
1039
|
this.labelService = labelService;
|
|
1068
1040
|
}
|
|
1069
1041
|
getWidgetAriaLabel() {
|
|
1070
|
-
return ( localizeWithPath(
|
|
1071
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1072
|
-
'breakpoints',
|
|
1073
|
-
"Breakpoints"
|
|
1074
|
-
));
|
|
1042
|
+
return ( localizeWithPath(_moduleId, 20, "Breakpoints"));
|
|
1075
1043
|
}
|
|
1076
1044
|
getRole() {
|
|
1077
1045
|
return 'checkbox';
|
|
@@ -1081,10 +1049,12 @@ class BreakpointsAccessibilityProvider {
|
|
|
1081
1049
|
}
|
|
1082
1050
|
getAriaLabel(element) {
|
|
1083
1051
|
if (element instanceof ExceptionBreakpoint) {
|
|
1084
|
-
return (
|
|
1052
|
+
return (
|
|
1053
|
+
(element.toString())
|
|
1054
|
+
);
|
|
1085
1055
|
}
|
|
1086
1056
|
const { message } = getBreakpointMessageAndIcon(this.debugService.state, this.debugService.getModel().areBreakpointsActivated(), element, this.labelService, this.debugService.getModel());
|
|
1087
|
-
const toString = ( element.toString());
|
|
1057
|
+
const toString = ( (element.toString()));
|
|
1088
1058
|
return message ? `${toString}, ${message}` : toString;
|
|
1089
1059
|
}
|
|
1090
1060
|
}
|
|
@@ -1120,15 +1090,7 @@ function getBreakpointMessageAndIcon(state, breakpointsActivated, breakpoint$1,
|
|
|
1120
1090
|
if (!breakpoint$1.enabled || !breakpointsActivated) {
|
|
1121
1091
|
return {
|
|
1122
1092
|
icon: breakpointIcon.disabled,
|
|
1123
|
-
message: breakpoint$1.logMessage ? ( localizeWithPath(
|
|
1124
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1125
|
-
'disabledLogpoint',
|
|
1126
|
-
"Disabled Logpoint"
|
|
1127
|
-
)) : ( localizeWithPath(
|
|
1128
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1129
|
-
'disabledBreakpoint',
|
|
1130
|
-
"Disabled Breakpoint"
|
|
1131
|
-
)),
|
|
1093
|
+
message: breakpoint$1.logMessage ? ( localizeWithPath(_moduleId, 21, "Disabled Logpoint")) : ( localizeWithPath(_moduleId, 22, "Disabled Breakpoint")),
|
|
1132
1094
|
};
|
|
1133
1095
|
}
|
|
1134
1096
|
const appendMessage = (text) => {
|
|
@@ -1142,15 +1104,7 @@ function getBreakpointMessageAndIcon(state, breakpointsActivated, breakpoint$1,
|
|
|
1142
1104
|
if (debugActive && !breakpoint$1.verified) {
|
|
1143
1105
|
return {
|
|
1144
1106
|
icon: breakpointIcon.unverified,
|
|
1145
|
-
message: ('message' in breakpoint$1 && breakpoint$1.message) ? breakpoint$1.message : (breakpoint$1.logMessage ? ( localizeWithPath(
|
|
1146
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1147
|
-
'unverifiedLogpoint',
|
|
1148
|
-
"Unverified Logpoint"
|
|
1149
|
-
)) : ( localizeWithPath(
|
|
1150
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1151
|
-
'unverifiedBreakpoint',
|
|
1152
|
-
"Unverified Breakpoint"
|
|
1153
|
-
))),
|
|
1107
|
+
message: ('message' in breakpoint$1 && breakpoint$1.message) ? breakpoint$1.message : (breakpoint$1.logMessage ? ( localizeWithPath(_moduleId, 23, "Unverified Logpoint")) : ( localizeWithPath(_moduleId, 24, "Unverified Breakpoint"))),
|
|
1154
1108
|
showAdapterUnverifiedMessage: true
|
|
1155
1109
|
};
|
|
1156
1110
|
}
|
|
@@ -1158,54 +1112,28 @@ function getBreakpointMessageAndIcon(state, breakpointsActivated, breakpoint$1,
|
|
|
1158
1112
|
if (!breakpoint$1.supported) {
|
|
1159
1113
|
return {
|
|
1160
1114
|
icon: breakpointIcon.unverified,
|
|
1161
|
-
message: ( localizeWithPath(
|
|
1162
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1163
|
-
'dataBreakpointUnsupported',
|
|
1164
|
-
"Data breakpoints not supported by this debug type"
|
|
1165
|
-
)),
|
|
1115
|
+
message: ( localizeWithPath(_moduleId, 25, "Data breakpoints not supported by this debug type")),
|
|
1166
1116
|
};
|
|
1167
1117
|
}
|
|
1168
1118
|
return {
|
|
1169
1119
|
icon: breakpointIcon.regular,
|
|
1170
|
-
message: breakpoint$1.message || ( localizeWithPath(
|
|
1171
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1172
|
-
'dataBreakpoint',
|
|
1173
|
-
"Data Breakpoint"
|
|
1174
|
-
))
|
|
1120
|
+
message: breakpoint$1.message || ( localizeWithPath(_moduleId, 26, "Data Breakpoint"))
|
|
1175
1121
|
};
|
|
1176
1122
|
}
|
|
1177
1123
|
if (breakpoint$1 instanceof FunctionBreakpoint) {
|
|
1178
1124
|
if (!breakpoint$1.supported) {
|
|
1179
1125
|
return {
|
|
1180
1126
|
icon: breakpointIcon.unverified,
|
|
1181
|
-
message: ( localizeWithPath(
|
|
1182
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1183
|
-
'functionBreakpointUnsupported',
|
|
1184
|
-
"Function breakpoints not supported by this debug type"
|
|
1185
|
-
)),
|
|
1127
|
+
message: ( localizeWithPath(_moduleId, 27, "Function breakpoints not supported by this debug type")),
|
|
1186
1128
|
};
|
|
1187
1129
|
}
|
|
1188
1130
|
const messages = [];
|
|
1189
|
-
messages.push(breakpoint$1.message || ( localizeWithPath(
|
|
1190
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1191
|
-
'functionBreakpoint',
|
|
1192
|
-
"Function Breakpoint"
|
|
1193
|
-
)));
|
|
1131
|
+
messages.push(breakpoint$1.message || ( localizeWithPath(_moduleId, 28, "Function Breakpoint")));
|
|
1194
1132
|
if (breakpoint$1.condition) {
|
|
1195
|
-
messages.push(( localizeWithPath(
|
|
1196
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1197
|
-
'expression',
|
|
1198
|
-
"Condition: {0}",
|
|
1199
|
-
breakpoint$1.condition
|
|
1200
|
-
)));
|
|
1133
|
+
messages.push(( localizeWithPath(_moduleId, 29, "Condition: {0}", breakpoint$1.condition)));
|
|
1201
1134
|
}
|
|
1202
1135
|
if (breakpoint$1.hitCondition) {
|
|
1203
|
-
messages.push(( localizeWithPath(
|
|
1204
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1205
|
-
'hitCount',
|
|
1206
|
-
"Hit Count: {0}",
|
|
1207
|
-
breakpoint$1.hitCondition
|
|
1208
|
-
)));
|
|
1136
|
+
messages.push(( localizeWithPath(_moduleId, 30, "Hit Count: {0}", breakpoint$1.hitCondition)));
|
|
1209
1137
|
}
|
|
1210
1138
|
return {
|
|
1211
1139
|
icon: breakpointIcon.regular,
|
|
@@ -1216,11 +1144,7 @@ function getBreakpointMessageAndIcon(state, breakpointsActivated, breakpoint$1,
|
|
|
1216
1144
|
if (!breakpoint$1.supported) {
|
|
1217
1145
|
return {
|
|
1218
1146
|
icon: breakpointIcon.unverified,
|
|
1219
|
-
message: ( localizeWithPath(
|
|
1220
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1221
|
-
'instructionBreakpointUnsupported',
|
|
1222
|
-
"Instruction breakpoints not supported by this debug type"
|
|
1223
|
-
)),
|
|
1147
|
+
message: ( localizeWithPath(_moduleId, 31, "Instruction breakpoints not supported by this debug type")),
|
|
1224
1148
|
};
|
|
1225
1149
|
}
|
|
1226
1150
|
const messages = [];
|
|
@@ -1229,26 +1153,17 @@ function getBreakpointMessageAndIcon(state, breakpointsActivated, breakpoint$1,
|
|
|
1229
1153
|
}
|
|
1230
1154
|
else if (breakpoint$1.instructionReference) {
|
|
1231
1155
|
messages.push(( localizeWithPath(
|
|
1232
|
-
|
|
1233
|
-
|
|
1156
|
+
_moduleId,
|
|
1157
|
+
32,
|
|
1234
1158
|
"Instruction breakpoint at address {0}",
|
|
1235
1159
|
breakpoint$1.instructionReference
|
|
1236
1160
|
)));
|
|
1237
1161
|
}
|
|
1238
1162
|
else {
|
|
1239
|
-
messages.push(( localizeWithPath(
|
|
1240
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1241
|
-
'instructionBreakpoint',
|
|
1242
|
-
"Instruction breakpoint"
|
|
1243
|
-
)));
|
|
1163
|
+
messages.push(( localizeWithPath(_moduleId, 33, "Instruction breakpoint")));
|
|
1244
1164
|
}
|
|
1245
1165
|
if (breakpoint$1.hitCondition) {
|
|
1246
|
-
messages.push(( localizeWithPath(
|
|
1247
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1248
|
-
'hitCount',
|
|
1249
|
-
"Hit Count: {0}",
|
|
1250
|
-
breakpoint$1.hitCondition
|
|
1251
|
-
)));
|
|
1166
|
+
messages.push(( localizeWithPath(_moduleId, 30, "Hit Count: {0}", breakpoint$1.hitCondition)));
|
|
1252
1167
|
}
|
|
1253
1168
|
return {
|
|
1254
1169
|
icon: breakpointIcon.regular,
|
|
@@ -1265,39 +1180,24 @@ function getBreakpointMessageAndIcon(state, breakpointsActivated, breakpoint$1,
|
|
|
1265
1180
|
if (!breakpoint$1.supported) {
|
|
1266
1181
|
icon = debugBreakpointUnsupported;
|
|
1267
1182
|
messages.push(( localizeWithPath(
|
|
1268
|
-
|
|
1269
|
-
|
|
1183
|
+
_moduleId,
|
|
1184
|
+
34,
|
|
1270
1185
|
"Breakpoints of this type are not supported by the debugger"
|
|
1271
1186
|
)));
|
|
1272
1187
|
}
|
|
1273
1188
|
if (breakpoint$1.logMessage) {
|
|
1274
|
-
messages.push(( localizeWithPath(
|
|
1275
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1276
|
-
'logMessage',
|
|
1277
|
-
"Log Message: {0}",
|
|
1278
|
-
breakpoint$1.logMessage
|
|
1279
|
-
)));
|
|
1189
|
+
messages.push(( localizeWithPath(_moduleId, 35, "Log Message: {0}", breakpoint$1.logMessage)));
|
|
1280
1190
|
}
|
|
1281
1191
|
if (breakpoint$1.condition) {
|
|
1282
|
-
messages.push(( localizeWithPath(
|
|
1283
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1284
|
-
'expression',
|
|
1285
|
-
"Condition: {0}",
|
|
1286
|
-
breakpoint$1.condition
|
|
1287
|
-
)));
|
|
1192
|
+
messages.push(( localizeWithPath(_moduleId, 29, "Condition: {0}", breakpoint$1.condition)));
|
|
1288
1193
|
}
|
|
1289
1194
|
if (breakpoint$1.hitCondition) {
|
|
1290
|
-
messages.push(( localizeWithPath(
|
|
1291
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1292
|
-
'hitCount',
|
|
1293
|
-
"Hit Count: {0}",
|
|
1294
|
-
breakpoint$1.hitCondition
|
|
1295
|
-
)));
|
|
1195
|
+
messages.push(( localizeWithPath(_moduleId, 30, "Hit Count: {0}", breakpoint$1.hitCondition)));
|
|
1296
1196
|
}
|
|
1297
1197
|
if (triggeringBreakpoint) {
|
|
1298
1198
|
messages.push(( localizeWithPath(
|
|
1299
|
-
|
|
1300
|
-
|
|
1199
|
+
_moduleId,
|
|
1200
|
+
36,
|
|
1301
1201
|
"Hit after breakpoint: {0}",
|
|
1302
1202
|
`${labelService.getUriLabel(triggeringBreakpoint.uri, { relative: true })}: ${triggeringBreakpoint.lineNumber}`
|
|
1303
1203
|
)));
|
|
@@ -1307,11 +1207,7 @@ function getBreakpointMessageAndIcon(state, breakpointsActivated, breakpoint$1,
|
|
|
1307
1207
|
message: appendMessage(messages.join('\n'))
|
|
1308
1208
|
};
|
|
1309
1209
|
}
|
|
1310
|
-
const message = ('message' in breakpoint$1 && breakpoint$1.message) ? breakpoint$1.message : breakpoint$1 instanceof Breakpoint && labelService ? labelService.getUriLabel(breakpoint$1.uri) : ( localizeWithPath(
|
|
1311
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1312
|
-
'breakpoint',
|
|
1313
|
-
"Breakpoint"
|
|
1314
|
-
));
|
|
1210
|
+
const message = ('message' in breakpoint$1 && breakpoint$1.message) ? breakpoint$1.message : breakpoint$1 instanceof Breakpoint && labelService ? labelService.getUriLabel(breakpoint$1.uri) : ( localizeWithPath(_moduleId, 37, "Breakpoint"));
|
|
1315
1211
|
return {
|
|
1316
1212
|
icon: breakpointIcon.regular,
|
|
1317
1213
|
message
|
|
@@ -1322,16 +1218,8 @@ registerAction2(class extends Action2 {
|
|
|
1322
1218
|
super({
|
|
1323
1219
|
id: 'workbench.debug.viewlet.action.addFunctionBreakpointAction',
|
|
1324
1220
|
title: {
|
|
1325
|
-
...( localize2WithPath(
|
|
1326
|
-
|
|
1327
|
-
'addFunctionBreakpoint',
|
|
1328
|
-
"Add Function Breakpoint"
|
|
1329
|
-
)),
|
|
1330
|
-
mnemonicTitle: ( localizeWithPath(
|
|
1331
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1332
|
-
{ key: 'miFunctionBreakpoint', comment: ['&& denotes a mnemonic'] },
|
|
1333
|
-
"&&Function Breakpoint..."
|
|
1334
|
-
)),
|
|
1221
|
+
...( localize2WithPath(_moduleId, 38, "Add Function Breakpoint")),
|
|
1222
|
+
mnemonicTitle: ( localizeWithPath(_moduleId, 39, "&&Function Breakpoint...")),
|
|
1335
1223
|
},
|
|
1336
1224
|
f1: true,
|
|
1337
1225
|
icon: watchExpressionsAddFuncBreakpoint,
|
|
@@ -1339,7 +1227,7 @@ registerAction2(class extends Action2 {
|
|
|
1339
1227
|
id: MenuId.ViewTitle,
|
|
1340
1228
|
group: 'navigation',
|
|
1341
1229
|
order: 10,
|
|
1342
|
-
when: ( ContextKeyExpr.equals('view', BREAKPOINTS_VIEW_ID))
|
|
1230
|
+
when: ( (ContextKeyExpr.equals('view', BREAKPOINTS_VIEW_ID)))
|
|
1343
1231
|
}, {
|
|
1344
1232
|
id: MenuId.MenubarNewBreakpointMenu,
|
|
1345
1233
|
group: '1_breakpoints',
|
|
@@ -1376,8 +1264,8 @@ class MemoryBreakpointAction extends Action2 {
|
|
|
1376
1264
|
}
|
|
1377
1265
|
catch (e) {
|
|
1378
1266
|
notifications.error(( localizeWithPath(
|
|
1379
|
-
|
|
1380
|
-
|
|
1267
|
+
_moduleId,
|
|
1268
|
+
40,
|
|
1381
1269
|
"Failed to set data breakpoint at {0}: {1}",
|
|
1382
1270
|
range.address,
|
|
1383
1271
|
e.message
|
|
@@ -1388,12 +1276,8 @@ class MemoryBreakpointAction extends Action2 {
|
|
|
1388
1276
|
}
|
|
1389
1277
|
let accessType = 'write';
|
|
1390
1278
|
if (info.accessTypes && info.accessTypes?.length > 1) {
|
|
1391
|
-
const accessTypes = ( info.accessTypes.map(type => ({ label: type })));
|
|
1392
|
-
const selectedAccessType = await quickInput.pick(accessTypes, { placeHolder: ( localizeWithPath(
|
|
1393
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1394
|
-
'dataBreakpointAccessType',
|
|
1395
|
-
"Select the access type to monitor"
|
|
1396
|
-
)) });
|
|
1279
|
+
const accessTypes = ( (info.accessTypes.map(type => ({ label: type }))));
|
|
1280
|
+
const selectedAccessType = await quickInput.pick(accessTypes, { placeHolder: ( localizeWithPath(_moduleId, 41, "Select the access type to monitor")) });
|
|
1397
1281
|
if (!selectedAccessType) {
|
|
1398
1282
|
return;
|
|
1399
1283
|
}
|
|
@@ -1413,50 +1297,48 @@ class MemoryBreakpointAction extends Action2 {
|
|
|
1413
1297
|
});
|
|
1414
1298
|
}
|
|
1415
1299
|
getRange(quickInput, defaultValue) {
|
|
1416
|
-
return (
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
if (defaultValue) {
|
|
1429
|
-
input.value = defaultValue;
|
|
1430
|
-
input.valueSelection = [0, defaultValue.length];
|
|
1431
|
-
}
|
|
1432
|
-
input.onDidChangeValue(e => {
|
|
1433
|
-
const err = this.parseAddress(e, false);
|
|
1434
|
-
input.validationMessage = err?.error;
|
|
1435
|
-
});
|
|
1436
|
-
input.onDidAccept(() => {
|
|
1437
|
-
const r = this.parseAddress(input.value, true);
|
|
1438
|
-
if ('error' in r) {
|
|
1439
|
-
input.validationMessage = r.error;
|
|
1440
|
-
}
|
|
1441
|
-
else {
|
|
1442
|
-
resolve(r);
|
|
1300
|
+
return (
|
|
1301
|
+
(new Promise(resolve => {
|
|
1302
|
+
const input = quickInput.createInputBox();
|
|
1303
|
+
input.prompt = ( localizeWithPath(_moduleId, 42, "Enter a memory range in which to break"));
|
|
1304
|
+
input.placeholder = ( localizeWithPath(
|
|
1305
|
+
_moduleId,
|
|
1306
|
+
43,
|
|
1307
|
+
'Absolute range (0x1234 - 0x1300) or range of bytes after an address (0x1234 + 0xff)'
|
|
1308
|
+
));
|
|
1309
|
+
if (defaultValue) {
|
|
1310
|
+
input.value = defaultValue;
|
|
1311
|
+
input.valueSelection = [0, defaultValue.length];
|
|
1443
1312
|
}
|
|
1444
|
-
input.
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
input.
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1313
|
+
input.onDidChangeValue(e => {
|
|
1314
|
+
const err = this.parseAddress(e, false);
|
|
1315
|
+
input.validationMessage = err?.error;
|
|
1316
|
+
});
|
|
1317
|
+
input.onDidAccept(() => {
|
|
1318
|
+
const r = this.parseAddress(input.value, true);
|
|
1319
|
+
if ('error' in r) {
|
|
1320
|
+
input.validationMessage = r.error;
|
|
1321
|
+
}
|
|
1322
|
+
else {
|
|
1323
|
+
resolve(r);
|
|
1324
|
+
}
|
|
1325
|
+
input.dispose();
|
|
1326
|
+
});
|
|
1327
|
+
input.onDidHide(() => {
|
|
1328
|
+
resolve(undefined);
|
|
1329
|
+
input.dispose();
|
|
1330
|
+
});
|
|
1331
|
+
input.ignoreFocusOut = true;
|
|
1332
|
+
input.show();
|
|
1333
|
+
}))
|
|
1334
|
+
);
|
|
1453
1335
|
}
|
|
1454
1336
|
parseAddress(range, isFinal) {
|
|
1455
1337
|
const parts = /^(\S+)\s*(?:([+-])\s*(\S+))?/.exec(range);
|
|
1456
1338
|
if (!parts) {
|
|
1457
1339
|
return { error: ( localizeWithPath(
|
|
1458
|
-
|
|
1459
|
-
|
|
1340
|
+
_moduleId,
|
|
1341
|
+
44,
|
|
1460
1342
|
'Address should be a range of numbers the form "[Start] - [End]" or "[Start] + [Bytes]"'
|
|
1461
1343
|
)) };
|
|
1462
1344
|
}
|
|
@@ -1465,8 +1347,8 @@ class MemoryBreakpointAction extends Action2 {
|
|
|
1465
1347
|
for (const n of [startStr, endStr]) {
|
|
1466
1348
|
if (!isNum(n)) {
|
|
1467
1349
|
return { error: ( localizeWithPath(
|
|
1468
|
-
|
|
1469
|
-
|
|
1350
|
+
_moduleId,
|
|
1351
|
+
45,
|
|
1470
1352
|
'Number must be a decimal integer or hex value starting with \"0x\", got {0}',
|
|
1471
1353
|
n
|
|
1472
1354
|
)) };
|
|
@@ -1477,7 +1359,7 @@ class MemoryBreakpointAction extends Action2 {
|
|
|
1477
1359
|
}
|
|
1478
1360
|
const start = BigInt(startStr);
|
|
1479
1361
|
const end = BigInt(endStr);
|
|
1480
|
-
const address = `0x${( start.toString(16))}`;
|
|
1362
|
+
const address = `0x${( (start.toString(16)))}`;
|
|
1481
1363
|
if (sign === '-') {
|
|
1482
1364
|
return { address, bytes: Number(start - end) };
|
|
1483
1365
|
}
|
|
@@ -1489,16 +1371,8 @@ registerAction2(class extends MemoryBreakpointAction {
|
|
|
1489
1371
|
super({
|
|
1490
1372
|
id: 'workbench.debug.viewlet.action.addDataBreakpointOnAddress',
|
|
1491
1373
|
title: {
|
|
1492
|
-
...( localize2WithPath(
|
|
1493
|
-
|
|
1494
|
-
'addDataBreakpointOnAddress',
|
|
1495
|
-
"Add Data Breakpoint at Address"
|
|
1496
|
-
)),
|
|
1497
|
-
mnemonicTitle: ( localizeWithPath(
|
|
1498
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1499
|
-
{ key: 'miDataBreakpoint', comment: ['&& denotes a mnemonic'] },
|
|
1500
|
-
"&&Data Breakpoint..."
|
|
1501
|
-
)),
|
|
1374
|
+
...( localize2WithPath(_moduleId, 46, "Add Data Breakpoint at Address")),
|
|
1375
|
+
mnemonicTitle: ( localizeWithPath(_moduleId, 47, "&&Data Breakpoint...")),
|
|
1502
1376
|
},
|
|
1503
1377
|
f1: true,
|
|
1504
1378
|
icon: watchExpressionsAddDataBreakpoint,
|
|
@@ -1506,7 +1380,10 @@ registerAction2(class extends MemoryBreakpointAction {
|
|
|
1506
1380
|
id: MenuId.ViewTitle,
|
|
1507
1381
|
group: 'navigation',
|
|
1508
1382
|
order: 11,
|
|
1509
|
-
when: ( ContextKeyExpr.and(
|
|
1383
|
+
when: ( (ContextKeyExpr.and(
|
|
1384
|
+
CONTEXT_SET_DATA_BREAKPOINT_BYTES_SUPPORTED,
|
|
1385
|
+
(ContextKeyExpr.equals('view', BREAKPOINTS_VIEW_ID))
|
|
1386
|
+
)))
|
|
1510
1387
|
}, {
|
|
1511
1388
|
id: MenuId.MenubarNewBreakpointMenu,
|
|
1512
1389
|
group: '1_breakpoints',
|
|
@@ -1520,17 +1397,13 @@ registerAction2(class extends MemoryBreakpointAction {
|
|
|
1520
1397
|
constructor() {
|
|
1521
1398
|
super({
|
|
1522
1399
|
id: 'workbench.debug.viewlet.action.editDataBreakpointOnAddress',
|
|
1523
|
-
title: ( localize2WithPath(
|
|
1524
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1525
|
-
'editDataBreakpointOnAddress',
|
|
1526
|
-
"Edit Address..."
|
|
1527
|
-
)),
|
|
1400
|
+
title: ( localize2WithPath(_moduleId, 48, "Edit Address...")),
|
|
1528
1401
|
menu: [{
|
|
1529
1402
|
id: MenuId.DebugBreakpointsContext,
|
|
1530
|
-
when: ( ContextKeyExpr.and(
|
|
1403
|
+
when: ( (ContextKeyExpr.and(
|
|
1531
1404
|
CONTEXT_SET_DATA_BREAKPOINT_BYTES_SUPPORTED,
|
|
1532
1405
|
CONTEXT_BREAKPOINT_ITEM_IS_DATA_BYTES
|
|
1533
|
-
)),
|
|
1406
|
+
))),
|
|
1534
1407
|
group: 'navigation',
|
|
1535
1408
|
order: 15,
|
|
1536
1409
|
}]
|
|
@@ -1541,18 +1414,14 @@ registerAction2(class extends Action2 {
|
|
|
1541
1414
|
constructor() {
|
|
1542
1415
|
super({
|
|
1543
1416
|
id: 'workbench.debug.viewlet.action.toggleBreakpointsActivatedAction',
|
|
1544
|
-
title: ( localize2WithPath(
|
|
1545
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1546
|
-
'activateBreakpoints',
|
|
1547
|
-
'Toggle Activate Breakpoints'
|
|
1548
|
-
)),
|
|
1417
|
+
title: ( localize2WithPath(_moduleId, 49, 'Toggle Activate Breakpoints')),
|
|
1549
1418
|
f1: true,
|
|
1550
1419
|
icon: breakpointsActivate,
|
|
1551
1420
|
menu: {
|
|
1552
1421
|
id: MenuId.ViewTitle,
|
|
1553
1422
|
group: 'navigation',
|
|
1554
1423
|
order: 20,
|
|
1555
|
-
when: ( ContextKeyExpr.equals('view', BREAKPOINTS_VIEW_ID))
|
|
1424
|
+
when: ( (ContextKeyExpr.equals('view', BREAKPOINTS_VIEW_ID)))
|
|
1556
1425
|
}
|
|
1557
1426
|
});
|
|
1558
1427
|
}
|
|
@@ -1565,22 +1434,18 @@ registerAction2(class extends Action2 {
|
|
|
1565
1434
|
constructor() {
|
|
1566
1435
|
super({
|
|
1567
1436
|
id: 'workbench.debug.viewlet.action.removeBreakpoint',
|
|
1568
|
-
title: ( localizeWithPath(
|
|
1569
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1570
|
-
'removeBreakpoint',
|
|
1571
|
-
"Remove Breakpoint"
|
|
1572
|
-
)),
|
|
1437
|
+
title: ( localizeWithPath(_moduleId, 50, "Remove Breakpoint")),
|
|
1573
1438
|
icon: Codicon.removeClose,
|
|
1574
1439
|
menu: [{
|
|
1575
1440
|
id: MenuId.DebugBreakpointsContext,
|
|
1576
1441
|
group: '3_modification',
|
|
1577
1442
|
order: 10,
|
|
1578
|
-
when: ( CONTEXT_BREAKPOINT_ITEM_TYPE.notEqualsTo('exceptionBreakpoint'))
|
|
1443
|
+
when: ( (CONTEXT_BREAKPOINT_ITEM_TYPE.notEqualsTo('exceptionBreakpoint')))
|
|
1579
1444
|
}, {
|
|
1580
1445
|
id: MenuId.DebugBreakpointsContext,
|
|
1581
1446
|
group: 'inline',
|
|
1582
1447
|
order: 20,
|
|
1583
|
-
when: ( CONTEXT_BREAKPOINT_ITEM_TYPE.notEqualsTo('exceptionBreakpoint'))
|
|
1448
|
+
when: ( (CONTEXT_BREAKPOINT_ITEM_TYPE.notEqualsTo('exceptionBreakpoint')))
|
|
1584
1449
|
}]
|
|
1585
1450
|
});
|
|
1586
1451
|
}
|
|
@@ -1605,16 +1470,8 @@ registerAction2(class extends Action2 {
|
|
|
1605
1470
|
super({
|
|
1606
1471
|
id: 'workbench.debug.viewlet.action.removeAllBreakpoints',
|
|
1607
1472
|
title: {
|
|
1608
|
-
...( localize2WithPath(
|
|
1609
|
-
|
|
1610
|
-
'removeAllBreakpoints',
|
|
1611
|
-
"Remove All Breakpoints"
|
|
1612
|
-
)),
|
|
1613
|
-
mnemonicTitle: ( localizeWithPath(
|
|
1614
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1615
|
-
{ key: 'miRemoveAllBreakpoints', comment: ['&& denotes a mnemonic'] },
|
|
1616
|
-
"Remove &&All Breakpoints"
|
|
1617
|
-
)),
|
|
1473
|
+
...( localize2WithPath(_moduleId, 51, "Remove All Breakpoints")),
|
|
1474
|
+
mnemonicTitle: ( localizeWithPath(_moduleId, 52, "Remove &&All Breakpoints")),
|
|
1618
1475
|
},
|
|
1619
1476
|
f1: true,
|
|
1620
1477
|
icon: breakpointsRemoveAll,
|
|
@@ -1622,12 +1479,15 @@ registerAction2(class extends Action2 {
|
|
|
1622
1479
|
id: MenuId.ViewTitle,
|
|
1623
1480
|
group: 'navigation',
|
|
1624
1481
|
order: 30,
|
|
1625
|
-
when: ( ContextKeyExpr.equals('view', BREAKPOINTS_VIEW_ID))
|
|
1482
|
+
when: ( (ContextKeyExpr.equals('view', BREAKPOINTS_VIEW_ID)))
|
|
1626
1483
|
}, {
|
|
1627
1484
|
id: MenuId.DebugBreakpointsContext,
|
|
1628
1485
|
group: '3_modification',
|
|
1629
1486
|
order: 20,
|
|
1630
|
-
when: ( ContextKeyExpr.and(
|
|
1487
|
+
when: ( (ContextKeyExpr.and(
|
|
1488
|
+
CONTEXT_BREAKPOINTS_EXIST,
|
|
1489
|
+
(CONTEXT_BREAKPOINT_ITEM_TYPE.notEqualsTo('exceptionBreakpoint'))
|
|
1490
|
+
)))
|
|
1631
1491
|
}, {
|
|
1632
1492
|
id: MenuId.MenubarDebugMenu,
|
|
1633
1493
|
group: '5_breakpoints',
|
|
@@ -1649,16 +1509,8 @@ registerAction2(class extends Action2 {
|
|
|
1649
1509
|
super({
|
|
1650
1510
|
id: 'workbench.debug.viewlet.action.enableAllBreakpoints',
|
|
1651
1511
|
title: {
|
|
1652
|
-
...( localize2WithPath(
|
|
1653
|
-
|
|
1654
|
-
'enableAllBreakpoints',
|
|
1655
|
-
"Enable All Breakpoints"
|
|
1656
|
-
)),
|
|
1657
|
-
mnemonicTitle: ( localizeWithPath(
|
|
1658
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1659
|
-
{ key: 'miEnableAllBreakpoints', comment: ['&& denotes a mnemonic'] },
|
|
1660
|
-
"&&Enable All Breakpoints"
|
|
1661
|
-
)),
|
|
1512
|
+
...( localize2WithPath(_moduleId, 53, "Enable All Breakpoints")),
|
|
1513
|
+
mnemonicTitle: ( localizeWithPath(_moduleId, 54, "&&Enable All Breakpoints")),
|
|
1662
1514
|
},
|
|
1663
1515
|
f1: true,
|
|
1664
1516
|
precondition: CONTEXT_DEBUGGERS_AVAILABLE,
|
|
@@ -1666,7 +1518,10 @@ registerAction2(class extends Action2 {
|
|
|
1666
1518
|
id: MenuId.DebugBreakpointsContext,
|
|
1667
1519
|
group: 'z_commands',
|
|
1668
1520
|
order: 10,
|
|
1669
|
-
when: ( ContextKeyExpr.and(
|
|
1521
|
+
when: ( (ContextKeyExpr.and(
|
|
1522
|
+
CONTEXT_BREAKPOINTS_EXIST,
|
|
1523
|
+
(CONTEXT_BREAKPOINT_ITEM_TYPE.notEqualsTo('exceptionBreakpoint'))
|
|
1524
|
+
)))
|
|
1670
1525
|
}, {
|
|
1671
1526
|
id: MenuId.MenubarDebugMenu,
|
|
1672
1527
|
group: '5_breakpoints',
|
|
@@ -1685,16 +1540,8 @@ registerAction2(class extends Action2 {
|
|
|
1685
1540
|
super({
|
|
1686
1541
|
id: 'workbench.debug.viewlet.action.disableAllBreakpoints',
|
|
1687
1542
|
title: {
|
|
1688
|
-
...( localize2WithPath(
|
|
1689
|
-
|
|
1690
|
-
'disableAllBreakpoints',
|
|
1691
|
-
"Disable All Breakpoints"
|
|
1692
|
-
)),
|
|
1693
|
-
mnemonicTitle: ( localizeWithPath(
|
|
1694
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1695
|
-
{ key: 'miDisableAllBreakpoints', comment: ['&& denotes a mnemonic'] },
|
|
1696
|
-
"Disable A&&ll Breakpoints"
|
|
1697
|
-
)),
|
|
1543
|
+
...( localize2WithPath(_moduleId, 55, "Disable All Breakpoints")),
|
|
1544
|
+
mnemonicTitle: ( localizeWithPath(_moduleId, 56, "Disable A&&ll Breakpoints")),
|
|
1698
1545
|
},
|
|
1699
1546
|
f1: true,
|
|
1700
1547
|
precondition: CONTEXT_DEBUGGERS_AVAILABLE,
|
|
@@ -1702,7 +1549,10 @@ registerAction2(class extends Action2 {
|
|
|
1702
1549
|
id: MenuId.DebugBreakpointsContext,
|
|
1703
1550
|
group: 'z_commands',
|
|
1704
1551
|
order: 20,
|
|
1705
|
-
when: ( ContextKeyExpr.and(
|
|
1552
|
+
when: ( (ContextKeyExpr.and(
|
|
1553
|
+
CONTEXT_BREAKPOINTS_EXIST,
|
|
1554
|
+
(CONTEXT_BREAKPOINT_ITEM_TYPE.notEqualsTo('exceptionBreakpoint'))
|
|
1555
|
+
)))
|
|
1706
1556
|
}, {
|
|
1707
1557
|
id: MenuId.MenubarDebugMenu,
|
|
1708
1558
|
group: '5_breakpoints',
|
|
@@ -1720,18 +1570,17 @@ registerAction2(class extends Action2 {
|
|
|
1720
1570
|
constructor() {
|
|
1721
1571
|
super({
|
|
1722
1572
|
id: 'workbench.debug.viewlet.action.reapplyBreakpointsAction',
|
|
1723
|
-
title: ( localize2WithPath(
|
|
1724
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1725
|
-
'reapplyAllBreakpoints',
|
|
1726
|
-
'Reapply All Breakpoints'
|
|
1727
|
-
)),
|
|
1573
|
+
title: ( localize2WithPath(_moduleId, 57, 'Reapply All Breakpoints')),
|
|
1728
1574
|
f1: true,
|
|
1729
1575
|
precondition: CONTEXT_IN_DEBUG_MODE,
|
|
1730
1576
|
menu: [{
|
|
1731
1577
|
id: MenuId.DebugBreakpointsContext,
|
|
1732
1578
|
group: 'z_commands',
|
|
1733
1579
|
order: 30,
|
|
1734
|
-
when: ( ContextKeyExpr.and(
|
|
1580
|
+
when: ( (ContextKeyExpr.and(
|
|
1581
|
+
CONTEXT_BREAKPOINTS_EXIST,
|
|
1582
|
+
(CONTEXT_BREAKPOINT_ITEM_TYPE.notEqualsTo('exceptionBreakpoint'))
|
|
1583
|
+
)))
|
|
1735
1584
|
}]
|
|
1736
1585
|
});
|
|
1737
1586
|
}
|
|
@@ -1745,16 +1594,12 @@ registerAction2(class extends ViewAction {
|
|
|
1745
1594
|
super({
|
|
1746
1595
|
id: 'debug.editBreakpoint',
|
|
1747
1596
|
viewId: BREAKPOINTS_VIEW_ID,
|
|
1748
|
-
title: ( localizeWithPath(
|
|
1749
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1750
|
-
'editCondition',
|
|
1751
|
-
"Edit Condition..."
|
|
1752
|
-
)),
|
|
1597
|
+
title: ( localizeWithPath(_moduleId, 58, "Edit Condition...")),
|
|
1753
1598
|
icon: Codicon.edit,
|
|
1754
1599
|
precondition: CONTEXT_BREAKPOINT_SUPPORTS_CONDITION,
|
|
1755
1600
|
menu: [{
|
|
1756
1601
|
id: MenuId.DebugBreakpointsContext,
|
|
1757
|
-
when: ( CONTEXT_BREAKPOINT_ITEM_TYPE.notEqualsTo('functionBreakpoint')),
|
|
1602
|
+
when: ( (CONTEXT_BREAKPOINT_ITEM_TYPE.notEqualsTo('functionBreakpoint'))),
|
|
1758
1603
|
group: 'navigation',
|
|
1759
1604
|
order: 10
|
|
1760
1605
|
}, {
|
|
@@ -1778,16 +1623,8 @@ registerAction2(class extends ViewAction {
|
|
|
1778
1623
|
}
|
|
1779
1624
|
else if (breakpoint instanceof FunctionBreakpoint) {
|
|
1780
1625
|
const contextMenuService = accessor.get(IContextMenuService);
|
|
1781
|
-
const actions = [( new Action('breakpoint.editCondition', ( localizeWithPath(
|
|
1782
|
-
'
|
|
1783
|
-
'editCondition',
|
|
1784
|
-
"Edit Condition..."
|
|
1785
|
-
)), undefined, true, async () => view.renderInputBox({ breakpoint, type: 'condition' }))),
|
|
1786
|
-
( new Action('breakpoint.editCondition', ( localizeWithPath(
|
|
1787
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1788
|
-
'editHitCount',
|
|
1789
|
-
"Edit Hit Count..."
|
|
1790
|
-
)), undefined, true, async () => view.renderInputBox({ breakpoint, type: 'hitCount' })))];
|
|
1626
|
+
const actions = [( (new Action('breakpoint.editCondition', ( localizeWithPath(_moduleId, 58, "Edit Condition...")), undefined, true, async () => view.renderInputBox({ breakpoint, type: 'condition' })))),
|
|
1627
|
+
( (new Action('breakpoint.editCondition', ( localizeWithPath(_moduleId, 59, "Edit Hit Count...")), undefined, true, async () => view.renderInputBox({ breakpoint, type: 'hitCount' }))))];
|
|
1791
1628
|
const domNode = breakpointIdToActionBarDomeNode.get(breakpoint.getId());
|
|
1792
1629
|
if (domNode) {
|
|
1793
1630
|
contextMenuService.showContextMenu({
|
|
@@ -1807,16 +1644,12 @@ registerAction2(class extends ViewAction {
|
|
|
1807
1644
|
super({
|
|
1808
1645
|
id: 'debug.editFunctionBreakpoint',
|
|
1809
1646
|
viewId: BREAKPOINTS_VIEW_ID,
|
|
1810
|
-
title: ( localizeWithPath(
|
|
1811
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1812
|
-
'editBreakpoint',
|
|
1813
|
-
"Edit Function Condition..."
|
|
1814
|
-
)),
|
|
1647
|
+
title: ( localizeWithPath(_moduleId, 60, "Edit Function Condition...")),
|
|
1815
1648
|
menu: [{
|
|
1816
1649
|
id: MenuId.DebugBreakpointsContext,
|
|
1817
1650
|
group: 'navigation',
|
|
1818
1651
|
order: 10,
|
|
1819
|
-
when: ( CONTEXT_BREAKPOINT_ITEM_TYPE.isEqualTo('functionBreakpoint'))
|
|
1652
|
+
when: ( (CONTEXT_BREAKPOINT_ITEM_TYPE.isEqualTo('functionBreakpoint')))
|
|
1820
1653
|
}]
|
|
1821
1654
|
});
|
|
1822
1655
|
}
|
|
@@ -1829,17 +1662,16 @@ registerAction2(class extends ViewAction {
|
|
|
1829
1662
|
super({
|
|
1830
1663
|
id: 'debug.editFunctionBreakpointHitCount',
|
|
1831
1664
|
viewId: BREAKPOINTS_VIEW_ID,
|
|
1832
|
-
title: ( localizeWithPath(
|
|
1833
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1834
|
-
'editHitCount',
|
|
1835
|
-
"Edit Hit Count..."
|
|
1836
|
-
)),
|
|
1665
|
+
title: ( localizeWithPath(_moduleId, 59, "Edit Hit Count...")),
|
|
1837
1666
|
precondition: CONTEXT_BREAKPOINT_SUPPORTS_CONDITION,
|
|
1838
1667
|
menu: [{
|
|
1839
1668
|
id: MenuId.DebugBreakpointsContext,
|
|
1840
1669
|
group: 'navigation',
|
|
1841
1670
|
order: 20,
|
|
1842
|
-
when: ( ContextKeyExpr.or(
|
|
1671
|
+
when: ( (ContextKeyExpr.or(
|
|
1672
|
+
(CONTEXT_BREAKPOINT_ITEM_TYPE.isEqualTo('functionBreakpoint')),
|
|
1673
|
+
(CONTEXT_BREAKPOINT_ITEM_TYPE.isEqualTo('dataBreakpoint'))
|
|
1674
|
+
)))
|
|
1843
1675
|
}]
|
|
1844
1676
|
});
|
|
1845
1677
|
}
|
|
@@ -1852,16 +1684,16 @@ registerAction2(class extends ViewAction {
|
|
|
1852
1684
|
super({
|
|
1853
1685
|
id: 'debug.editBreakpointMode',
|
|
1854
1686
|
viewId: BREAKPOINTS_VIEW_ID,
|
|
1855
|
-
title: ( localizeWithPath(
|
|
1856
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1857
|
-
'editMode',
|
|
1858
|
-
"Edit Mode..."
|
|
1859
|
-
)),
|
|
1687
|
+
title: ( localizeWithPath(_moduleId, 61, "Edit Mode...")),
|
|
1860
1688
|
menu: [{
|
|
1861
1689
|
id: MenuId.DebugBreakpointsContext,
|
|
1862
1690
|
group: 'navigation',
|
|
1863
1691
|
order: 20,
|
|
1864
|
-
when: ( ContextKeyExpr.and(CONTEXT_BREAKPOINT_HAS_MODES,
|
|
1692
|
+
when: ( (ContextKeyExpr.and(CONTEXT_BREAKPOINT_HAS_MODES, (ContextKeyExpr.or(
|
|
1693
|
+
(CONTEXT_BREAKPOINT_ITEM_TYPE.isEqualTo('breakpoint')),
|
|
1694
|
+
(CONTEXT_BREAKPOINT_ITEM_TYPE.isEqualTo('exceptionBreakpoint')),
|
|
1695
|
+
(CONTEXT_BREAKPOINT_ITEM_TYPE.isEqualTo('instructionBreakpoint'))
|
|
1696
|
+
)))))
|
|
1865
1697
|
}]
|
|
1866
1698
|
});
|
|
1867
1699
|
}
|
|
@@ -1869,18 +1701,14 @@ registerAction2(class extends ViewAction {
|
|
|
1869
1701
|
const kind = breakpoint instanceof Breakpoint ? 'source' : breakpoint instanceof InstructionBreakpoint ? 'instruction' : 'exception';
|
|
1870
1702
|
const debugService = accessor.get(IDebugService);
|
|
1871
1703
|
const modes = debugService.getModel().getBreakpointModes(kind);
|
|
1872
|
-
const picked = await accessor.get(IQuickInputService).pick(( modes.map(
|
|
1704
|
+
const picked = await accessor.get(IQuickInputService).pick(( (modes.map(
|
|
1873
1705
|
mode => ({ label: mode.label, description: mode.description, mode: mode.mode })
|
|
1874
|
-
)), { placeHolder: ( localizeWithPath(
|
|
1875
|
-
'vs/workbench/contrib/debug/browser/breakpointsView',
|
|
1876
|
-
'selectBreakpointMode',
|
|
1877
|
-
"Select Breakpoint Mode"
|
|
1878
|
-
)) });
|
|
1706
|
+
))), { placeHolder: ( localizeWithPath(_moduleId, 62, "Select Breakpoint Mode")) });
|
|
1879
1707
|
if (!picked) {
|
|
1880
1708
|
return;
|
|
1881
1709
|
}
|
|
1882
1710
|
if (kind === 'source') {
|
|
1883
|
-
const data = ( new Map());
|
|
1711
|
+
const data = ( (new Map()));
|
|
1884
1712
|
data.set(breakpoint.getId(), { mode: picked.mode, modeLabel: picked.label });
|
|
1885
1713
|
debugService.updateBreakpoints(breakpoint.originalUri, data, false);
|
|
1886
1714
|
}
|