@codingame/monaco-vscode-api 20.5.0 → 21.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/missing-services.js +136 -50
- package/package.json +8 -8
- package/services.d.ts +8 -4
- package/services.js +8 -4
- package/vscode/product.json.js +1 -1
- package/vscode/src/vs/base/browser/dom.js +3 -3
- package/vscode/src/vs/base/browser/domSanitize.d.ts +23 -11
- package/vscode/src/vs/base/browser/domSanitize.js +86 -7
- package/vscode/src/vs/base/browser/domStylesheets.js +2 -2
- package/vscode/src/vs/base/browser/event.d.ts +1 -1
- package/vscode/src/vs/base/browser/markdownRenderer.d.ts +8 -4
- package/vscode/src/vs/base/browser/markdownRenderer.js +72 -126
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.d.ts +10 -10
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +5 -2
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.css +2 -2
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.d.ts +4 -4
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.js +32 -7
- package/vscode/src/vs/base/browser/ui/button/button.d.ts +2 -2
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/vscode/src/vs/base/browser/ui/contextview/contextview.js +4 -2
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInput.d.ts +7 -7
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +7 -7
- package/vscode/src/vs/base/browser/ui/findinput/replaceInput.d.ts +6 -6
- package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +6 -6
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.css +5 -0
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +2 -1
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.js +4 -4
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.d.ts +2 -2
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +2 -2
- package/vscode/src/vs/base/browser/ui/list/listWidget.d.ts +3 -3
- package/vscode/src/vs/base/browser/ui/list/listWidget.js +3 -3
- package/vscode/src/vs/base/browser/ui/menu/menu.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/menu/menu.js +21 -16
- package/vscode/src/vs/base/browser/ui/resizable/resizable.d.ts +2 -2
- package/vscode/src/vs/base/browser/ui/resizable/resizable.js +2 -2
- package/vscode/src/vs/base/browser/ui/sash/sash.d.ts +4 -4
- package/vscode/src/vs/base/browser/ui/sash/sash.js +16 -22
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.d.ts +2 -2
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.js +2 -2
- package/vscode/src/vs/base/browser/ui/selectBox/selectBox.css +2 -1
- package/vscode/src/vs/base/browser/ui/selectBox/selectBox.d.ts +4 -4
- package/vscode/src/vs/base/browser/ui/selectBox/selectBox.js +3 -3
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.d.ts +2 -2
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +12 -12
- package/vscode/src/vs/base/browser/ui/toggle/toggle.d.ts +2 -2
- package/vscode/src/vs/base/browser/ui/toggle/toggle.js +2 -2
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +1 -1
- package/vscode/src/vs/base/common/actions.d.ts +3 -3
- package/vscode/src/vs/base/common/actions.js +3 -3
- package/vscode/src/vs/base/common/async.d.ts +18 -7
- package/vscode/src/vs/base/common/async.js +71 -14
- package/vscode/src/vs/base/common/codicons.d.ts +3 -0
- package/vscode/src/vs/base/common/codiconsLibrary.d.ts +3 -0
- package/vscode/src/vs/base/common/codiconsLibrary.js +3 -0
- package/vscode/src/vs/base/common/defaultAccount.d.ts +23 -0
- package/vscode/src/vs/base/common/event.d.ts +0 -5
- package/vscode/src/vs/base/common/event.js +0 -12
- package/vscode/src/vs/base/common/hotReloadHelpers.js +2 -33
- package/vscode/src/vs/base/common/htmlContent.d.ts +1 -1
- package/vscode/src/vs/base/common/htmlContent.js +2 -2
- package/vscode/src/vs/base/common/lazy.d.ts +1 -1
- package/vscode/src/vs/base/common/lazy.js +14 -4
- package/vscode/src/vs/base/common/lifecycle.d.ts +7 -11
- package/vscode/src/vs/base/common/lifecycle.js +19 -2
- package/vscode/src/vs/base/common/marshallingIds.d.ts +5 -4
- package/vscode/src/vs/base/common/marshallingIds.js +5 -4
- package/vscode/src/vs/base/common/mime.d.ts +4 -0
- package/vscode/src/vs/base/common/mime.js +4 -1
- package/vscode/src/vs/base/common/network.d.ts +5 -0
- package/vscode/src/vs/base/common/network.js +2 -0
- package/vscode/src/vs/base/common/oauth.d.ts +18 -2
- package/vscode/src/vs/base/common/oauth.js +113 -18
- package/vscode/src/vs/base/common/observableInternal/debugLocation.d.ts +20 -0
- package/vscode/src/vs/base/common/observableInternal/debugLocation.js +63 -0
- package/vscode/src/vs/base/common/observableInternal/experimental/reducer.js +2 -1
- package/vscode/src/vs/base/common/observableInternal/index.d.ts +2 -1
- package/vscode/src/vs/base/common/observableInternal/index.js +2 -1
- package/vscode/src/vs/base/common/observableInternal/logging/debugger/devToolsLogger.d.ts +3 -2
- package/vscode/src/vs/base/common/observableInternal/logging/debugger/devToolsLogger.js +15 -33
- package/vscode/src/vs/base/common/observableInternal/logging/debugger/utils.d.ts +0 -7
- package/vscode/src/vs/base/common/observableInternal/logging/debugger/utils.js +1 -42
- package/vscode/src/vs/base/common/observableInternal/logging/logging.d.ts +3 -2
- package/vscode/src/vs/base/common/observableInternal/logging/logging.js +4 -4
- package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.d.ts +2 -1
- package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.js +6 -5
- package/vscode/src/vs/base/common/observableInternal/observables/derived.d.ts +4 -3
- package/vscode/src/vs/base/common/observableInternal/observables/derived.js +12 -11
- package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.d.ts +3 -2
- package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.js +4 -4
- package/vscode/src/vs/base/common/observableInternal/observables/lazyObservableValue.d.ts +2 -1
- package/vscode/src/vs/base/common/observableInternal/observables/lazyObservableValue.js +2 -2
- package/vscode/src/vs/base/common/observableInternal/observables/observableFromEvent.d.ts +4 -3
- package/vscode/src/vs/base/common/observableInternal/observables/observableFromEvent.js +10 -8
- package/vscode/src/vs/base/common/observableInternal/observables/observableSignal.js +6 -5
- package/vscode/src/vs/base/common/observableInternal/observables/observableSignalFromEvent.d.ts +2 -1
- package/vscode/src/vs/base/common/observableInternal/observables/observableSignalFromEvent.js +5 -4
- package/vscode/src/vs/base/common/observableInternal/observables/observableValue.d.ts +3 -2
- package/vscode/src/vs/base/common/observableInternal/observables/observableValue.js +7 -6
- package/vscode/src/vs/base/common/observableInternal/observables/observableValueOpts.d.ts +2 -1
- package/vscode/src/vs/base/common/observableInternal/observables/observableValueOpts.js +4 -3
- package/vscode/src/vs/base/common/observableInternal/reactions/autorun.d.ts +11 -3
- package/vscode/src/vs/base/common/observableInternal/reactions/autorun.js +27 -7
- package/vscode/src/vs/base/common/observableInternal/reactions/autorunImpl.d.ts +2 -1
- package/vscode/src/vs/base/common/observableInternal/reactions/autorunImpl.js +2 -2
- package/vscode/src/vs/base/common/observableInternal/utils/utilsCancellation.js +1 -0
- package/vscode/src/vs/base/common/policy.d.ts +29 -0
- package/vscode/src/vs/base/common/product.d.ts +15 -1
- package/vscode/src/vs/base/common/strings.d.ts +0 -6
- package/vscode/src/vs/base/common/strings.js +1 -8
- package/vscode/src/vs/base/common/types.js +1 -4
- package/vscode/src/vs/base/common/uuid.d.ts +2 -0
- package/vscode/src/vs/base/common/uuid.js +4 -1
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.d.ts +1 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.js +9 -2
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContextUtils.d.ts +2 -1
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContextUtils.js +10 -3
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +1 -0
- package/vscode/src/vs/editor/browser/controller/mouseHandler.js +2 -3
- package/vscode/src/vs/editor/browser/editorDom.d.ts +1 -0
- package/vscode/src/vs/editor/browser/editorDom.js +7 -4
- package/vscode/src/vs/editor/browser/observableCodeEditor.d.ts +2 -2
- package/vscode/src/vs/editor/browser/observableCodeEditor.js +3 -2
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +1 -4
- package/vscode/src/vs/editor/browser/services/inlineCompletionsService.d.ts +3 -0
- package/vscode/src/vs/editor/browser/services/inlineCompletionsService.js +14 -1
- package/vscode/src/vs/editor/browser/services/inlineCompletionsService.service.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.css +1 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +12 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +8 -8
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils/editorGutter.js +3 -1
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.d.ts +2 -2
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.js +31 -44
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +10 -10
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +6 -4
- package/vscode/src/vs/editor/common/config/editorOptions.js +302 -275
- package/vscode/src/vs/editor/common/core/2d/rect.js +5 -2
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/core/edits/lineEdit.d.ts +2 -2
- package/vscode/src/vs/editor/common/core/edits/lineEdit.js +1 -1
- package/vscode/src/vs/editor/common/core/edits/stringEdit.d.ts +1 -1
- package/vscode/src/vs/editor/common/core/edits/stringEdit.js +9 -3
- package/vscode/src/vs/editor/common/core/edits/textEdit.d.ts +2 -2
- package/vscode/src/vs/editor/common/core/text/textLength.d.ts +3 -0
- package/vscode/src/vs/editor/common/core/text/textLength.js +6 -0
- package/vscode/src/vs/editor/common/editorContextKeys.js +46 -46
- package/vscode/src/vs/editor/common/languageFeatureRegistry.d.ts +1 -1
- package/vscode/src/vs/editor/common/languageFeatureRegistry.js +1 -1
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
- package/vscode/src/vs/editor/common/languages.d.ts +19 -1
- package/vscode/src/vs/editor/common/languages.js +77 -57
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/beforeEditPositionMapper.d.ts +1 -1
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/model/mirrorTextModel.d.ts +19 -1
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.d.ts +1 -1
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.js +1 -1
- package/vscode/src/vs/editor/common/model/textModel.d.ts +4 -4
- package/vscode/src/vs/editor/common/model/textModel.js +4 -4
- package/vscode/src/vs/editor/common/model/textModelStringEdit.d.ts +1 -1
- package/vscode/src/vs/editor/common/model/textModelTokens.d.ts +1 -1
- package/vscode/src/vs/editor/common/model.d.ts +2 -1
- package/vscode/src/vs/editor/common/services/editorWebWorker.d.ts +7 -1
- package/vscode/src/vs/editor/common/services/editorWebWorker.js +13 -10
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +4 -0
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +6 -1
- package/vscode/src/vs/editor/common/standaloneStrings.js +47 -47
- package/vscode/src/vs/editor/common/textModelEditSource.d.ts +48 -2
- package/vscode/src/vs/editor/common/textModelEditSource.js +54 -1
- package/vscode/src/vs/editor/common/textModelEvents.d.ts +1 -18
- package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.js +6 -1
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +28 -17
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/codelens/browser/codelens.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +3 -2
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensWidget.d.ts +5 -5
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +3 -3
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +26 -26
- package/vscode/src/vs/editor/contrib/folding/browser/folding.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +21 -21
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverComputer.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverComputer.js +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +3 -3
- package/vscode/src/vs/editor/contrib/hover/browser/getHover.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
- package/vscode/src/vs/editor/contrib/hover/browser/hoverOperation.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverOperation.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +12 -12
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +9 -5
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.js +1 -1
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +11 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +19 -19
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +56 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.d.ts +7 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +76 -18
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +7 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.d.ts +6 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +9 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +18 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +31 -9
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.js +4 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/typingSpeed.d.ts +0 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/typingSpeed.js +6 -10
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/structuredLogger.d.ts +5 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/structuredLogger.js +11 -15
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +3 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +36 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewInterface.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.js +17 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsDeletionView.js +4 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsInsertionView.js +3 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.js +10 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsSideBySideView.js +7 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.js +15 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.js +49 -13
- package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +31 -31
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +8 -3
- package/vscode/src/vs/editor/contrib/links/browser/links.js +10 -10
- package/vscode/src/vs/editor/contrib/message/browser/messageController.d.ts +0 -1
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +11 -14
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +18 -18
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +11 -11
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +10 -10
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.d.ts +2 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +26 -15
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +17 -17
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +4 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +1 -1
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +4 -4
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/vscode/src/vs/platform/actions/browser/floatingMenu.d.ts +1 -1
- package/vscode/src/vs/platform/actions/browser/floatingMenu.js +1 -1
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.d.ts +11 -11
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/vscode/src/vs/platform/actions/browser/toolbar.d.ts +1 -6
- package/vscode/src/vs/platform/actions/browser/toolbar.js +3 -6
- package/vscode/src/vs/platform/actions/common/actions.d.ts +2 -1
- package/vscode/src/vs/platform/actions/common/actions.js +2 -1
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
- package/vscode/src/vs/platform/assignment/common/assignment.d.ts +70 -0
- package/vscode/src/vs/platform/configuration/common/configurationModels.js +11 -8
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +1 -1
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +10 -10
- package/vscode/src/vs/platform/configuration/common/configurations.js +2 -3
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.d.ts +1 -1
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +2 -2
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/contextkey/common/contextkeys.d.ts +1 -0
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +11 -10
- package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
- package/vscode/src/vs/platform/dataChannel/common/dataChannel.d.ts +14 -0
- package/vscode/src/vs/platform/dataChannel/common/dataChannel.js +15 -0
- package/vscode/src/vs/{workbench/services → platform}/dataChannel/common/dataChannel.service.d.ts +2 -2
- package/vscode/src/vs/{workbench/services → platform}/dataChannel/common/dataChannel.service.js +1 -1
- package/vscode/src/vs/platform/debug/common/extensionHostDebug.d.ts +1 -1
- package/vscode/src/vs/platform/debug/common/extensionHostDebug.service.d.ts +1 -0
- package/vscode/src/vs/platform/diagnostics/common/diagnostics.d.ts +1 -1
- package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +1 -1
- package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
- package/vscode/src/vs/platform/environment/common/argv.d.ts +0 -1
- package/vscode/src/vs/platform/environment/common/environment.service.d.ts +1 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +2 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +21 -19
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +7 -7
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +11 -0
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +12 -1
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/files/common/files.js +6 -6
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/vscode/src/vs/platform/instantiation/common/instantiation.d.ts +1 -0
- package/vscode/src/vs/platform/instantiation/common/instantiationService.js +7 -0
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/list/browser/listService.js +27 -27
- package/vscode/src/vs/platform/log/common/log.d.ts +1 -1
- package/vscode/src/vs/platform/log/common/log.js +7 -7
- package/vscode/src/vs/platform/markers/common/markerService.js +2 -2
- package/vscode/src/vs/platform/markers/common/markers.js +6 -6
- package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.d.ts +18 -0
- package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.js +28 -0
- package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.service.d.ts +10 -0
- package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.service.js +6 -0
- package/vscode/src/vs/platform/mcp/common/mcpManagement.service.d.ts +8 -4
- package/vscode/src/vs/platform/notification/common/notification.js +3 -3
- package/vscode/src/vs/platform/observable/common/platformObservableUtils.d.ts +4 -4
- package/vscode/src/vs/platform/observable/common/platformObservableUtils.js +15 -20
- package/vscode/src/vs/platform/observable/common/wrapInHotClass.js +2 -28
- package/vscode/src/vs/platform/observable/common/wrapInReloadableClass.js +3 -42
- package/vscode/src/vs/platform/policy/common/policy.d.ts +3 -3
- package/vscode/src/vs/platform/policy/common/policy.service.d.ts +1 -1
- package/vscode/src/vs/platform/product/common/product.js +3 -3
- package/vscode/src/vs/platform/progress/common/progress.d.ts +0 -12
- package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css +13 -12
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +10 -10
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +10 -7
- package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +1 -2
- package/vscode/src/vs/platform/quickinput/browser/quickInputService.js +2 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputDelegate.d.ts +1 -1
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputDelegate.js +2 -2
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTree.d.ts +0 -1
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +2 -2
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.d.ts +0 -1
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.js +5 -17
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeFilter.d.ts +0 -1
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeFilter.js +3 -6
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.d.ts +1 -2
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.js +5 -30
- package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.d.ts +0 -3
- package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.js +2 -6
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +53 -26
- package/vscode/src/vs/platform/request/common/request.d.ts +2 -0
- package/vscode/src/vs/platform/request/common/request.js +25 -19
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +2 -1
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +5 -0
- package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +17 -17
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +95 -95
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +47 -47
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +15 -15
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +6 -6
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/platform/window/common/window.d.ts +6 -2
- package/vscode/src/vs/platform/window/common/window.js +3 -2
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +37 -9
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +53 -26
- package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +7 -1
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.d.ts +6 -4
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +67 -13
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +2 -3
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +23 -30
- package/vscode/src/vs/workbench/api/common/extHostChatSessions.d.ts +12 -4
- package/vscode/src/vs/workbench/api/common/extHostChatSessions.js +73 -12
- package/vscode/src/vs/workbench/api/common/extHostCommands.js +6 -1
- package/vscode/src/vs/workbench/api/common/extHostComments.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostCustomEditors.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDebugService.js +3 -1
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +3 -2
- package/vscode/src/vs/workbench/api/common/extHostDocumentData.d.ts +7 -4
- package/vscode/src/vs/workbench/api/common/extHostDocumentData.js +27 -6
- package/vscode/src/vs/workbench/api/common/extHostDocumentSaveParticipant.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostFileSystemEventService.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.d.ts +8 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +39 -14
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.d.ts +5 -5
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +52 -84
- package/vscode/src/vs/workbench/api/common/extHostLanguages.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostMcp.js +36 -33
- package/vscode/src/vs/workbench/api/common/extHostNotebook.d.ts +5 -2
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +69 -53
- package/vscode/src/vs/workbench/api/common/extHostNotebookDocument.js +4 -2
- package/vscode/src/vs/workbench/api/common/extHostNotebookDocumentSaveParticipant.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebookEditor.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +14 -12
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +6 -4
- package/vscode/src/vs/workbench/api/common/extHostTextEditor.js +5 -1
- package/vscode/src/vs/workbench/api/common/extHostTimeline.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +3 -2
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +16 -8
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +93 -20
- package/vscode/src/vs/workbench/api/common/extHostTypes/codeActionKind.d.ts +19 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/codeActionKind.js +37 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/diagnostic.d.ts +31 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/diagnostic.js +91 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/es5ClassCompat.d.ts +7 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/es5ClassCompat.js +27 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/location.d.ts +11 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/location.js +44 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/markdownString.d.ts +20 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/markdownString.js +65 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/notebooks.d.ts +84 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/notebooks.js +229 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/position.d.ts +29 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/position.js +169 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/range.d.ts +26 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/range.js +137 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/selection.d.ts +20 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/selection.js +76 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/snippetString.d.ts +12 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/snippetString.js +84 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/snippetTextEdit.d.ts +13 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/snippetTextEdit.js +28 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/symbolInformation.d.ts +45 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/symbolInformation.js +75 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/textEdit.d.ts +24 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/textEdit.js +82 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/workspaceEdit.d.ts +99 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/workspaceEdit.js +146 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +86 -420
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +65 -1186
- package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +3 -2
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/contextkeys.d.ts +1 -0
- package/vscode/src/vs/workbench/browser/contextkeys.js +13 -9
- package/vscode/src/vs/workbench/browser/parts/editor/editor.js +7 -0
- package/vscode/src/vs/workbench/common/configuration.js +9 -9
- package/vscode/src/vs/workbench/common/contextkeys.d.ts +1 -0
- package/vscode/src/vs/workbench/common/contextkeys.js +74 -73
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +1 -1
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
- package/vscode/src/vs/workbench/common/editor.d.ts +2 -0
- package/vscode/src/vs/workbench/common/editor.js +4 -4
- package/vscode/src/vs/workbench/common/theme.js +160 -160
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +157 -157
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.d.ts +2 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +13 -7
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +64 -56
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +18 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +3 -4
- package/vscode/src/vs/workbench/contrib/chat/common/chatEntitlementService.service.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatLayoutService.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatLayoutService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatLayoutService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatModes.service.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatModes.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +71 -15
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +10 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +49 -22
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.js +10 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +24 -9
- package/vscode/src/vs/workbench/contrib/chat/common/chatTodoListService.service.d.ts +3 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.js +13 -8
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.service.d.ts +2 -3
- package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +14 -1
- package/vscode/src/vs/workbench/contrib/chat/common/constants.js +18 -1
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +25 -7
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.js +15 -8
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.service.d.ts +4 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +36 -18
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +46 -36
- package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/confirmationTool.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/confirmationTool.js +76 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.d.ts +10 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.js +205 -107
- package/vscode/src/vs/workbench/contrib/chat/common/tools/tools.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/tools.js +14 -8
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +13 -13
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.js +1 -0
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +11 -11
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +65 -65
- package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +4 -7
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +10 -7
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +12 -6
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +1 -5
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +1 -4
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.service.d.ts +7 -2
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +10 -3
- package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariable.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/quickFix.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/constants.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +13 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.d.ts +2 -21
- package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +34 -6
- package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/activity/common/activity.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/assignment/common/assignmentService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationUsageService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/authentication/common/authentication.d.ts +48 -1
- package/vscode/src/vs/workbench/services/authentication/common/authentication.js +7 -1
- package/vscode/src/vs/workbench/services/authentication/common/authentication.service.d.ts +7 -6
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/environment/common/environmentService.service.d.ts +0 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +94 -86
- package/vscode/src/vs/workbench/services/host/browser/host.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/inlineCompletions/common/inlineCompletionsUnification.service.d.ts +8 -0
- package/vscode/src/vs/workbench/services/inlineCompletions/common/inlineCompletionsUnification.service.js +6 -0
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.d.ts +4 -0
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.service.d.ts +1 -1
- package/vscode-dts/vscode.d.ts +218 -2
- package/vscode-dts/vscode.proposed.authenticationChallenges.d.ts +161 -0
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +47 -1
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +3 -1
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +28 -108
- package/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts +101 -12
- package/vscode-dts/vscode.proposed.contribSecondarySidebar.d.ts +6 -0
- package/vscode-dts/vscode.proposed.d.ts +3 -0
- package/vscode-dts/vscode.proposed.defaultChatParticipant.d.ts +0 -5
- package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +31 -0
- package/vscode-dts/vscode.proposed.languageModelDataPart.d.ts +2 -2
- package/vscode-dts/vscode.proposed.languageModelThinkingPart.d.ts +49 -0
- package/vscode-dts/vscode.proposed.languageModelToolResultAudience.d.ts +16 -5
- package/vscode-dts/vscode.proposed.terminalCompletionProvider.d.ts +7 -0
- package/vscode/src/vs/base/browser/dompurify/dompurify.d.ts +0 -114
- package/vscode/src/vs/base/common/hotReload.js +0 -80
- package/vscode/src/vs/workbench/services/coreExperimentation/common/coreExperimentationService.service.d.ts +0 -6
- package/vscode/src/vs/workbench/services/coreExperimentation/common/coreExperimentationService.service.js +0 -6
- package/vscode/src/vs/workbench/services/dataChannel/common/dataChannel.d.ts +0 -7
|
@@ -56,7 +56,7 @@ class PeekViewService {
|
|
|
56
56
|
}
|
|
57
57
|
var PeekContext;
|
|
58
58
|
(function (PeekContext) {
|
|
59
|
-
PeekContext.inPeekEditor = ( new RawContextKey('inReferenceSearchEditor', true, ( localize(
|
|
59
|
+
PeekContext.inPeekEditor = ( new RawContextKey('inReferenceSearchEditor', true, ( localize(1399, "Whether the current code editor is embedded inside peek"))));
|
|
60
60
|
PeekContext.notInPeekEditor = ( PeekContext.inPeekEditor.toNegated());
|
|
61
61
|
})(PeekContext || (PeekContext = {}));
|
|
62
62
|
let PeekContextController = class PeekContextController {
|
|
@@ -152,7 +152,7 @@ let PeekViewWidget = class PeekViewWidget extends ZoneWidget {
|
|
|
152
152
|
this._actionbarWidget = ( new ActionBar(actionsContainer, actionBarOptions));
|
|
153
153
|
this._disposables.add(this._actionbarWidget);
|
|
154
154
|
if (!noCloseAction) {
|
|
155
|
-
this._actionbarWidget.push(this._disposables.add(( new Action('peekview.close', ( localize(
|
|
155
|
+
this._actionbarWidget.push(this._disposables.add(( new Action('peekview.close', ( localize(1400, "Close")), ThemeIcon.asClassName(Codicon.close), true, () => {
|
|
156
156
|
this.dispose();
|
|
157
157
|
return Promise.resolve();
|
|
158
158
|
}))), { label: false, icon: true });
|
|
@@ -216,30 +216,30 @@ let PeekViewWidget = class PeekViewWidget extends ZoneWidget {
|
|
|
216
216
|
PeekViewWidget = ( __decorate([
|
|
217
217
|
( __param(2, IInstantiationService))
|
|
218
218
|
], PeekViewWidget));
|
|
219
|
-
const peekViewTitleBackground = registerColor('peekViewTitle.background', { dark: '#252526', light: '#F3F3F3', hcDark: Color.black, hcLight: Color.white }, ( localize(
|
|
220
|
-
const peekViewTitleForeground = registerColor('peekViewTitleLabel.foreground', { dark: Color.white, light: Color.black, hcDark: Color.white, hcLight: editorForeground }, ( localize(
|
|
221
|
-
const peekViewTitleInfoForeground = registerColor('peekViewTitleDescription.foreground', { dark: '#ccccccb3', light: '#616161', hcDark: '#FFFFFF99', hcLight: '#292929' }, ( localize(
|
|
222
|
-
const peekViewBorder = registerColor('peekView.border', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: contrastBorder, hcLight: contrastBorder }, ( localize(
|
|
223
|
-
const peekViewResultsBackground = registerColor('peekViewResult.background', { dark: '#252526', light: '#F3F3F3', hcDark: Color.black, hcLight: Color.white }, ( localize(
|
|
224
|
-
registerColor('peekViewResult.lineForeground', { dark: '#bbbbbb', light: '#646465', hcDark: Color.white, hcLight: editorForeground }, ( localize(
|
|
225
|
-
registerColor('peekViewResult.fileForeground', { dark: Color.white, light: '#1E1E1E', hcDark: Color.white, hcLight: editorForeground }, ( localize(
|
|
219
|
+
const peekViewTitleBackground = registerColor('peekViewTitle.background', { dark: '#252526', light: '#F3F3F3', hcDark: Color.black, hcLight: Color.white }, ( localize(1401, 'Background color of the peek view title area.')));
|
|
220
|
+
const peekViewTitleForeground = registerColor('peekViewTitleLabel.foreground', { dark: Color.white, light: Color.black, hcDark: Color.white, hcLight: editorForeground }, ( localize(1402, 'Color of the peek view title.')));
|
|
221
|
+
const peekViewTitleInfoForeground = registerColor('peekViewTitleDescription.foreground', { dark: '#ccccccb3', light: '#616161', hcDark: '#FFFFFF99', hcLight: '#292929' }, ( localize(1403, 'Color of the peek view title info.')));
|
|
222
|
+
const peekViewBorder = registerColor('peekView.border', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: contrastBorder, hcLight: contrastBorder }, ( localize(1404, 'Color of the peek view borders and arrow.')));
|
|
223
|
+
const peekViewResultsBackground = registerColor('peekViewResult.background', { dark: '#252526', light: '#F3F3F3', hcDark: Color.black, hcLight: Color.white }, ( localize(1405, 'Background color of the peek view result list.')));
|
|
224
|
+
registerColor('peekViewResult.lineForeground', { dark: '#bbbbbb', light: '#646465', hcDark: Color.white, hcLight: editorForeground }, ( localize(1406, 'Foreground color for line nodes in the peek view result list.')));
|
|
225
|
+
registerColor('peekViewResult.fileForeground', { dark: Color.white, light: '#1E1E1E', hcDark: Color.white, hcLight: editorForeground }, ( localize(1407, 'Foreground color for file nodes in the peek view result list.')));
|
|
226
226
|
registerColor('peekViewResult.selectionBackground', { dark: '#3399ff33', light: '#3399ff33', hcDark: null, hcLight: null }, ( localize(
|
|
227
|
-
|
|
227
|
+
1408,
|
|
228
228
|
'Background color of the selected entry in the peek view result list.'
|
|
229
229
|
)));
|
|
230
230
|
registerColor('peekViewResult.selectionForeground', { dark: Color.white, light: '#6C6C6C', hcDark: Color.white, hcLight: editorForeground }, ( localize(
|
|
231
|
-
|
|
231
|
+
1409,
|
|
232
232
|
'Foreground color of the selected entry in the peek view result list.'
|
|
233
233
|
)));
|
|
234
|
-
const peekViewEditorBackground = registerColor('peekViewEditor.background', { dark: '#001F33', light: '#F2F8FC', hcDark: Color.black, hcLight: Color.white }, ( localize(
|
|
235
|
-
registerColor('peekViewEditorGutter.background', peekViewEditorBackground, ( localize(
|
|
236
|
-
registerColor('peekViewEditorStickyScroll.background', peekViewEditorBackground, ( localize(
|
|
234
|
+
const peekViewEditorBackground = registerColor('peekViewEditor.background', { dark: '#001F33', light: '#F2F8FC', hcDark: Color.black, hcLight: Color.white }, ( localize(1410, 'Background color of the peek view editor.')));
|
|
235
|
+
registerColor('peekViewEditorGutter.background', peekViewEditorBackground, ( localize(1411, 'Background color of the gutter in the peek view editor.')));
|
|
236
|
+
registerColor('peekViewEditorStickyScroll.background', peekViewEditorBackground, ( localize(1412, 'Background color of sticky scroll in the peek view editor.')));
|
|
237
237
|
registerColor('peekViewEditorStickyScrollGutter.background', peekViewEditorBackground, ( localize(
|
|
238
|
-
|
|
238
|
+
1413,
|
|
239
239
|
'Background color of the gutter part of sticky scroll in the peek view editor.'
|
|
240
240
|
)));
|
|
241
|
-
registerColor('peekViewResult.matchHighlightBackground', { dark: '#ea5c004d', light: '#ea5c004d', hcDark: null, hcLight: null }, ( localize(
|
|
242
|
-
const peekViewEditorMatchHighlight = registerColor('peekViewEditor.matchHighlightBackground', { dark: '#ff8f0099', light: '#f5d802de', hcDark: null, hcLight: null }, ( localize(
|
|
243
|
-
registerColor('peekViewEditor.matchHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(
|
|
241
|
+
registerColor('peekViewResult.matchHighlightBackground', { dark: '#ea5c004d', light: '#ea5c004d', hcDark: null, hcLight: null }, ( localize(1414, 'Match highlight color in the peek view result list.')));
|
|
242
|
+
const peekViewEditorMatchHighlight = registerColor('peekViewEditor.matchHighlightBackground', { dark: '#ff8f0099', light: '#f5d802de', hcDark: null, hcLight: null }, ( localize(1415, 'Match highlight color in the peek view editor.')));
|
|
243
|
+
registerColor('peekViewEditor.matchHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(1416, 'Match highlight border in the peek view editor.')));
|
|
244
244
|
|
|
245
245
|
export { PeekContext, PeekViewService, PeekViewWidget, peekViewBorder, peekViewEditorBackground, peekViewEditorMatchHighlight, peekViewResultsBackground, peekViewTitleBackground, peekViewTitleForeground, peekViewTitleInfoForeground };
|
package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js
CHANGED
|
@@ -10,4 +10,4 @@ import { wrapInReloadableClass1 } from '../../../../platform/observable/common/w
|
|
|
10
10
|
|
|
11
11
|
registerCss(placeholderText);
|
|
12
12
|
registerEditorContribution(PlaceholderTextContribution.ID, wrapInReloadableClass1(() => PlaceholderTextContribution), EditorContributionInstantiation.Eager);
|
|
13
|
-
registerColor('editor.placeholder.foreground', ghostTextForeground, ( localize(
|
|
13
|
+
registerColor('editor.placeholder.foreground', ghostTextForeground, ( localize(1417, 'Foreground color of the placeholder text in the editor.')));
|
|
@@ -19,10 +19,10 @@ class ReadOnlyMessageController extends Disposable {
|
|
|
19
19
|
let message = this.editor.getOptions().get(EditorOption.readOnlyMessage);
|
|
20
20
|
if (!message) {
|
|
21
21
|
if (this.editor.isSimpleWidget) {
|
|
22
|
-
message = ( new MarkdownString(( localize(
|
|
22
|
+
message = ( new MarkdownString(( localize(1455, "Cannot edit in read-only input"))));
|
|
23
23
|
}
|
|
24
24
|
else {
|
|
25
|
-
message = ( new MarkdownString(( localize(
|
|
25
|
+
message = ( new MarkdownString(( localize(1456, "Cannot edit in read-only editor"))));
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
messageController.showMessage(message, this.editor.getPosition());
|
|
@@ -94,7 +94,7 @@ class RenameSkeleton {
|
|
|
94
94
|
}
|
|
95
95
|
const result = await provider.provideRenameEdits(this.model, this.position, newName, token);
|
|
96
96
|
if (!result) {
|
|
97
|
-
return this._provideRenameEdits(newName, i + 1, rejects.concat(( localize(
|
|
97
|
+
return this._provideRenameEdits(newName, i + 1, rejects.concat(( localize(1457, "No result."))), token);
|
|
98
98
|
}
|
|
99
99
|
else if (result.rejectReason) {
|
|
100
100
|
return this._provideRenameEdits(newName, i + 1, rejects.concat(result.rejectReason), token);
|
|
@@ -172,7 +172,7 @@ let RenameController = class RenameController {
|
|
|
172
172
|
else {
|
|
173
173
|
trace('resolve rename location failed', e instanceof Error ? e : JSON.stringify(e, null, '\t'));
|
|
174
174
|
if (typeof e === 'string' || isMarkdownString(e)) {
|
|
175
|
-
MessageController.get(this.editor)?.showMessage(e || ( localize(
|
|
175
|
+
MessageController.get(this.editor)?.showMessage(e || ( localize(1458, "An unknown error occurred while resolving rename location")), position);
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
178
|
return undefined;
|
|
@@ -244,16 +244,16 @@ let RenameController = class RenameController {
|
|
|
244
244
|
this._bulkEditService.apply(renameResult, {
|
|
245
245
|
editor: this.editor,
|
|
246
246
|
showPreview: inputFieldResult.wantsPreview,
|
|
247
|
-
label: ( localize(
|
|
247
|
+
label: ( localize(1459, "Renaming '{0}' to '{1}'", loc?.text, inputFieldResult.newName)),
|
|
248
248
|
code: 'undoredo.rename',
|
|
249
|
-
quotableLabel: ( localize(
|
|
249
|
+
quotableLabel: ( localize(1460, "Renaming {0} to {1}", loc?.text, inputFieldResult.newName)),
|
|
250
250
|
respectAutoSaveConfig: true,
|
|
251
251
|
reason: EditSources.rename(),
|
|
252
252
|
}).then(result => {
|
|
253
253
|
trace('edits applied');
|
|
254
254
|
if (result.ariaSummary) {
|
|
255
255
|
alert(( localize(
|
|
256
|
-
|
|
256
|
+
1461,
|
|
257
257
|
"Successfully renamed '{0}' to '{1}'. Summary: {2}",
|
|
258
258
|
loc.text,
|
|
259
259
|
inputFieldResult.newName,
|
|
@@ -262,12 +262,12 @@ let RenameController = class RenameController {
|
|
|
262
262
|
}
|
|
263
263
|
}).catch(err => {
|
|
264
264
|
trace(`error when applying edits ${JSON.stringify(err, null, '\t')}`);
|
|
265
|
-
this._notificationService.error(( localize(
|
|
265
|
+
this._notificationService.error(( localize(1462, "Rename failed to apply edits")));
|
|
266
266
|
this._logService.error(err);
|
|
267
267
|
});
|
|
268
268
|
}, err => {
|
|
269
269
|
trace('error when providing rename edits', JSON.stringify(err, null, '\t'));
|
|
270
|
-
this._notificationService.error(( localize(
|
|
270
|
+
this._notificationService.error(( localize(1463, "Rename failed to compute edits")));
|
|
271
271
|
this._logService.error(err);
|
|
272
272
|
}).finally(() => {
|
|
273
273
|
cts2.dispose();
|
|
@@ -302,7 +302,7 @@ class RenameAction extends EditorAction {
|
|
|
302
302
|
constructor() {
|
|
303
303
|
super({
|
|
304
304
|
id: 'editor.action.rename',
|
|
305
|
-
label: ( localize2(
|
|
305
|
+
label: ( localize2(1464, "Rename Symbol")),
|
|
306
306
|
precondition: ( ContextKeyExpr.and(EditorContextKeys.writable, EditorContextKeys.hasRenameProvider)),
|
|
307
307
|
kbOpts: {
|
|
308
308
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -382,7 +382,7 @@ registerAction2(class FocusNextRenameSuggestion extends Action2 {
|
|
|
382
382
|
super({
|
|
383
383
|
id: 'focusNextRenameSuggestion',
|
|
384
384
|
title: {
|
|
385
|
-
...( localize2(
|
|
385
|
+
...( localize2(1465, "Focus Next Rename Suggestion")),
|
|
386
386
|
},
|
|
387
387
|
precondition: CONTEXT_RENAME_INPUT_VISIBLE,
|
|
388
388
|
keybinding: [
|
|
@@ -410,7 +410,7 @@ registerAction2(class FocusPreviousRenameSuggestion extends Action2 {
|
|
|
410
410
|
super({
|
|
411
411
|
id: 'focusPreviousRenameSuggestion',
|
|
412
412
|
title: {
|
|
413
|
-
...( localize2(
|
|
413
|
+
...( localize2(1466, "Focus Previous Rename Suggestion")),
|
|
414
414
|
},
|
|
415
415
|
precondition: CONTEXT_RENAME_INPUT_VISIBLE,
|
|
416
416
|
keybinding: [
|
|
@@ -453,7 +453,7 @@ registerModelAndPositionCommand('_executePrepareRename', async function (accesso
|
|
|
453
453
|
properties: {
|
|
454
454
|
'editor.rename.enablePreview': {
|
|
455
455
|
scope: ConfigurationScope.LANGUAGE_OVERRIDABLE,
|
|
456
|
-
description: ( localize(
|
|
456
|
+
description: ( localize(1467, "Enable/disable the ability to preview changes before renaming")),
|
|
457
457
|
default: true,
|
|
458
458
|
type: 'boolean'
|
|
459
459
|
}
|
|
@@ -44,7 +44,7 @@ import '../../../../platform/theme/common/colors/searchColors.js';
|
|
|
44
44
|
import { IThemeService } from '../../../../platform/theme/common/themeService.service.js';
|
|
45
45
|
|
|
46
46
|
registerCss(renameWidget);
|
|
47
|
-
const CONTEXT_RENAME_INPUT_VISIBLE = ( new RawContextKey('renameInputVisible', false, ( localize(
|
|
47
|
+
const CONTEXT_RENAME_INPUT_VISIBLE = ( new RawContextKey('renameInputVisible', false, ( localize(1468, "Whether the rename input widget is visible"))));
|
|
48
48
|
let RenameWidget = class RenameWidget {
|
|
49
49
|
constructor(_editor, _acceptKeybindings, _themeService, _keybindingService, contextKeyService, _logService) {
|
|
50
50
|
this._editor = _editor;
|
|
@@ -167,7 +167,7 @@ let RenameWidget = class RenameWidget {
|
|
|
167
167
|
beforeRender() {
|
|
168
168
|
const [accept, preview] = this._acceptKeybindings;
|
|
169
169
|
this._label.innerText = ( localize(
|
|
170
|
-
|
|
170
|
+
1469,
|
|
171
171
|
"{0} to Rename, {1} to Preview",
|
|
172
172
|
this._keybindingService.lookupKeybinding(accept)?.getLabel(),
|
|
173
173
|
this._keybindingService.lookupKeybinding(preview)?.getLabel()
|
|
@@ -430,16 +430,16 @@ class RenameCandidateListView {
|
|
|
430
430
|
this._listContainer.className = 'rename-box rename-candidate-list-container';
|
|
431
431
|
parent.appendChild(this._listContainer);
|
|
432
432
|
this._listWidget = RenameCandidateListView._createListWidget(this._listContainer, this._candidateViewHeight, opts.fontInfo);
|
|
433
|
-
this._listWidget.onDidChangeFocus(e => {
|
|
433
|
+
this._disposables.add(this._listWidget.onDidChangeFocus(e => {
|
|
434
434
|
if (e.elements.length === 1) {
|
|
435
435
|
opts.onFocusChange(e.elements[0].newSymbolName);
|
|
436
436
|
}
|
|
437
|
-
}, this._disposables);
|
|
438
|
-
this._listWidget.onDidChangeSelection(e => {
|
|
437
|
+
}, this._disposables));
|
|
438
|
+
this._disposables.add(this._listWidget.onDidChangeSelection(e => {
|
|
439
439
|
if (e.elements.length === 1) {
|
|
440
440
|
opts.onSelectionChange();
|
|
441
441
|
}
|
|
442
|
-
}, this._disposables);
|
|
442
|
+
}, this._disposables));
|
|
443
443
|
this._disposables.add(this._listWidget.onDidBlur(e => {
|
|
444
444
|
this._listWidget.setFocus([]);
|
|
445
445
|
}));
|
|
@@ -463,7 +463,7 @@ class RenameCandidateListView {
|
|
|
463
463
|
this._listWidget.layout(height, width);
|
|
464
464
|
this._listContainer.style.height = `${height}px`;
|
|
465
465
|
this._listContainer.style.width = `${width}px`;
|
|
466
|
-
status(( localize(
|
|
466
|
+
status(( localize(1470, "Received {0} rename suggestions", candidates.length)));
|
|
467
467
|
}
|
|
468
468
|
clearCandidates() {
|
|
469
469
|
this._listContainer.style.height = '0px';
|
|
@@ -602,13 +602,13 @@ class InputWithButton {
|
|
|
602
602
|
this._inputNode.className = 'rename-input';
|
|
603
603
|
this._inputNode.type = 'text';
|
|
604
604
|
this._inputNode.style.border = 'none';
|
|
605
|
-
this._inputNode.setAttribute('aria-label', ( localize(
|
|
605
|
+
this._inputNode.setAttribute('aria-label', ( localize(1471, "Rename input. Type new name and press Enter to commit.")));
|
|
606
606
|
this._domNode.appendChild(this._inputNode);
|
|
607
607
|
this._buttonNode = createElement('div');
|
|
608
608
|
this._buttonNode.className = 'rename-suggestions-button';
|
|
609
609
|
this._buttonNode.setAttribute('tabindex', '0');
|
|
610
|
-
this._buttonGenHoverText = ( localize(
|
|
611
|
-
this._buttonCancelHoverText = ( localize(
|
|
610
|
+
this._buttonGenHoverText = ( localize(1472, "Generate new name suggestions"));
|
|
611
|
+
this._buttonCancelHoverText = ( localize(1473, "Cancel"));
|
|
612
612
|
this._buttonHoverContent = this._buttonGenHoverText;
|
|
613
613
|
this._disposables.add(getBaseLayerHoverDelegate().setupDelayedHover(this._buttonNode, () => ({
|
|
614
614
|
content: this._buttonHoverContent,
|
|
@@ -118,7 +118,7 @@ class GrowSelectionAction extends AbstractSmartSelect {
|
|
|
118
118
|
constructor() {
|
|
119
119
|
super(true, {
|
|
120
120
|
id: 'editor.action.smartSelect.expand',
|
|
121
|
-
label: ( localize2(
|
|
121
|
+
label: ( localize2(1474, "Expand Selection")),
|
|
122
122
|
precondition: undefined,
|
|
123
123
|
kbOpts: {
|
|
124
124
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -132,7 +132,7 @@ class GrowSelectionAction extends AbstractSmartSelect {
|
|
|
132
132
|
menuOpts: {
|
|
133
133
|
menuId: MenuId.MenubarSelectionMenu,
|
|
134
134
|
group: '1_basic',
|
|
135
|
-
title: ( localize(
|
|
135
|
+
title: ( localize(1475, "&&Expand Selection")),
|
|
136
136
|
order: 2
|
|
137
137
|
}
|
|
138
138
|
});
|
|
@@ -143,7 +143,7 @@ class ShrinkSelectionAction extends AbstractSmartSelect {
|
|
|
143
143
|
constructor() {
|
|
144
144
|
super(false, {
|
|
145
145
|
id: 'editor.action.smartSelect.shrink',
|
|
146
|
-
label: ( localize2(
|
|
146
|
+
label: ( localize2(1476, "Shrink Selection")),
|
|
147
147
|
precondition: undefined,
|
|
148
148
|
kbOpts: {
|
|
149
149
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -157,7 +157,7 @@ class ShrinkSelectionAction extends AbstractSmartSelect {
|
|
|
157
157
|
menuOpts: {
|
|
158
158
|
menuId: MenuId.MenubarSelectionMenu,
|
|
159
159
|
group: '1_basic',
|
|
160
|
-
title: ( localize(
|
|
160
|
+
title: ( localize(1477, "&&Shrink Selection")),
|
|
161
161
|
order: 3
|
|
162
162
|
}
|
|
163
163
|
});
|
|
@@ -33,9 +33,9 @@ let SnippetController2 = class SnippetController2 {
|
|
|
33
33
|
static get(editor) {
|
|
34
34
|
return editor.getContribution(SnippetController2_1.ID);
|
|
35
35
|
}
|
|
36
|
-
static { this.InSnippetMode = ( new RawContextKey('inSnippetMode', false, ( localize(
|
|
37
|
-
static { this.HasNextTabstop = ( new RawContextKey('hasNextTabstop', false, ( localize(
|
|
38
|
-
static { this.HasPrevTabstop = ( new RawContextKey('hasPrevTabstop', false, ( localize(
|
|
36
|
+
static { this.InSnippetMode = ( new RawContextKey('inSnippetMode', false, ( localize(1478, "Whether the editor in current in snippet mode")))); }
|
|
37
|
+
static { this.HasNextTabstop = ( new RawContextKey('hasNextTabstop', false, ( localize(1479, "Whether there is a next tab stop when in snippet mode")))); }
|
|
38
|
+
static { this.HasPrevTabstop = ( new RawContextKey('hasPrevTabstop', false, ( localize(1480, "Whether there is a previous tab stop when in snippet mode")))); }
|
|
39
39
|
constructor(_editor, _logService, _languageFeaturesService, contextKeyService, _languageConfigurationService) {
|
|
40
40
|
this._editor = _editor;
|
|
41
41
|
this._logService = _logService;
|
|
@@ -124,7 +124,7 @@ let SnippetController2 = class SnippetController2 {
|
|
|
124
124
|
sortText: 'a'.repeat(i + 1),
|
|
125
125
|
range: activeChoice.range,
|
|
126
126
|
filterText: isAnyOfOptions ? `${word}_${option.value}` : undefined,
|
|
127
|
-
command: { id: 'jumpToNextSnippetPlaceholder', title: ( localize(
|
|
127
|
+
command: { id: 'jumpToNextSnippetPlaceholder', title: ( localize(1481, 'Go to next placeholder...')) }
|
|
128
128
|
});
|
|
129
129
|
}
|
|
130
130
|
return { suggestions };
|
|
@@ -214,10 +214,10 @@ class TimeBasedVariableResolver {
|
|
|
214
214
|
constructor() {
|
|
215
215
|
this._date = ( new Date());
|
|
216
216
|
}
|
|
217
|
-
static { this.dayNames = [( localize(
|
|
218
|
-
static { this.dayNamesShort = [( localize(
|
|
219
|
-
static { this.monthNames = [( localize(
|
|
220
|
-
static { this.monthNamesShort = [( localize(
|
|
217
|
+
static { this.dayNames = [( localize(1482, "Sunday")), ( localize(1483, "Monday")), ( localize(1484, "Tuesday")), ( localize(1485, "Wednesday")), ( localize(1486, "Thursday")), ( localize(1487, "Friday")), ( localize(1488, "Saturday"))]; }
|
|
218
|
+
static { this.dayNamesShort = [( localize(1489, "Sun")), ( localize(1490, "Mon")), ( localize(1491, "Tue")), ( localize(1492, "Wed")), ( localize(1493, "Thu")), ( localize(1494, "Fri")), ( localize(1495, "Sat"))]; }
|
|
219
|
+
static { this.monthNames = [( localize(1496, "January")), ( localize(1497, "February")), ( localize(1498, "March")), ( localize(1499, "April")), ( localize(1500, "May")), ( localize(1501, "June")), ( localize(1502, "July")), ( localize(1503, "August")), ( localize(1504, "September")), ( localize(1505, "October")), ( localize(1506, "November")), ( localize(1507, "December"))]; }
|
|
220
|
+
static { this.monthNamesShort = [( localize(1508, "Jan")), ( localize(1509, "Feb")), ( localize(1510, "Mar")), ( localize(1511, "Apr")), ( localize(1512, "May")), ( localize(1513, "Jun")), ( localize(1514, "Jul")), ( localize(1515, "Aug")), ( localize(1516, "Sep")), ( localize(1517, "Oct")), ( localize(1518, "Nov")), ( localize(1519, "Dec"))]; }
|
|
221
221
|
resolve(variable) {
|
|
222
222
|
const { name } = variable;
|
|
223
223
|
if (name === 'CURRENT_YEAR') {
|
|
@@ -15,20 +15,20 @@ class ToggleStickyScroll extends EditorAction2 {
|
|
|
15
15
|
super({
|
|
16
16
|
id: 'editor.action.toggleStickyScroll',
|
|
17
17
|
title: {
|
|
18
|
-
...( localize2(
|
|
19
|
-
mnemonicTitle: ( localize(
|
|
18
|
+
...( localize2(1520, "Toggle Editor Sticky Scroll")),
|
|
19
|
+
mnemonicTitle: ( localize(1521, "&&Toggle Editor Sticky Scroll")),
|
|
20
20
|
},
|
|
21
21
|
metadata: {
|
|
22
22
|
description: ( localize2(
|
|
23
|
-
|
|
23
|
+
1522,
|
|
24
24
|
"Toggle/enable the editor sticky scroll which shows the nested scopes at the top of the viewport"
|
|
25
25
|
)),
|
|
26
26
|
},
|
|
27
27
|
category: Categories.View,
|
|
28
28
|
toggled: {
|
|
29
29
|
condition: ( ContextKeyExpr.equals('config.editor.stickyScroll.enabled', true)),
|
|
30
|
-
title: ( localize(
|
|
31
|
-
mnemonicTitle: ( localize(
|
|
30
|
+
title: ( localize(1523, "Sticky Scroll")),
|
|
31
|
+
mnemonicTitle: ( localize(1524, "&&Sticky Scroll")),
|
|
32
32
|
},
|
|
33
33
|
menu: [
|
|
34
34
|
{ id: MenuId.CommandPalette },
|
|
@@ -53,8 +53,8 @@ class FocusStickyScroll extends EditorAction2 {
|
|
|
53
53
|
super({
|
|
54
54
|
id: 'editor.action.focusStickyScroll',
|
|
55
55
|
title: {
|
|
56
|
-
...( localize2(
|
|
57
|
-
mnemonicTitle: ( localize(
|
|
56
|
+
...( localize2(1525, "Focus Editor Sticky Scroll")),
|
|
57
|
+
mnemonicTitle: ( localize(1526, "&&Focus Editor Sticky Scroll")),
|
|
58
58
|
},
|
|
59
59
|
precondition: ( ContextKeyExpr.and(( ContextKeyExpr.has('config.editor.stickyScroll.enabled')), EditorContextKeys.stickyScrollVisible)),
|
|
60
60
|
menu: [
|
|
@@ -70,7 +70,7 @@ class SelectNextStickyScrollLine extends EditorAction2 {
|
|
|
70
70
|
constructor() {
|
|
71
71
|
super({
|
|
72
72
|
id: 'editor.action.selectNextStickyScrollLine',
|
|
73
|
-
title: ( localize2(
|
|
73
|
+
title: ( localize2(1527, "Select the next editor sticky scroll line")),
|
|
74
74
|
precondition: ( EditorContextKeys.stickyScrollFocused.isEqualTo(true)),
|
|
75
75
|
keybinding: {
|
|
76
76
|
weight,
|
|
@@ -86,7 +86,7 @@ class SelectPreviousStickyScrollLine extends EditorAction2 {
|
|
|
86
86
|
constructor() {
|
|
87
87
|
super({
|
|
88
88
|
id: 'editor.action.selectPreviousStickyScrollLine',
|
|
89
|
-
title: ( localize2(
|
|
89
|
+
title: ( localize2(1528, "Select the previous sticky scroll line")),
|
|
90
90
|
precondition: ( EditorContextKeys.stickyScrollFocused.isEqualTo(true)),
|
|
91
91
|
keybinding: {
|
|
92
92
|
weight,
|
|
@@ -102,7 +102,7 @@ class GoToStickyScrollLine extends EditorAction2 {
|
|
|
102
102
|
constructor() {
|
|
103
103
|
super({
|
|
104
104
|
id: 'editor.action.goToFocusedStickyScrollLine',
|
|
105
|
-
title: ( localize2(
|
|
105
|
+
title: ( localize2(1529, "Go to the focused sticky scroll line")),
|
|
106
106
|
precondition: ( EditorContextKeys.stickyScrollFocused.isEqualTo(true)),
|
|
107
107
|
keybinding: {
|
|
108
108
|
weight,
|
|
@@ -118,7 +118,7 @@ class SelectEditor extends EditorAction2 {
|
|
|
118
118
|
constructor() {
|
|
119
119
|
super({
|
|
120
120
|
id: 'editor.action.selectEditor',
|
|
121
|
-
title: ( localize2(
|
|
121
|
+
title: ( localize2(1530, "Select Editor")),
|
|
122
122
|
precondition: ( EditorContextKeys.stickyScrollFocused.isEqualTo(true)),
|
|
123
123
|
keybinding: {
|
|
124
124
|
weight,
|
|
@@ -21,21 +21,21 @@ import { StandardTokenType } from '../../../common/encodedTokenAttributes.js';
|
|
|
21
21
|
|
|
22
22
|
const Context = {
|
|
23
23
|
Visible: historyNavigationVisible,
|
|
24
|
-
HasFocusedSuggestion: ( new RawContextKey('suggestWidgetHasFocusedSuggestion', false, ( localize(
|
|
25
|
-
DetailsVisible: ( new RawContextKey('suggestWidgetDetailsVisible', false, ( localize(
|
|
26
|
-
MultipleSuggestions: ( new RawContextKey('suggestWidgetMultipleSuggestions', false, ( localize(
|
|
24
|
+
HasFocusedSuggestion: ( new RawContextKey('suggestWidgetHasFocusedSuggestion', false, ( localize(1531, "Whether any suggestion is focused")))),
|
|
25
|
+
DetailsVisible: ( new RawContextKey('suggestWidgetDetailsVisible', false, ( localize(1532, "Whether suggestion details are visible")))),
|
|
26
|
+
MultipleSuggestions: ( new RawContextKey('suggestWidgetMultipleSuggestions', false, ( localize(1533, "Whether there are multiple suggestions to pick from")))),
|
|
27
27
|
MakesTextEdit: ( new RawContextKey('suggestionMakesTextEdit', true, ( localize(
|
|
28
|
-
|
|
28
|
+
1534,
|
|
29
29
|
"Whether inserting the current suggestion yields in a change or has everything already been typed"
|
|
30
30
|
)))),
|
|
31
|
-
AcceptSuggestionsOnEnter: ( new RawContextKey('acceptSuggestionOnEnter', true, ( localize(
|
|
32
|
-
HasInsertAndReplaceRange: ( new RawContextKey('suggestionHasInsertAndReplaceRange', false, ( localize(
|
|
31
|
+
AcceptSuggestionsOnEnter: ( new RawContextKey('acceptSuggestionOnEnter', true, ( localize(1535, "Whether suggestions are inserted when pressing Enter")))),
|
|
32
|
+
HasInsertAndReplaceRange: ( new RawContextKey('suggestionHasInsertAndReplaceRange', false, ( localize(1536, "Whether the current suggestion has insert and replace behaviour")))),
|
|
33
33
|
InsertMode: ( new RawContextKey(
|
|
34
34
|
'suggestionInsertMode',
|
|
35
35
|
undefined,
|
|
36
|
-
{ type: 'string', description: ( localize(
|
|
36
|
+
{ type: 'string', description: ( localize(1537, "Whether the default behaviour is to insert or replace")) }
|
|
37
37
|
)),
|
|
38
|
-
CanResolve: ( new RawContextKey('suggestionCanResolve', false, ( localize(
|
|
38
|
+
CanResolve: ( new RawContextKey('suggestionCanResolve', false, ( localize(1538, "Whether the current suggestion supports to resolve further details")))),
|
|
39
39
|
};
|
|
40
40
|
const suggestWidgetStatusbarMenu = ( new MenuId('suggestWidgetStatusBar'));
|
|
41
41
|
class CompletionItem {
|
|
@@ -39,9 +39,10 @@ export declare class SuggestController implements IEditorContribution {
|
|
|
39
39
|
private readonly _overtypingCapturer;
|
|
40
40
|
private readonly _selectors;
|
|
41
41
|
private readonly _onWillInsertSuggestItem;
|
|
42
|
-
|
|
42
|
+
get onWillInsertSuggestItem(): Event<{
|
|
43
43
|
item: CompletionItem;
|
|
44
44
|
}>;
|
|
45
|
+
private _wantsForceRenderingAbove;
|
|
45
46
|
constructor(editor: ICodeEditor, _memoryService: ISuggestMemoryService, _commandService: ICommandService, _contextKeyService: IContextKeyService, _instantiationService: IInstantiationService, _logService: ILogService, _telemetryService: ITelemetryService);
|
|
46
47
|
dispose(): void;
|
|
47
48
|
protected _insertSuggestion(event: ISelectedSuggestion | undefined, flags: InsertFlags): void;
|
|
@@ -103,6 +103,7 @@ let SuggestController = class SuggestController {
|
|
|
103
103
|
static get(editor) {
|
|
104
104
|
return editor.getContribution(SuggestController_1.ID);
|
|
105
105
|
}
|
|
106
|
+
get onWillInsertSuggestItem() { return this._onWillInsertSuggestItem.event; }
|
|
106
107
|
constructor(editor, _memoryService, _commandService, _contextKeyService, _instantiationService, _logService, _telemetryService) {
|
|
107
108
|
this._memoryService = _memoryService;
|
|
108
109
|
this._commandService = _commandService;
|
|
@@ -114,7 +115,7 @@ let SuggestController = class SuggestController {
|
|
|
114
115
|
this._toDispose = ( new DisposableStore());
|
|
115
116
|
this._selectors = ( new PriorityRegistry(s => s.priority));
|
|
116
117
|
this._onWillInsertSuggestItem = ( new Emitter());
|
|
117
|
-
this.
|
|
118
|
+
this._wantsForceRenderingAbove = false;
|
|
118
119
|
this.editor = editor;
|
|
119
120
|
this.model = _instantiationService.createInstance(SuggestModel, this.editor);
|
|
120
121
|
this._selectors.register({
|
|
@@ -175,6 +176,9 @@ let SuggestController = class SuggestController {
|
|
|
175
176
|
this.editor.focus();
|
|
176
177
|
}
|
|
177
178
|
}));
|
|
179
|
+
if (this._wantsForceRenderingAbove) {
|
|
180
|
+
widget.forceRenderingAbove();
|
|
181
|
+
}
|
|
178
182
|
return widget;
|
|
179
183
|
})));
|
|
180
184
|
this._overtypingCapturer = this._toDispose.add(( new WindowIdleValue(getWindow(editor.getDomNode()), () => {
|
|
@@ -451,7 +455,7 @@ let SuggestController = class SuggestController {
|
|
|
451
455
|
_alertCompletionItem(item) {
|
|
452
456
|
if (isNonEmptyArray(item.completion.additionalTextEdits)) {
|
|
453
457
|
const msg = ( localize(
|
|
454
|
-
|
|
458
|
+
1539,
|
|
455
459
|
"Accepting '{0}' made {1} additional edits",
|
|
456
460
|
item.textLabel,
|
|
457
461
|
item.completion.additionalTextEdits.length
|
|
@@ -579,13 +583,20 @@ let SuggestController = class SuggestController {
|
|
|
579
583
|
this.widget.value.resetPersistedSize();
|
|
580
584
|
}
|
|
581
585
|
forceRenderingAbove() {
|
|
582
|
-
this.widget.
|
|
586
|
+
if (this.widget.isInitialized) {
|
|
587
|
+
this.widget.value.forceRenderingAbove();
|
|
588
|
+
}
|
|
589
|
+
else {
|
|
590
|
+
this._wantsForceRenderingAbove = true;
|
|
591
|
+
}
|
|
583
592
|
}
|
|
584
593
|
stopForceRenderingAbove() {
|
|
585
|
-
if (
|
|
586
|
-
|
|
594
|
+
if (this.widget.isInitialized) {
|
|
595
|
+
this.widget.value.stopForceRenderingAbove();
|
|
596
|
+
}
|
|
597
|
+
else {
|
|
598
|
+
this._wantsForceRenderingAbove = false;
|
|
587
599
|
}
|
|
588
|
-
this.widget.value.stopForceRenderingAbove();
|
|
589
600
|
}
|
|
590
601
|
registerSelector(selector) {
|
|
591
602
|
return this._selectors.register(selector);
|
|
@@ -628,7 +639,7 @@ class TriggerSuggestAction extends EditorAction {
|
|
|
628
639
|
constructor() {
|
|
629
640
|
super({
|
|
630
641
|
id: TriggerSuggestAction.id,
|
|
631
|
-
label: ( localize2(
|
|
642
|
+
label: ( localize2(1540, "Trigger Suggest")),
|
|
632
643
|
precondition: ( ContextKeyExpr.and(
|
|
633
644
|
EditorContextKeys.writable,
|
|
634
645
|
EditorContextKeys.hasCompletionItemProvider,
|
|
@@ -683,19 +694,19 @@ registerEditorCommand(( new SuggestCommand({
|
|
|
683
694
|
}],
|
|
684
695
|
menuOpts: [{
|
|
685
696
|
menuId: suggestWidgetStatusbarMenu,
|
|
686
|
-
title: ( localize(
|
|
697
|
+
title: ( localize(1541, "Insert")),
|
|
687
698
|
group: 'left',
|
|
688
699
|
order: 1,
|
|
689
700
|
when: ( Context.HasInsertAndReplaceRange.toNegated())
|
|
690
701
|
}, {
|
|
691
702
|
menuId: suggestWidgetStatusbarMenu,
|
|
692
|
-
title: ( localize(
|
|
703
|
+
title: ( localize(1541, "Insert")),
|
|
693
704
|
group: 'left',
|
|
694
705
|
order: 1,
|
|
695
706
|
when: ( ContextKeyExpr.and(Context.HasInsertAndReplaceRange, ( Context.InsertMode.isEqualTo('insert'))))
|
|
696
707
|
}, {
|
|
697
708
|
menuId: suggestWidgetStatusbarMenu,
|
|
698
|
-
title: ( localize(
|
|
709
|
+
title: ( localize(1542, "Replace")),
|
|
699
710
|
group: 'left',
|
|
700
711
|
order: 1,
|
|
701
712
|
when: ( ContextKeyExpr.and(Context.HasInsertAndReplaceRange, ( Context.InsertMode.isEqualTo('replace'))))
|
|
@@ -722,13 +733,13 @@ registerEditorCommand(( new SuggestCommand({
|
|
|
722
733
|
group: 'left',
|
|
723
734
|
order: 2,
|
|
724
735
|
when: ( ContextKeyExpr.and(Context.HasInsertAndReplaceRange, ( Context.InsertMode.isEqualTo('insert')))),
|
|
725
|
-
title: ( localize(
|
|
736
|
+
title: ( localize(1542, "Replace"))
|
|
726
737
|
}, {
|
|
727
738
|
menuId: suggestWidgetStatusbarMenu,
|
|
728
739
|
group: 'left',
|
|
729
740
|
order: 2,
|
|
730
741
|
when: ( ContextKeyExpr.and(Context.HasInsertAndReplaceRange, ( Context.InsertMode.isEqualTo('replace')))),
|
|
731
|
-
title: ( localize(
|
|
742
|
+
title: ( localize(1541, "Insert"))
|
|
732
743
|
}]
|
|
733
744
|
})));
|
|
734
745
|
CommandsRegistry.registerCommandAlias('acceptSelectedSuggestionOnEnter', 'acceptSelectedSuggestion');
|
|
@@ -835,13 +846,13 @@ registerEditorCommand(( new SuggestCommand({
|
|
|
835
846
|
group: 'right',
|
|
836
847
|
order: 1,
|
|
837
848
|
when: ( ContextKeyExpr.and(Context.DetailsVisible, Context.CanResolve)),
|
|
838
|
-
title: ( localize(
|
|
849
|
+
title: ( localize(1543, "Show Less"))
|
|
839
850
|
}, {
|
|
840
851
|
menuId: suggestWidgetStatusbarMenu,
|
|
841
852
|
group: 'right',
|
|
842
853
|
order: 1,
|
|
843
854
|
when: ( ContextKeyExpr.and(( Context.DetailsVisible.toNegated()), Context.CanResolve)),
|
|
844
|
-
title: ( localize(
|
|
855
|
+
title: ( localize(1544, "Show More"))
|
|
845
856
|
}]
|
|
846
857
|
})));
|
|
847
858
|
registerEditorCommand(( new SuggestCommand({
|
|
@@ -899,7 +910,7 @@ registerEditorAction(class extends EditorAction {
|
|
|
899
910
|
constructor() {
|
|
900
911
|
super({
|
|
901
912
|
id: 'editor.action.resetSuggestSize',
|
|
902
|
-
label: ( localize2(
|
|
913
|
+
label: ( localize2(1545, "Reset Suggest Widget Size")),
|
|
903
914
|
precondition: undefined
|
|
904
915
|
});
|
|
905
916
|
}
|