@codingame/monaco-vscode-api 14.0.6 → 15.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lifecycle.js +1 -1
- package/missing-services.js +149 -9
- package/monaco.d.ts +2 -2
- package/monaco.js +3 -3
- package/package.json +8 -8
- package/services.d.ts +13 -13
- package/services.js +14 -13
- package/vscode/src/vs/base/browser/dom.d.ts +3 -2
- package/vscode/src/vs/base/browser/dom.js +21 -16
- package/vscode/src/vs/base/browser/domImpl/domObservable.d.ts +3 -0
- package/vscode/src/vs/base/browser/domImpl/domObservable.js +16 -0
- package/vscode/src/vs/base/browser/domImpl/n.d.ts +83 -0
- package/vscode/src/vs/base/browser/domImpl/n.js +283 -0
- package/vscode/src/vs/base/browser/markdownRenderer.js +3 -3
- package/vscode/src/vs/base/browser/ui/button/button.d.ts +9 -2
- package/vscode/src/vs/base/browser/ui/button/button.js +58 -2
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.js +1 -1
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.d.ts +5 -2
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +31 -26
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegate.d.ts +2 -2
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegate2.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.js +3 -0
- package/vscode/src/vs/base/browser/ui/list/listWidget.js +2 -3
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +2 -3
- package/vscode/src/vs/base/common/arrays.d.ts +1 -0
- package/vscode/src/vs/base/common/arrays.js +12 -1
- package/vscode/src/vs/base/common/arraysFind.d.ts +2 -2
- package/vscode/src/vs/base/common/arraysFind.js +2 -2
- package/vscode/src/vs/base/common/assert.d.ts +1 -1
- package/vscode/src/vs/base/common/assert.js +2 -2
- package/vscode/src/vs/base/common/async.d.ts +1 -0
- package/vscode/src/vs/base/common/async.js +3 -0
- package/vscode/src/vs/base/common/buffer.d.ts +1 -0
- package/vscode/src/vs/base/common/buffer.js +9 -0
- package/vscode/src/vs/base/common/codicons.d.ts +5 -0
- package/vscode/src/vs/base/common/codiconsLibrary.d.ts +5 -0
- package/vscode/src/vs/base/common/codiconsLibrary.js +5 -0
- package/vscode/src/vs/base/common/dataTransfer.d.ts +3 -2
- package/vscode/src/vs/base/common/dataTransfer.js +4 -2
- package/vscode/src/vs/base/common/decorators.d.ts +1 -1
- package/vscode/src/vs/base/common/hotReloadHelpers.js +1 -6
- package/vscode/src/vs/base/common/htmlContent.d.ts +4 -0
- package/vscode/src/vs/base/common/htmlContent.js +9 -0
- package/vscode/src/vs/base/common/lifecycle.js +26 -1
- package/vscode/src/vs/base/common/network.d.ts +1 -0
- package/vscode/src/vs/base/common/numbers.d.ts +1 -0
- package/vscode/src/vs/base/common/numbers.js +6 -1
- package/vscode/src/vs/base/common/observableInternal/autorun.d.ts +12 -6
- package/vscode/src/vs/base/common/observableInternal/autorun.js +40 -37
- package/vscode/src/vs/base/common/observableInternal/base.d.ts +13 -8
- package/vscode/src/vs/base/common/observableInternal/base.js +30 -18
- package/vscode/src/vs/base/common/observableInternal/debugName.d.ts +1 -0
- package/vscode/src/vs/base/common/observableInternal/debugName.js +6 -3
- package/vscode/src/vs/base/common/observableInternal/derived.d.ts +12 -7
- package/vscode/src/vs/base/common/observableInternal/derived.js +56 -65
- package/vscode/src/vs/base/common/observableInternal/index.d.ts +1 -1
- package/vscode/src/vs/base/common/observableInternal/index.js +12 -0
- package/vscode/src/vs/base/common/observableInternal/lazyObservableValue.js +10 -10
- package/vscode/src/vs/base/common/observableInternal/logging/consoleObservableLogger.d.ts +39 -0
- package/vscode/src/vs/base/common/observableInternal/{logging.js → logging/consoleObservableLogger.js} +41 -35
- package/vscode/src/vs/base/common/observableInternal/logging/logging.d.ts +28 -0
- package/vscode/src/vs/base/common/observableInternal/logging/logging.js +93 -0
- package/vscode/src/vs/base/common/observableInternal/utils.d.ts +2 -2
- package/vscode/src/vs/base/common/observableInternal/utils.js +17 -14
- package/vscode/src/vs/base/common/path.js +62 -16
- package/vscode/src/vs/base/common/product.d.ts +0 -2
- package/vscode/src/vs/base/common/strings.js +5 -4
- package/vscode/src/vs/base/common/ternarySearchTree.js +18 -9
- package/vscode/src/vs/base/common/types.d.ts +6 -0
- package/vscode/src/vs/base/common/types.js +4 -1
- package/vscode/src/vs/base/common/uuid.js +38 -1
- package/vscode/src/vs/editor/browser/controller/editContext/native/editContextFactory.d.ts +0 -1
- package/vscode/src/vs/editor/browser/controller/editContext/native/editContextFactory.js +0 -4
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.js +1 -1
- package/vscode/src/vs/editor/browser/coreCommands.js +1 -1
- package/vscode/src/vs/editor/browser/editorExtensions.js +3 -3
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.js +4 -7
- package/vscode/src/vs/editor/browser/observableCodeEditor.d.ts +11 -1
- package/vscode/src/vs/editor/browser/observableCodeEditor.js +38 -7
- package/vscode/src/vs/editor/browser/point.d.ts +1 -0
- package/vscode/src/vs/editor/browser/point.js +3 -0
- package/vscode/src/vs/editor/browser/rect.d.ts +15 -6
- package/vscode/src/vs/editor/browser/rect.js +41 -10
- package/vscode/src/vs/editor/browser/services/abstractCodeEditorService.d.ts +3 -2
- package/vscode/src/vs/editor/browser/services/abstractCodeEditorService.js +15 -15
- package/vscode/src/vs/editor/browser/services/bulkEditService.d.ts +2 -8
- package/vscode/src/vs/editor/browser/services/bulkEditService.js +1 -3
- package/vscode/src/vs/editor/browser/services/bulkEditService.service.d.ts +10 -0
- package/vscode/src/vs/editor/browser/services/bulkEditService.service.js +6 -0
- package/vscode/src/vs/editor/browser/services/codeEditorService.d.ts +1 -43
- package/vscode/src/vs/editor/browser/services/codeEditorService.service.d.ts +45 -0
- package/vscode/src/vs/editor/browser/services/editorWorkerService.d.ts +6 -5
- package/vscode/src/vs/editor/browser/services/editorWorkerService.js +4 -4
- package/vscode/src/vs/editor/browser/services/hoverService/hover.css.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/hoverService.d.ts +5 -3
- package/vscode/src/vs/editor/browser/services/hoverService/hoverService.js +33 -12
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.d.ts +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +14 -4
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.d.ts +1 -1
- package/vscode/src/vs/editor/browser/services/markerDecorations.d.ts +1 -1
- package/vscode/src/vs/editor/browser/services/markerDecorations.js +1 -1
- package/vscode/src/vs/editor/browser/services/openerService.d.ts +1 -1
- package/vscode/src/vs/editor/browser/services/openerService.js +8 -6
- package/vscode/src/vs/editor/browser/view.js +7 -10
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.js +22 -24
- package/vscode/src/vs/editor/browser/viewParts/rulersGpu/rulersGpu.js +1 -6
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/viewLinesGpu/viewLinesGpu.js +4 -7
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.d.ts +3 -3
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +8 -3
- package/vscode/src/vs/editor/browser/widget/codeEditor/embeddedCodeEditorWidget.d.ts +3 -3
- package/vscode/src/vs/editor/browser/widget/codeEditor/embeddedCodeEditorWidget.js +3 -3
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +13 -9
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorDecorations.js +2 -6
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +4 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorSash.js +2 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +5 -6
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.js +4 -8
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.d.ts +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +9 -9
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.d.ts +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +6 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.d.ts +2 -6
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.js +4 -6
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.service.d.ts +7 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.service.js +6 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/embeddedDiffEditorWidget.d.ts +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/embeddedDiffEditorWidget.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.js +8 -10
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +4 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +5 -6
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +4 -6
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +3 -6
- package/vscode/src/vs/editor/browser/widget/diffEditor/style.css.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils/editorGutter.js +4 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils.js +3 -6
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.d.ts +4 -4
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.js +4 -3
- package/vscode/src/vs/editor/common/commands/shiftCommand.d.ts +1 -1
- package/vscode/src/vs/editor/common/commands/shiftCommand.js +1 -1
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +43 -37
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +5 -1
- package/vscode/src/vs/editor/common/config/editorOptions.js +426 -385
- package/vscode/src/vs/editor/common/config/fontInfo.d.ts +2 -0
- package/vscode/src/vs/editor/common/config/fontInfo.js +1 -1
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/core/offsetEdit.d.ts +3 -0
- package/vscode/src/vs/editor/common/core/offsetEdit.js +63 -1
- package/vscode/src/vs/editor/common/core/range.d.ts +1 -0
- package/vscode/src/vs/editor/common/core/range.js +9 -0
- package/vscode/src/vs/editor/common/cursorCommon.d.ts +1 -1
- package/vscode/src/vs/editor/common/editorContextKeys.js +46 -46
- package/vscode/src/vs/editor/common/languages/autoIndent.d.ts +1 -1
- package/vscode/src/vs/editor/common/languages/enterAction.d.ts +1 -1
- package/vscode/src/vs/editor/common/languages/language.d.ts +0 -28
- package/vscode/src/vs/editor/common/languages/language.service.d.ts +31 -0
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.d.ts +2 -8
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.js +4 -6
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.service.d.ts +11 -0
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.service.js +6 -0
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +14 -1
- package/vscode/src/vs/editor/common/languages/supports/indentationLineProcessor.d.ts +1 -1
- package/vscode/src/vs/editor/common/languages/textToHtmlTokenizer.d.ts +1 -1
- package/vscode/src/vs/editor/common/languages.d.ts +20 -3
- package/vscode/src/vs/editor/common/languages.js +31 -27
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsImpl.d.ts +2 -1
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/fixBrackets.d.ts +1 -1
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/model/guidesTextModelPart.d.ts +1 -1
- package/vscode/src/vs/editor/common/model/textModel.d.ts +4 -2
- package/vscode/src/vs/editor/common/model/textModel.js +14 -11
- package/vscode/src/vs/editor/common/model/textModelOffsetEdit.d.ts +10 -0
- package/vscode/src/vs/editor/common/model/textModelOffsetEdit.js +39 -0
- package/vscode/src/vs/editor/common/model/textModelTokens.d.ts +4 -0
- package/vscode/src/vs/editor/common/model/textModelTokens.js +23 -19
- package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.d.ts +3 -2
- package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.js +5 -2
- package/vscode/src/vs/editor/common/model/tokens.d.ts +3 -3
- package/vscode/src/vs/editor/common/model/tokens.js +0 -4
- package/vscode/src/vs/editor/common/model/treeSitterTokenStoreService.service.d.ts +21 -0
- package/vscode/src/vs/editor/common/model/treeSitterTokenStoreService.service.js +6 -0
- package/vscode/src/vs/editor/common/model/treeSitterTokens.d.ts +7 -1
- package/vscode/src/vs/editor/common/model/treeSitterTokens.js +14 -1
- package/vscode/src/vs/editor/common/services/editorWorker.d.ts +0 -25
- package/vscode/src/vs/editor/common/services/editorWorker.service.d.ts +27 -0
- package/vscode/src/vs/editor/common/services/findSectionHeaders.d.ts +2 -0
- package/vscode/src/vs/editor/common/services/findSectionHeaders.js +43 -20
- package/vscode/src/vs/editor/common/services/getIconClasses.d.ts +2 -2
- package/vscode/src/vs/editor/common/services/languageFeatureDebounce.d.ts +1 -9
- package/vscode/src/vs/editor/common/services/languageFeatureDebounce.js +3 -5
- package/vscode/src/vs/editor/common/services/languageFeatureDebounce.service.d.ts +11 -0
- package/vscode/src/vs/editor/common/services/languageFeatureDebounce.service.js +6 -0
- package/vscode/src/vs/editor/common/services/{languageFeatures.d.ts → languageFeatures.service.d.ts} +1 -1
- package/vscode/src/vs/editor/common/services/languageFeaturesService.d.ts +1 -1
- package/vscode/src/vs/editor/common/services/languageFeaturesService.js +2 -3
- package/vscode/src/vs/editor/common/services/languageService.d.ts +2 -1
- package/vscode/src/vs/editor/common/services/languageService.js +1 -4
- package/vscode/src/vs/editor/common/services/markerDecorationsService.d.ts +2 -2
- package/vscode/src/vs/editor/common/services/markerDecorationsService.js +1 -1
- package/vscode/src/vs/editor/common/services/model.d.ts +0 -20
- package/vscode/src/vs/editor/common/services/model.service.d.ts +20 -0
- package/vscode/src/vs/editor/common/services/modelService.d.ts +2 -2
- package/vscode/src/vs/editor/common/services/modelService.js +1 -1
- package/vscode/src/vs/editor/common/services/resolverService.service.d.ts +10 -0
- package/vscode/src/vs/editor/common/services/resolverService.service.js +6 -0
- package/vscode/src/vs/editor/common/services/semanticTokensProviderStyling.d.ts +1 -1
- package/vscode/src/vs/editor/common/services/semanticTokensProviderStyling.js +1 -1
- package/vscode/src/vs/editor/common/services/semanticTokensStyling.d.ts +0 -6
- package/vscode/src/vs/editor/common/services/semanticTokensStyling.service.d.ts +7 -0
- package/vscode/src/vs/editor/common/services/semanticTokensStylingService.d.ts +2 -2
- package/vscode/src/vs/editor/common/services/semanticTokensStylingService.js +3 -4
- package/vscode/src/vs/editor/common/services/textModelSync/textModelSync.impl.d.ts +1 -1
- package/vscode/src/vs/editor/common/services/textResourceConfiguration.d.ts +0 -17
- package/vscode/src/vs/editor/common/services/textResourceConfiguration.service.d.ts +19 -0
- package/vscode/src/vs/editor/common/services/treeSitterParserService.service.d.ts +27 -0
- package/vscode/src/vs/editor/common/services/{treeSitterParserService.js → treeSitterParserService.service.js} +2 -2
- package/vscode/src/vs/editor/common/services/treeViewsDndService.service.js +6 -0
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +2 -1
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +1 -0
- package/vscode/src/vs/editor/common/standaloneStrings.d.ts +6 -0
- package/vscode/src/vs/editor/common/standaloneStrings.js +72 -43
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.d.ts +1 -1
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.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 +20 -20
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +15 -11
- 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.d.ts +7 -9
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +18 -22
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.d.ts +6 -7
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.js +15 -16
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/codelens/browser/codeLensCache.d.ts +1 -7
- package/vscode/src/vs/editor/contrib/codelens/browser/codeLensCache.js +4 -6
- package/vscode/src/vs/editor/contrib/codelens/browser/codeLensCache.service.d.ts +9 -0
- package/vscode/src/vs/editor/contrib/codelens/browser/codeLensCache.service.js +6 -0
- package/vscode/src/vs/editor/contrib/codelens/browser/codelens.js +2 -2
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.d.ts +3 -3
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +6 -5
- package/vscode/src/vs/editor/contrib/colorPicker/browser/color.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +3 -3
- package/vscode/src/vs/editor/contrib/colorPicker/browser/defaultDocumentColorProvider.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/defaultDocumentColorProvider.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerWidget.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/comment/browser/blockCommentCommand.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +7 -7
- package/vscode/src/vs/editor/contrib/comment/browser/lineCommentCommand.d.ts +1 -1
- 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/diffEditorBreadcrumbs/browser/contribution.js +8 -9
- package/vscode/src/vs/editor/contrib/documentSymbols/browser/documentSymbols.js +2 -2
- package/vscode/src/vs/editor/contrib/documentSymbols/browser/outlineModel.d.ts +4 -10
- package/vscode/src/vs/editor/contrib/documentSymbols/browser/outlineModel.js +6 -8
- package/vscode/src/vs/editor/contrib/documentSymbols/browser/outlineModel.service.d.ts +10 -0
- package/vscode/src/vs/editor/contrib/documentSymbols/browser/outlineModel.service.js +6 -0
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +25 -33
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +9 -9
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +5 -5
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +18 -7
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.d.ts +7 -0
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +6 -7
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.service.d.ts +8 -0
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.service.js +6 -0
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +27 -27
- package/vscode/src/vs/editor/contrib/folding/browser/folding.d.ts +3 -3
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +24 -24
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/folding/browser/indentRangeProvider.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/format/browser/format.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/format/browser/format.js +3 -3
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +5 -5
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +10 -10
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +18 -15
- package/vscode/src/vs/editor/contrib/gotoError/browser/markerNavigationService.d.ts +9 -5
- package/vscode/src/vs/editor/contrib/gotoError/browser/markerNavigationService.js +3 -5
- package/vscode/src/vs/editor/contrib/gotoError/browser/markerNavigationService.service.d.ts +9 -0
- package/vscode/src/vs/editor/contrib/gotoError/browser/markerNavigationService.service.js +6 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +42 -42
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToSymbol.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.d.ts +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +4 -4
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +4 -4
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +4 -4
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.d.ts +6 -4
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +54 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.d.ts +2 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.d.ts +17 -2
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +7 -9
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.service.d.ts +9 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.service.js +6 -0
- package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.js +8 -1
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +3 -3
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.js +14 -13
- package/vscode/src/vs/editor/contrib/hover/browser/getHover.js +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/glyphHoverController.d.ts +1 -2
- package/vscode/src/vs/editor/contrib/hover/browser/glyphHoverController.js +7 -10
- package/vscode/src/vs/editor/contrib/hover/browser/glyphHoverWidget.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/glyphHoverWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/hover.css.js +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +3 -3
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
- package/vscode/src/vs/editor/contrib/hover/browser/hoverTypes.d.ts +2 -1
- package/vscode/src/vs/editor/contrib/hover/browser/hoverTypes.js +3 -1
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +12 -12
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.d.ts +3 -3
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +12 -11
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +3 -3
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +22 -22
- package/vscode/src/vs/editor/contrib/indentation/common/indentation.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.d.ts +4 -7
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.js +7 -8
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.service.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.service.js +6 -0
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.d.ts +3 -3
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +11 -11
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsLocations.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commandIds.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commandIds.js +4 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.d.ts +9 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +57 -31
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +11 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +17 -17
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +20 -12
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.css.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.d.ts +7 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +52 -19
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletions.contribution.js +3 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/animation.d.ts +25 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/animation.js +84 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/changeRecorder.js +2 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/ghostText.d.ts +9 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/ghostText.js +11 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.d.ts +19 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +163 -49
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +16 -22
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +265 -215
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEdit.d.ts +1 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEdit.js +1 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEditsAdapter.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEditsAdapter.js +5 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +3 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +9 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.js +1 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.js +7 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.css.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.d.ts +30 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +139 -48
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineCompletionsView.js +12 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.d.ts +19 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +196 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.d.ts +30 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{gutterIndicatorView.js → components/gutterIndicatorView.js} +62 -99
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{indicatorView.d.ts → components/indicatorView.d.ts} +5 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{indicatorView.js → components/indicatorView.js} +24 -26
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.d.ts +18 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.js +26 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{view.d.ts → inlineEditsView.d.ts} +18 -12
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{view.js → inlineEditsView.js} +147 -96
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewInterface.d.ts +17 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{deletionView.d.ts → inlineEditsViews/inlineEditsDeletionView.d.ts} +12 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{deletionView.js → inlineEditsViews/inlineEditsDeletionView.js} +20 -14
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsInsertionView.d.ts +37 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{insertionView.js → inlineEditsViews/inlineEditsInsertionView.js} +92 -51
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.d.ts +34 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.js +326 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsSideBySideView.d.ts +58 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{sideBySideDiff.js → inlineEditsViews/inlineEditsSideBySideView.js} +90 -196
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.d.ts +32 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.js +274 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{inlineDiffView.d.ts → inlineEditsViews/originalEditorInlineDiffView.d.ts} +10 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{inlineDiffView.js → inlineEditsViews/originalEditorInlineDiffView.js} +35 -20
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.d.ts +18 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +96 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.d.ts +81 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.js +228 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.css.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/viewAndDiffProducer.d.ts +0 -19
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/viewAndDiffProducer.js +8 -35
- package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.d.ts +7 -0
- package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +29 -0
- package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLineCommand.d.ts +12 -0
- package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLineCommand.js +32 -0
- 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/linesOperations/browser/moveLinesCommand.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/moveLinesCommand.js +1 -1
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.d.ts +3 -3
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +6 -6
- package/vscode/src/vs/editor/contrib/links/browser/getLinks.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.js +12 -12
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +23 -23
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +2 -2
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.d.ts +2 -4
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +7 -18
- package/vscode/src/vs/editor/contrib/parameterHints/browser/provideSignatureHelp.js +2 -2
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.d.ts +3 -2
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +28 -24
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.service.d.ts +7 -0
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.service.js +6 -0
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderTextContribution.js +4 -5
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +15 -15
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +7 -7
- package/vscode/src/vs/editor/contrib/sectionHeaders/browser/sectionHeaders.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/sectionHeaders/browser/sectionHeaders.js +3 -2
- package/vscode/src/vs/editor/contrib/semanticTokens/browser/documentSemanticTokens.d.ts +4 -4
- package/vscode/src/vs/editor/contrib/semanticTokens/browser/documentSemanticTokens.js +4 -4
- package/vscode/src/vs/editor/contrib/semanticTokens/browser/viewportSemanticTokens.d.ts +3 -3
- package/vscode/src/vs/editor/contrib/semanticTokens/browser/viewportSemanticTokens.js +3 -3
- package/vscode/src/vs/editor/contrib/semanticTokens/common/getSemanticTokens.js +2 -2
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +6 -6
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.d.ts +2 -1
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.js +3 -3
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +5 -5
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScroll.css.js +1 -1
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.d.ts +3 -3
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +3 -3
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.js +2 -2
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js +2 -2
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +3 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +10 -10
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +11 -11
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestInlineCompletions.d.ts +5 -4
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestInlineCompletions.js +6 -4
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestMemory.d.ts +1 -6
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestMemory.js +3 -5
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestMemory.service.d.ts +9 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestMemory.service.js +6 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestModel.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestModel.js +2 -2
- 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.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +4 -4
- package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/wordDistance.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +37 -35
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +26 -26
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +6 -6
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/textualHighlightProvider.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/textualHighlightProvider.js +1 -1
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.d.ts +4 -4
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +16 -16
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +2 -2
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.d.ts +2 -1
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +4 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.d.ts +6 -6
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.js +7 -7
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditorService.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneLayoutService.d.ts +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneLayoutService.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.d.ts +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +24 -19
- package/vscode/src/vs/editor/standalone/browser/standaloneThemeService.d.ts +4 -3
- package/vscode/src/vs/editor/standalone/browser/standaloneThemeService.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterService.d.ts +5 -2
- package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterService.js +6 -0
- package/vscode/src/vs/editor/standalone/common/standaloneTheme.d.ts +0 -11
- package/vscode/src/vs/editor/standalone/common/standaloneTheme.service.d.ts +12 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +1 -1
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.d.ts +2 -0
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -57
- 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.d.ts +19 -3
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +12 -13
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.service.d.ts +10 -0
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.service.js +6 -0
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.d.ts +1 -1
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +14 -18
- package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
- package/vscode/src/vs/platform/actions/common/actions.d.ts +5 -1
- package/vscode/src/vs/platform/actions/common/actions.js +5 -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/configuration/common/configurationRegistry.js +10 -10
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
- package/vscode/src/vs/platform/contextview/browser/contextMenuHandler.js +1 -1
- package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +1 -1
- package/vscode/src/vs/platform/dnd/browser/dnd.d.ts +8 -1
- package/vscode/src/vs/platform/dnd/browser/dnd.js +20 -7
- package/vscode/src/vs/platform/environment/common/argv.d.ts +2 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +7 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +2 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.js +2 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.d.ts +6 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +20 -17
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.service.d.ts +2 -3
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +8 -5
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +10 -7
- 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/files/common/files.service.d.ts +3 -1
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +2 -2
- package/vscode/src/vs/platform/hover/browser/hover.d.ts +8 -4
- package/vscode/src/vs/platform/hover/browser/hover.js +8 -5
- package/vscode/src/vs/platform/hover/browser/hover.service.d.ts +1 -1
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/label/common/label.service.d.ts +1 -1
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.service.d.ts +1 -1
- package/vscode/src/vs/platform/list/browser/listService.js +27 -27
- package/vscode/src/vs/platform/log/common/log.js +6 -6
- package/vscode/src/vs/platform/markers/common/markers.d.ts +1 -0
- package/vscode/src/vs/platform/markers/common/markers.js +11 -3
- package/vscode/src/vs/platform/observable/common/platformObservableUtils.js +2 -6
- package/vscode/src/vs/platform/observable/common/wrapInHotClass.js +1 -7
- package/vscode/src/vs/platform/observable/common/wrapInReloadableClass.js +1 -7
- package/vscode/src/vs/platform/opener/common/opener.d.ts +1 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +11 -11
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +11 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputBox.d.ts +2 -4
- package/vscode/src/vs/platform/quickinput/browser/quickInputBox.js +8 -9
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.d.ts +1 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +19 -21
- package/vscode/src/vs/platform/quickinput/browser/quickInputService.d.ts +1 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputService.js +5 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +8 -9
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +1 -1
- package/vscode/src/vs/platform/quickinput/common/quickInput.service.d.ts +1 -0
- package/vscode/src/vs/platform/remote/common/remoteExtensionsScanner.service.d.ts +2 -1
- package/vscode/src/vs/platform/request/common/request.js +18 -18
- package/vscode/src/vs/platform/severityIcon/browser/media/severityIcon.css.js +1 -1
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.d.ts +0 -1
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +2 -3
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +13 -1
- package/vscode/src/vs/platform/terminal/common/terminal.js +2 -1
- package/vscode/src/vs/platform/terminal/common/terminalProcess.d.ts +2 -1
- package/vscode/src/vs/platform/theme/browser/defaultStyles.d.ts +1 -1
- package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +19 -19
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +94 -94
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +45 -45
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +37 -37
- 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/theme/common/themeService.d.ts +3 -0
- package/vscode/src/vs/platform/theme/common/themeService.js +1 -1
- package/vscode/src/vs/platform/theme/common/themeService.service.d.ts +2 -2
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +22 -23
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.d.ts +2 -0
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +5 -1
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.d.ts +1 -0
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +7 -6
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.service.d.ts +2 -2
- package/vscode/src/vs/platform/window/common/window.d.ts +9 -8
- package/vscode/src/vs/platform/window/common/window.js +6 -11
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/platform/workspaces/common/workspaces.service.d.ts +2 -2
- package/vscode/src/vs/workbench/api/browser/statusBarService.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +30 -30
- package/vscode/src/vs/workbench/api/common/extHost.common.services.js +0 -2
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +91 -34
- package/vscode/src/vs/workbench/api/common/extHost.protocol.js +1 -10
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +4 -1
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +21 -22
- package/vscode/src/vs/workbench/api/common/extHostCodeMapper.js +10 -2
- package/vscode/src/vs/workbench/api/common/extHostCustomEditors.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDocumentData.d.ts +3 -1
- package/vscode/src/vs/workbench/api/common/extHostDocumentData.js +7 -1
- package/vscode/src/vs/workbench/api/common/extHostDocuments.d.ts +5 -1
- package/vscode/src/vs/workbench/api/common/extHostDocuments.js +26 -3
- package/vscode/src/vs/workbench/api/common/extHostDocumentsAndEditors.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostFileSystemEventService.d.ts +0 -2
- package/vscode/src/vs/workbench/api/common/extHostFileSystemEventService.js +2 -6
- package/vscode/src/vs/workbench/api/common/extHostInteractive.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostLabelService.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.d.ts +3 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +89 -35
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.d.ts +2 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +42 -22
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +23 -23
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostNotebookDocument.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +9 -0
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.d.ts +1 -5
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +7 -24
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.js +19 -6
- package/vscode/src/vs/workbench/api/common/extHostTextEditor.js +3 -0
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +37 -16
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +147 -41
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +46 -15
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +41 -12
- package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.d.ts +6 -0
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +9 -1
- package/vscode/src/vs/workbench/api/common/extensionHostMain.js +0 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/api/worker/extHost.worker.services.js +3 -0
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
- package/vscode/src/vs/workbench/browser/actions/textInputActions.d.ts +2 -1
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +31 -37
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.service.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editor.d.ts +2 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editor.js +37 -2
- package/vscode/src/vs/workbench/common/configuration.js +10 -10
- package/vscode/src/vs/workbench/common/contextkeys.d.ts +2 -2
- package/vscode/src/vs/workbench/common/contextkeys.js +72 -78
- package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +1 -1
- package/vscode/src/vs/workbench/common/editor/editorOptions.d.ts +3 -0
- package/vscode/src/vs/workbench/common/editor/editorOptions.js +52 -0
- package/vscode/src/vs/workbench/common/editor.d.ts +2 -2
- package/vscode/src/vs/workbench/common/editor.js +4 -4
- package/vscode/src/vs/workbench/common/theme.d.ts +18 -16
- package/vscode/src/vs/workbench/common/theme.js +239 -231
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.d.ts +1 -3
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +165 -145
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +13 -13
- package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +20 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatContentParts.d.ts +6 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownAnchorService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.d.ts +28 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +136 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.d.ts +2 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +2 -5
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +36 -31
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +48 -18
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +7 -9
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.service.d.ts +7 -10
- package/vscode/src/vs/workbench/contrib/chat/common/chatEntitlementsService.service.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatEntitlementsService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/{browser → common}/chatQuotasService.service.d.ts +3 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +37 -14
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +7 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +5 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.d.ts +8 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.service.d.ts +4 -11
- package/vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +7 -1
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contentProviders/types.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/types.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/types.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/types.service.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/types.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.js +35 -18
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +14 -14
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +7 -10
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/editorFeatures.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +9 -18
- 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.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/workbenchReferenceSearch.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/workbenchReferenceSearch.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.js +3 -3
- 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.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +64 -64
- package/vscode/src/vs/workbench/contrib/debug/common/debugUtils.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/files.service.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +22 -22
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +5 -5
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +3 -3
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service.d.ts +6 -4
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +9 -5
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +1 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookSynchronizerService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +5 -5
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +11 -11
- package/vscode/src/vs/workbench/contrib/snippets/browser/tabCompletion.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/tabCompletion.js +1 -1
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.service.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +5 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/browser/terminalCompletionService.service.d.ts +4 -2
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
- package/vscode/src/vs/workbench/services/editor/browser/codeEditorService.d.ts +13 -0
- package/vscode/src/vs/workbench/services/editor/browser/codeEditorService.js +87 -0
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +2 -1
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/environment/common/environmentService.service.d.ts +0 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.d.ts +1 -4
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/extensionRecommendations.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostProtocol.d.ts +0 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +83 -83
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/localization/common/locale.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
- package/vscode/src/vs/workbench/services/outline/browser/outline.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/preferences/common/preferences.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.d.ts +6 -3
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.js +1 -1
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.service.d.ts +8 -7
- 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 +12 -11
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyEditorService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceEditing.service.d.ts +1 -1
- package/vscode-dts/vscode.d.ts +52 -13
- package/vscode-dts/vscode.proposed.authLearnMore.d.ts +1 -1
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +40 -27
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +54 -6
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +1 -0
- package/vscode-dts/vscode.proposed.chatReferenceBinaryData.d.ts +2 -2
- package/vscode-dts/vscode.proposed.chatReferenceDiagnostic.d.ts +23 -0
- package/vscode-dts/vscode.proposed.d.ts +3 -2
- package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +38 -1
- package/vscode-dts/vscode.proposed.inlineEdit.d.ts +2 -0
- package/vscode-dts/vscode.proposed.languageModelCapabilities.d.ts +25 -0
- package/vscode-dts/vscode.proposed.mappedEditsProvider.d.ts +1 -0
- package/vscode-dts/vscode.proposed.resolvers.d.ts +1 -1
- package/vscode-dts/vscode.proposed.terminalCompletionProvider.d.ts +18 -10
- package/vscode-dts/vscode.proposed.terminalShellEnv.d.ts +19 -1
- package/vscode-dts/vscode.proposed.textDocumentEncoding.d.ts +155 -0
- package/vscode-dts/vscode.proposed.textEditorDiffInformation.d.ts +7 -8
- package/vscode-dts/vscode.proposed.tunnelFactory.d.ts +1 -1
- package/workbench.d.ts +1 -1
- package/vscode/src/vs/base/browser/domObservable.d.ts +0 -3
- package/vscode/src/vs/base/browser/domObservable.js +0 -20
- package/vscode/src/vs/base/browser/ui/hover/hover.d.ts +0 -79
- package/vscode/src/vs/base/common/observableInternal/logging.d.ts +0 -54
- package/vscode/src/vs/editor/common/model/tokenStore.d.ts +0 -59
- package/vscode/src/vs/editor/common/model/tokenStore.js +0 -384
- package/vscode/src/vs/editor/common/model/treeSitterTokenStoreService.d.ts +0 -44
- package/vscode/src/vs/editor/common/model/treeSitterTokenStoreService.js +0 -114
- package/vscode/src/vs/editor/common/services/resolverService.d.ts +0 -29
- package/vscode/src/vs/editor/common/services/resolverService.js +0 -10
- package/vscode/src/vs/editor/common/services/treeSitterParserService.d.ts +0 -42
- package/vscode/src/vs/editor/common/services/treeViewsDndService.js +0 -9
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/gutterIndicatorMenu.d.ts +0 -19
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/gutterIndicatorMenu.js +0 -143
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/gutterIndicatorView.d.ts +0 -37
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/insertionView.d.ts +0 -32
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/sideBySideDiff.d.ts +0 -71
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils.d.ts +0 -151
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils.js +0 -476
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/wordReplacementView.d.ts +0 -58
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/wordReplacementView.js +0 -520
- package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.d.ts +0 -39
- package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.js +0 -145
- package/vscode/src/vs/workbench/api/common/extHostChatVariables.d.ts +0 -14
- package/vscode/src/vs/workbench/api/common/extHostChatVariables.js +0 -106
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.d.ts +0 -12
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.js +0 -247
- package/vscode/src/vs/workbench/common/activity.d.ts +0 -2
- package/vscode/src/vs/workbench/common/activity.js +0 -6
- package/vscode/src/vs/workbench/common/editor/resourceEditorInput.d.ts +0 -44
- package/vscode/src/vs/workbench/common/editor/resourceEditorInput.js +0 -166
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.d.ts +0 -28
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +0 -540
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClear.d.ts +0 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClear.js +0 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.d.ts +0 -136
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +0 -51
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditing.d.ts +0 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditing.js +0 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorActions.d.ts +0 -23
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorActions.js +0 -309
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorController.d.ts +0 -81
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorController.js +0 -681
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.d.ts +0 -57
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +0 -169
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorOverlay.d.ts +0 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorOverlay.js +0 -296
- package/vscode/src/vs/workbench/contrib/chat/browser/chatQuotasService.d.ts +0 -41
- package/vscode/src/vs/workbench/contrib/chat/browser/chatQuotasService.js +0 -198
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/screenshot.d.ts +0 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/screenshot.js +0 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chatEditorController.css.js +0 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chatEditorOverlay.css.js +0 -6
- package/vscode/src/vs/workbench/contrib/chat/common/annotations.d.ts +0 -20
- package/vscode/src/vs/workbench/contrib/chat/common/annotations.js +0 -134
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.d.ts +0 -444
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +0 -991
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.d.ts +0 -112
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +0 -181
- package/vscode/src/vs/workbench/contrib/chat/common/chatParticipantContribTypes.d.ts +0 -35
- package/vscode/src/vs/workbench/contrib/chat/common/chatParticipantContribTypes.js +0 -5
- package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.d.ts +0 -234
- package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.js +0 -375
- package/vscode/src/vs/workbench/contrib/chat/common/chatWordCounter.d.ts +0 -8
- package/vscode/src/vs/workbench/contrib/chat/common/chatWordCounter.js +0 -38
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.d.ts +0 -12
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.js +0 -42
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.d.ts +0 -167
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +0 -85
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookChatEditContext.d.ts +0 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookChatEditContext.js +0 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookBrowser.d.ts +0 -602
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookBrowser.js +0 -143
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.d.ts +0 -60
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +0 -316
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookRange.d.ts +0 -13
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookRange.js +0 -73
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.d.ts +0 -36
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.js +0 -11
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.d.ts +0 -51
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.js +0 -95
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +0 -63
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +0 -164
- package/vscode-dts/vscode.proposed.chatVariableResolver.d.ts +0 -110
- package/vscode-dts/vscode.proposed.createFileSystemWatcher.d.ts +0 -51
- package/vscode/src/vs/editor/browser/services/{codeEditorService.js → codeEditorService.service.js} +0 -0
- package/vscode/src/vs/editor/common/languages/{language.js → language.service.js} +0 -0
- package/vscode/src/vs/editor/common/services/{editorWorker.js → editorWorker.service.js} +0 -0
- package/vscode/src/vs/editor/common/services/{languageFeatures.js → languageFeatures.service.js} +0 -0
- package/vscode/src/vs/editor/common/services/{markerDecorations.d.ts → markerDecorations.service.d.ts} +4 -4
- /package/vscode/src/vs/editor/common/services/{markerDecorations.js → markerDecorations.service.js} +0 -0
- /package/vscode/src/vs/editor/common/services/{model.js → model.service.js} +0 -0
- /package/vscode/src/vs/editor/common/services/{semanticTokensStyling.js → semanticTokensStyling.service.js} +0 -0
- /package/vscode/src/vs/editor/common/services/{textResourceConfiguration.js → textResourceConfiguration.service.js} +0 -0
- /package/vscode/src/vs/editor/common/services/{treeViewsDndService.d.ts → treeViewsDndService.service.d.ts} +0 -0
- /package/vscode/src/vs/editor/standalone/common/{standaloneTheme.js → standaloneTheme.service.js} +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/{browser → common}/chatQuotasService.service.js +0 -0
|
@@ -42,7 +42,7 @@ import { quickInputListFocusBackground, quickInputListFocusForeground } from '..
|
|
|
42
42
|
import '../../../../platform/theme/common/colors/searchColors.js';
|
|
43
43
|
import { IThemeService } from '../../../../platform/theme/common/themeService.service.js';
|
|
44
44
|
|
|
45
|
-
const CONTEXT_RENAME_INPUT_VISIBLE = ( new RawContextKey('renameInputVisible', false, ( localize(
|
|
45
|
+
const CONTEXT_RENAME_INPUT_VISIBLE = ( new RawContextKey('renameInputVisible', false, ( localize(1412, "Whether the rename input widget is visible"))));
|
|
46
46
|
let RenameWidget = class RenameWidget {
|
|
47
47
|
constructor(_editor, _acceptKeybindings, _themeService, _keybindingService, contextKeyService, _logService) {
|
|
48
48
|
this._editor = _editor;
|
|
@@ -66,7 +66,7 @@ let RenameWidget = class RenameWidget {
|
|
|
66
66
|
this._updateFont();
|
|
67
67
|
}
|
|
68
68
|
}));
|
|
69
|
-
this._disposables.add(_themeService.onDidColorThemeChange(this._updateStyles
|
|
69
|
+
this._disposables.add(_themeService.onDidColorThemeChange(e => this._updateStyles(e.theme)));
|
|
70
70
|
}
|
|
71
71
|
dispose() {
|
|
72
72
|
this._disposables.dispose();
|
|
@@ -165,7 +165,7 @@ let RenameWidget = class RenameWidget {
|
|
|
165
165
|
beforeRender() {
|
|
166
166
|
const [accept, preview] = this._acceptKeybindings;
|
|
167
167
|
this._label.innerText = ( localize(
|
|
168
|
-
|
|
168
|
+
1413,
|
|
169
169
|
"{0} to Rename, {1} to Preview",
|
|
170
170
|
this._keybindingService.lookupKeybinding(accept)?.getLabel(),
|
|
171
171
|
this._keybindingService.lookupKeybinding(preview)?.getLabel()
|
|
@@ -461,7 +461,7 @@ class RenameCandidateListView {
|
|
|
461
461
|
this._listWidget.layout(height, width);
|
|
462
462
|
this._listContainer.style.height = `${height}px`;
|
|
463
463
|
this._listContainer.style.width = `${width}px`;
|
|
464
|
-
status(( localize(
|
|
464
|
+
status(( localize(1414, "Received {0} rename suggestions", candidates.length)));
|
|
465
465
|
}
|
|
466
466
|
clearCandidates() {
|
|
467
467
|
this._listContainer.style.height = '0px';
|
|
@@ -600,13 +600,13 @@ class InputWithButton {
|
|
|
600
600
|
this._inputNode.className = 'rename-input';
|
|
601
601
|
this._inputNode.type = 'text';
|
|
602
602
|
this._inputNode.style.border = 'none';
|
|
603
|
-
this._inputNode.setAttribute('aria-label', ( localize(
|
|
603
|
+
this._inputNode.setAttribute('aria-label', ( localize(1415, "Rename input. Type new name and press Enter to commit.")));
|
|
604
604
|
this._domNode.appendChild(this._inputNode);
|
|
605
605
|
this._buttonNode = document.createElement('div');
|
|
606
606
|
this._buttonNode.className = 'rename-suggestions-button';
|
|
607
607
|
this._buttonNode.setAttribute('tabindex', '0');
|
|
608
|
-
this._buttonGenHoverText = ( localize(
|
|
609
|
-
this._buttonCancelHoverText = ( localize(
|
|
608
|
+
this._buttonGenHoverText = ( localize(1416, "Generate new name suggestions"));
|
|
609
|
+
this._buttonCancelHoverText = ( localize(1417, "Cancel"));
|
|
610
610
|
this._buttonHoverContent = this._buttonGenHoverText;
|
|
611
611
|
this._disposables.add(getBaseLayerHoverDelegate().setupDelayedHover(this._buttonNode, () => ({
|
|
612
612
|
content: this._buttonHoverContent,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Disposable } from "../../../../base/common/lifecycle.js";
|
|
2
2
|
import { ICodeEditor } from "../../../browser/editorBrowser.js";
|
|
3
3
|
import { IEditorContribution } from "../../../common/editorCommon.js";
|
|
4
|
-
import { ILanguageConfigurationService } from "../../../common/languages/languageConfigurationRegistry.js";
|
|
5
|
-
import { IEditorWorkerService } from "../../../common/services/editorWorker.js";
|
|
4
|
+
import { ILanguageConfigurationService } from "../../../common/languages/languageConfigurationRegistry.service.js";
|
|
5
|
+
import { IEditorWorkerService } from "../../../common/services/editorWorker.service.js";
|
|
6
6
|
export declare class SectionHeaderDetector extends Disposable implements IEditorContribution {
|
|
7
7
|
private readonly editor;
|
|
8
8
|
private readonly languageConfigurationService;
|
|
@@ -5,10 +5,10 @@ import { Disposable } from '../../../../base/common/lifecycle.js';
|
|
|
5
5
|
import { registerEditorContribution, EditorContributionInstantiation } from '../../../browser/editorExtensions.js';
|
|
6
6
|
import { EditorOption } from '../../../common/config/editorOptions.js';
|
|
7
7
|
import { StandardTokenType } from '../../../common/encodedTokenAttributes.js';
|
|
8
|
-
import { ILanguageConfigurationService } from '../../../common/languages/languageConfigurationRegistry.js';
|
|
8
|
+
import { ILanguageConfigurationService } from '../../../common/languages/languageConfigurationRegistry.service.js';
|
|
9
9
|
import { MinimapSectionHeaderStyle, MinimapPosition, TrackedRangeStickiness } from '../../../common/model.js';
|
|
10
10
|
import { ModelDecorationOptions } from '../../../common/model/textModel.js';
|
|
11
|
-
import { IEditorWorkerService } from '../../../common/services/editorWorker.js';
|
|
11
|
+
import { IEditorWorkerService } from '../../../common/services/editorWorker.service.js';
|
|
12
12
|
|
|
13
13
|
let SectionHeaderDetector = class SectionHeaderDetector extends Disposable {
|
|
14
14
|
static { this.ID = 'editor.sectionHeaderDetector'; }
|
|
@@ -79,6 +79,7 @@ let SectionHeaderDetector = class SectionHeaderDetector extends Disposable {
|
|
|
79
79
|
}
|
|
80
80
|
return {
|
|
81
81
|
foldingRules,
|
|
82
|
+
markSectionHeaderRegex: minimap.markSectionHeaderRegex,
|
|
82
83
|
findMarkSectionHeaders: minimap.showMarkSectionHeaders,
|
|
83
84
|
findRegionSectionHeaders: minimap.showRegionSectionHeaders,
|
|
84
85
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Disposable } from "../../../../base/common/lifecycle.js";
|
|
2
2
|
import { IConfigurationService } from "../../../../platform/configuration/common/configuration.service.js";
|
|
3
3
|
import { IThemeService } from "../../../../platform/theme/common/themeService.service.js";
|
|
4
|
-
import { ILanguageFeatureDebounceService } from "../../../common/services/languageFeatureDebounce.js";
|
|
5
|
-
import { ILanguageFeaturesService } from "../../../common/services/languageFeatures.js";
|
|
6
|
-
import { IModelService } from "../../../common/services/model.js";
|
|
7
|
-
import { ISemanticTokensStylingService } from "../../../common/services/semanticTokensStyling.js";
|
|
4
|
+
import { ILanguageFeatureDebounceService } from "../../../common/services/languageFeatureDebounce.service.js";
|
|
5
|
+
import { ILanguageFeaturesService } from "../../../common/services/languageFeatures.service.js";
|
|
6
|
+
import { IModelService } from "../../../common/services/model.service.js";
|
|
7
|
+
import { ISemanticTokensStylingService } from "../../../common/services/semanticTokensStyling.service.js";
|
|
8
8
|
export declare class DocumentSemanticTokensFeature extends Disposable {
|
|
9
9
|
private readonly _watchers;
|
|
10
10
|
constructor(semanticTokensStylingService: ISemanticTokensStylingService, modelService: IModelService, themeService: IThemeService, configurationService: IConfigurationService, languageFeatureDebounceService: ILanguageFeatureDebounceService, languageFeaturesService: ILanguageFeaturesService);
|
|
@@ -9,11 +9,11 @@ import { StopWatch } from '../../../../base/common/stopwatch.js';
|
|
|
9
9
|
import { IConfigurationService } from '../../../../platform/configuration/common/configuration.service.js';
|
|
10
10
|
import { IThemeService } from '../../../../platform/theme/common/themeService.service.js';
|
|
11
11
|
import { registerEditorFeature } from '../../../common/editorFeatures.js';
|
|
12
|
-
import { ILanguageFeatureDebounceService } from '../../../common/services/languageFeatureDebounce.js';
|
|
13
|
-
import { ILanguageFeaturesService } from '../../../common/services/languageFeatures.js';
|
|
14
|
-
import { IModelService } from '../../../common/services/model.js';
|
|
12
|
+
import { ILanguageFeatureDebounceService } from '../../../common/services/languageFeatureDebounce.service.js';
|
|
13
|
+
import { ILanguageFeaturesService } from '../../../common/services/languageFeatures.service.js';
|
|
14
|
+
import { IModelService } from '../../../common/services/model.service.js';
|
|
15
15
|
import { toMultilineTokens2 } from '../../../common/services/semanticTokensProviderStyling.js';
|
|
16
|
-
import { ISemanticTokensStylingService } from '../../../common/services/semanticTokensStyling.js';
|
|
16
|
+
import { ISemanticTokensStylingService } from '../../../common/services/semanticTokensStyling.service.js';
|
|
17
17
|
import { hasDocumentSemanticTokensProvider, getDocumentSemanticTokens, isSemanticTokensEdits, isSemanticTokens } from '../common/getSemanticTokens.js';
|
|
18
18
|
import { isSemanticColoringEnabled, SEMANTIC_HIGHLIGHTING_SETTING_ID } from '../common/semanticTokensConfig.js';
|
|
19
19
|
|
|
@@ -3,9 +3,9 @@ import { ICodeEditor } from "../../../browser/editorBrowser.js";
|
|
|
3
3
|
import { IEditorContribution } from "../../../common/editorCommon.js";
|
|
4
4
|
import { IConfigurationService } from "../../../../platform/configuration/common/configuration.service.js";
|
|
5
5
|
import { IThemeService } from "../../../../platform/theme/common/themeService.service.js";
|
|
6
|
-
import { ILanguageFeatureDebounceService } from "../../../common/services/languageFeatureDebounce.js";
|
|
7
|
-
import { ILanguageFeaturesService } from "../../../common/services/languageFeatures.js";
|
|
8
|
-
import { ISemanticTokensStylingService } from "../../../common/services/semanticTokensStyling.js";
|
|
6
|
+
import { ILanguageFeatureDebounceService } from "../../../common/services/languageFeatureDebounce.service.js";
|
|
7
|
+
import { ILanguageFeaturesService } from "../../../common/services/languageFeatures.service.js";
|
|
8
|
+
import { ISemanticTokensStylingService } from "../../../common/services/semanticTokensStyling.service.js";
|
|
9
9
|
export declare class ViewportSemanticTokensContribution extends Disposable implements IEditorContribution {
|
|
10
10
|
private readonly _semanticTokensStylingService;
|
|
11
11
|
private readonly _themeService;
|
|
@@ -8,10 +8,10 @@ import { SEMANTIC_HIGHLIGHTING_SETTING_ID, isSemanticColoringEnabled } from '../
|
|
|
8
8
|
import { toMultilineTokens2 } from '../../../common/services/semanticTokensProviderStyling.js';
|
|
9
9
|
import { IConfigurationService } from '../../../../platform/configuration/common/configuration.service.js';
|
|
10
10
|
import { IThemeService } from '../../../../platform/theme/common/themeService.service.js';
|
|
11
|
-
import { ILanguageFeatureDebounceService } from '../../../common/services/languageFeatureDebounce.js';
|
|
11
|
+
import { ILanguageFeatureDebounceService } from '../../../common/services/languageFeatureDebounce.service.js';
|
|
12
12
|
import { StopWatch } from '../../../../base/common/stopwatch.js';
|
|
13
|
-
import { ILanguageFeaturesService } from '../../../common/services/languageFeatures.js';
|
|
14
|
-
import { ISemanticTokensStylingService } from '../../../common/services/semanticTokensStyling.js';
|
|
13
|
+
import { ILanguageFeaturesService } from '../../../common/services/languageFeatures.service.js';
|
|
14
|
+
import { ISemanticTokensStylingService } from '../../../common/services/semanticTokensStyling.service.js';
|
|
15
15
|
|
|
16
16
|
var ViewportSemanticTokensContribution_1;
|
|
17
17
|
let ViewportSemanticTokensContribution = class ViewportSemanticTokensContribution extends Disposable {
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import { CancellationToken } from '../../../../base/common/cancellation.js';
|
|
3
3
|
import { onUnexpectedExternalError } from '../../../../base/common/errors.js';
|
|
4
4
|
import { URI } from '../../../../base/common/uri.js';
|
|
5
|
-
import { IModelService } from '../../../common/services/model.js';
|
|
5
|
+
import { IModelService } from '../../../common/services/model.service.js';
|
|
6
6
|
import { CommandsRegistry } from '../../../../platform/commands/common/commands.js';
|
|
7
7
|
import { ICommandService } from '../../../../platform/commands/common/commands.service.js';
|
|
8
8
|
import { assertType } from '../../../../base/common/types.js';
|
|
9
9
|
import { encodeSemanticTokensDto } from '../../../common/services/semanticTokensDto.js';
|
|
10
10
|
import { Range } from '../../../common/core/range.js';
|
|
11
|
-
import { ILanguageFeaturesService } from '../../../common/services/languageFeatures.js';
|
|
11
|
+
import { ILanguageFeaturesService } from '../../../common/services/languageFeatures.service.js';
|
|
12
12
|
|
|
13
13
|
function isSemanticTokens(v) {
|
|
14
14
|
return v && !!(v.data);
|
|
@@ -5,7 +5,7 @@ import { Range } from "../../../common/core/range.js";
|
|
|
5
5
|
import { IEditorContribution } from "../../../common/editorCommon.js";
|
|
6
6
|
import { ITextModel } from "../../../common/model.js";
|
|
7
7
|
import * as languages from "../../../common/languages.js";
|
|
8
|
-
import { ILanguageFeaturesService } from "../../../common/services/languageFeatures.js";
|
|
8
|
+
import { ILanguageFeaturesService } from "../../../common/services/languageFeatures.service.js";
|
|
9
9
|
import { LanguageFeatureRegistry } from "../../../common/languageFeatureRegistry.js";
|
|
10
10
|
export declare class SmartSelectController implements IEditorContribution {
|
|
11
11
|
private readonly _editor;
|
|
@@ -16,8 +16,8 @@ import { localize, localize2 } from '../../../../nls.js';
|
|
|
16
16
|
import { MenuId } from '../../../../platform/actions/common/actions.js';
|
|
17
17
|
import { CommandsRegistry } from '../../../../platform/commands/common/commands.js';
|
|
18
18
|
import { KeybindingWeight } from '../../../../platform/keybinding/common/keybindingsRegistry.js';
|
|
19
|
-
import { ILanguageFeaturesService } from '../../../common/services/languageFeatures.js';
|
|
20
|
-
import { ITextModelService } from '../../../common/services/resolverService.js';
|
|
19
|
+
import { ILanguageFeaturesService } from '../../../common/services/languageFeatures.service.js';
|
|
20
|
+
import { ITextModelService } from '../../../common/services/resolverService.service.js';
|
|
21
21
|
import { assertType } from '../../../../base/common/types.js';
|
|
22
22
|
import { URI } from '../../../../base/common/uri.js';
|
|
23
23
|
|
|
@@ -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(1418, "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(1419, "&&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(1420, "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(1421, "&&Shrink Selection")),
|
|
161
161
|
order: 3
|
|
162
162
|
}
|
|
163
163
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ICodeEditor } from "../../../browser/editorBrowser.js";
|
|
2
2
|
import { Range } from "../../../common/core/range.js";
|
|
3
3
|
import { IEditorContribution } from "../../../common/editorCommon.js";
|
|
4
|
-
import { ILanguageConfigurationService } from "../../../common/languages/languageConfigurationRegistry.js";
|
|
5
|
-
import { ILanguageFeaturesService } from "../../../common/services/languageFeatures.js";
|
|
4
|
+
import { ILanguageConfigurationService } from "../../../common/languages/languageConfigurationRegistry.service.js";
|
|
5
|
+
import { ILanguageFeaturesService } from "../../../common/services/languageFeatures.service.js";
|
|
6
6
|
import { OvertypingCapturer } from "../../suggest/browser/suggestOvertypingCapturer.js";
|
|
7
7
|
import { RawContextKey } from "../../../../platform/contextkey/common/contextkey.js";
|
|
8
8
|
import { IContextKeyService } from "../../../../platform/contextkey/common/contextkey.service.js";
|
|
@@ -7,8 +7,8 @@ import { registerEditorContribution, EditorContributionInstantiation, EditorComm
|
|
|
7
7
|
import { Position } from '../../../common/core/position.js';
|
|
8
8
|
import { EditorContextKeys } from '../../../common/editorContextKeys.js';
|
|
9
9
|
import { CompletionItemKind } from '../../../common/languages.js';
|
|
10
|
-
import { ILanguageConfigurationService } from '../../../common/languages/languageConfigurationRegistry.js';
|
|
11
|
-
import { ILanguageFeaturesService } from '../../../common/services/languageFeatures.js';
|
|
10
|
+
import { ILanguageConfigurationService } from '../../../common/languages/languageConfigurationRegistry.service.js';
|
|
11
|
+
import { ILanguageFeaturesService } from '../../../common/services/languageFeatures.service.js';
|
|
12
12
|
import { showSimpleSuggestions } from '../../suggest/browser/suggest.js';
|
|
13
13
|
import { localize } from '../../../../nls.js';
|
|
14
14
|
import { RawContextKey, ContextKeyExpr } from '../../../../platform/contextkey/common/contextkey.js';
|
|
@@ -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(1422, "Whether the editor in current in snippet mode")))); }
|
|
37
|
+
static { this.HasNextTabstop = ( new RawContextKey('hasNextTabstop', false, ( localize(1423, "Whether there is a next tab stop when in snippet mode")))); }
|
|
38
|
+
static { this.HasPrevTabstop = ( new RawContextKey('hasPrevTabstop', false, ( localize(1424, "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(1425, 'Go to next placeholder...')) }
|
|
128
128
|
});
|
|
129
129
|
}
|
|
130
130
|
return { suggestions };
|
|
@@ -3,7 +3,7 @@ import { IPosition } from "../../../common/core/position.js";
|
|
|
3
3
|
import { Range } from "../../../common/core/range.js";
|
|
4
4
|
import { Selection } from "../../../common/core/selection.js";
|
|
5
5
|
import { TextChange } from "../../../common/core/textChange.js";
|
|
6
|
-
import { ILanguageConfigurationService } from "../../../common/languages/languageConfigurationRegistry.js";
|
|
6
|
+
import { ILanguageConfigurationService } from "../../../common/languages/languageConfigurationRegistry.service.js";
|
|
7
7
|
import { IIdentifiedSingleEditOperation, ITextModel } from "../../../common/model.js";
|
|
8
8
|
import { OvertypingCapturer } from "../../suggest/browser/suggestOvertypingCapturer.js";
|
|
9
9
|
import { Choice, Marker, TextmateSnippet } from "./snippetParser.js";
|
|
@@ -46,6 +46,7 @@ export interface ISnippetSessionInsertOptions {
|
|
|
46
46
|
export interface ISnippetEdit {
|
|
47
47
|
range: Range;
|
|
48
48
|
template: string;
|
|
49
|
+
keepWhitespace?: boolean;
|
|
49
50
|
}
|
|
50
51
|
export declare class SnippetSession {
|
|
51
52
|
private readonly _editor;
|
|
@@ -9,7 +9,7 @@ import { EditorOption } from '../../../common/config/editorOptions.js';
|
|
|
9
9
|
import { EditOperation } from '../../../common/core/editOperation.js';
|
|
10
10
|
import { Range } from '../../../common/core/range.js';
|
|
11
11
|
import { Selection } from '../../../common/core/selection.js';
|
|
12
|
-
import { ILanguageConfigurationService } from '../../../common/languages/languageConfigurationRegistry.js';
|
|
12
|
+
import { ILanguageConfigurationService } from '../../../common/languages/languageConfigurationRegistry.service.js';
|
|
13
13
|
import { TrackedRangeStickiness } from '../../../common/model.js';
|
|
14
14
|
import { ModelDecorationOptions } from '../../../common/model/textModel.js';
|
|
15
15
|
import { ILabelService } from '../../../../platform/label/common/label.service.js';
|
|
@@ -398,7 +398,7 @@ let SnippetSession = SnippetSession_1 = class SnippetSession {
|
|
|
398
398
|
snippetEdits = snippetEdits.sort((a, b) => Range.compareRangesUsingStarts(a.range, b.range));
|
|
399
399
|
let offset = 0;
|
|
400
400
|
for (let i = 0; i < snippetEdits.length; i++) {
|
|
401
|
-
const { range, template } = snippetEdits[i];
|
|
401
|
+
const { range, template, keepWhitespace } = snippetEdits[i];
|
|
402
402
|
if (i > 0) {
|
|
403
403
|
const lastRange = snippetEdits[i - 1].range;
|
|
404
404
|
const textRange = Range.fromPositions(lastRange.getEndPosition(), range.getStartPosition());
|
|
@@ -407,7 +407,7 @@ let SnippetSession = SnippetSession_1 = class SnippetSession {
|
|
|
407
407
|
offset += textNode.value.length;
|
|
408
408
|
}
|
|
409
409
|
const newNodes = parser.parseFragment(template, snippet);
|
|
410
|
-
SnippetSession_1.adjustWhitespace(model, range.getStartPosition(),
|
|
410
|
+
SnippetSession_1.adjustWhitespace(model, range.getStartPosition(), keepWhitespace !== undefined ? !keepWhitespace : adjustWhitespace, snippet, ( new Set(newNodes)));
|
|
411
411
|
snippet.resolveVariables(resolver);
|
|
412
412
|
const snippetText = ( snippet.toString());
|
|
413
413
|
const snippetFragmentText = snippetText.slice(offset);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Selection } from "../../../common/core/selection.js";
|
|
2
2
|
import { ITextModel } from "../../../common/model.js";
|
|
3
|
-
import { ILanguageConfigurationService } from "../../../common/languages/languageConfigurationRegistry.js";
|
|
3
|
+
import { ILanguageConfigurationService } from "../../../common/languages/languageConfigurationRegistry.service.js";
|
|
4
4
|
import { Variable, VariableResolver } from "./snippetParser.js";
|
|
5
5
|
import { OvertypingCapturer } from "../../suggest/browser/suggestOvertypingCapturer.js";
|
|
6
6
|
import { ILabelService } from "../../../../platform/label/common/label.service.js";
|
|
@@ -5,7 +5,7 @@ import { basename, dirname } from '../../../../base/common/path.js';
|
|
|
5
5
|
import { dirname as dirname$1 } from '../../../../base/common/resources.js';
|
|
6
6
|
import { getLeadingWhitespace, splitLines, commonPrefixLength, isFalsyOrWhitespace } from '../../../../base/common/strings.js';
|
|
7
7
|
import { generateUuid } from '../../../../base/common/uuid.js';
|
|
8
|
-
import { ILanguageConfigurationService } from '../../../common/languages/languageConfigurationRegistry.js';
|
|
8
|
+
import { ILanguageConfigurationService } from '../../../common/languages/languageConfigurationRegistry.service.js';
|
|
9
9
|
import { Text } from './snippetParser.js';
|
|
10
10
|
import { localize } from '../../../../nls.js';
|
|
11
11
|
import { toWorkspaceIdentifier, isEmptyWorkspaceIdentifier, isSingleFolderWorkspaceIdentifier, WORKSPACE_EXTENSION } from '../../../../platform/workspace/common/workspace.js';
|
|
@@ -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(1426, "Sunday")), ( localize(1427, "Monday")), ( localize(1428, "Tuesday")), ( localize(1429, "Wednesday")), ( localize(1430, "Thursday")), ( localize(1431, "Friday")), ( localize(1432, "Saturday"))]; }
|
|
218
|
+
static { this.dayNamesShort = [( localize(1433, "Sun")), ( localize(1434, "Mon")), ( localize(1435, "Tue")), ( localize(1436, "Wed")), ( localize(1437, "Thu")), ( localize(1438, "Fri")), ( localize(1439, "Sat"))]; }
|
|
219
|
+
static { this.monthNames = [( localize(1440, "January")), ( localize(1441, "February")), ( localize(1442, "March")), ( localize(1443, "April")), ( localize(1444, "May")), ( localize(1445, "June")), ( localize(1446, "July")), ( localize(1447, "August")), ( localize(1448, "September")), ( localize(1449, "October")), ( localize(1450, "November")), ( localize(1451, "December"))]; }
|
|
220
|
+
static { this.monthNamesShort = [( localize(1452, "Jan")), ( localize(1453, "Feb")), ( localize(1454, "Mar")), ( localize(1455, "Apr")), ( localize(1456, "May")), ( localize(1457, "Jun")), ( localize(1458, "Jul")), ( localize(1459, "Aug")), ( localize(1460, "Sep")), ( localize(1461, "Oct")), ( localize(1462, "Nov")), ( localize(1463, "Dec"))]; }
|
|
221
221
|
resolve(variable) {
|
|
222
222
|
const { name } = variable;
|
|
223
223
|
if (name === 'CURRENT_YEAR') {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import n from '../../../../../../../external/rollup-plugin-styles/dist/runtime/inject-css.js';
|
|
2
2
|
|
|
3
|
-
var css = ".monaco-editor .sticky-widget{overflow:hidden}.monaco-editor .sticky-widget-line-numbers{background-color:inherit;float:left}.monaco-editor .sticky-widget-lines-scrollable{background-color:inherit;display:inline-block;overflow:hidden;position:absolute;width:var(--vscode-editorStickyScroll-scrollableWidth)}.monaco-editor .sticky-widget-lines{background-color:inherit;position:absolute}.monaco-editor .sticky-line-content,.monaco-editor .sticky-line-number{background-color:inherit;color:var(--vscode-editorLineNumber-foreground);display:inline-block;position:absolute;white-space:nowrap}.monaco-editor .sticky-line-number .codicon-folding-collapsed,.monaco-editor .sticky-line-number .codicon-folding-expanded{
|
|
3
|
+
var css = ".monaco-editor .sticky-widget{overflow:hidden}.monaco-editor .sticky-widget-line-numbers{background-color:inherit;float:left}.monaco-editor .sticky-widget-lines-scrollable{background-color:inherit;display:inline-block;overflow:hidden;position:absolute;width:var(--vscode-editorStickyScroll-scrollableWidth)}.monaco-editor .sticky-widget-lines{background-color:inherit;position:absolute}.monaco-editor .sticky-line-content,.monaco-editor .sticky-line-number{background-color:inherit;color:var(--vscode-editorLineNumber-foreground);display:inline-block;position:absolute;white-space:nowrap}.monaco-editor .sticky-line-number .codicon-folding-collapsed,.monaco-editor .sticky-line-number .codicon-folding-expanded{float:right;margin-left:2px;position:absolute;transition:var(--vscode-editorStickyScroll-foldingOpacityTransition)}.monaco-editor .sticky-line-content{background-color:inherit;white-space:nowrap;width:var(--vscode-editorStickyScroll-scrollableWidth)}.monaco-editor .sticky-line-number-inner{display:inline-block;text-align:right}.monaco-editor .sticky-widget{border-bottom:1px solid var(--vscode-editorStickyScroll-border)}.monaco-editor .sticky-line-content:hover{background-color:var(--vscode-editorStickyScrollHover-background);cursor:pointer}.monaco-editor .sticky-widget{background-color:var(--vscode-editorStickyScroll-background);box-shadow:var(--vscode-editorStickyScroll-shadow) 0 4px 2px -2px;right:auto!important;width:100%;z-index:4}.monaco-editor .sticky-widget.peek{background-color:var(--vscode-peekViewEditorStickyScroll-background)}";
|
|
4
4
|
n(css,{});
|
|
5
5
|
|
|
6
6
|
export { css, css as default };
|
|
@@ -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(1464, "Toggle Editor Sticky Scroll")),
|
|
19
|
+
mnemonicTitle: ( localize(1465, "&&Toggle Editor Sticky Scroll")),
|
|
20
20
|
},
|
|
21
21
|
metadata: {
|
|
22
22
|
description: ( localize2(
|
|
23
|
-
|
|
23
|
+
1466,
|
|
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(1467, "Sticky Scroll")),
|
|
31
|
+
mnemonicTitle: ( localize(1468, "&&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(1469, "Focus Editor Sticky Scroll")),
|
|
57
|
+
mnemonicTitle: ( localize(1470, "&&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(1471, "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(1472, "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(1473, "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(1474, "Select Editor")),
|
|
122
122
|
precondition: ( EditorContextKeys.stickyScrollFocused.isEqualTo(true)),
|
|
123
123
|
keybinding: {
|
|
124
124
|
weight,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Disposable } from "../../../../base/common/lifecycle.js";
|
|
2
2
|
import { ICodeEditor } from "../../../browser/editorBrowser.js";
|
|
3
3
|
import { IEditorContribution } from "../../../common/editorCommon.js";
|
|
4
|
-
import { ILanguageFeaturesService } from "../../../common/services/languageFeatures.js";
|
|
4
|
+
import { ILanguageFeaturesService } from "../../../common/services/languageFeatures.service.js";
|
|
5
5
|
import { StickyScrollWidgetState } from "./stickyScrollWidget.js";
|
|
6
6
|
import { IStickyLineCandidateProvider } from "./stickyScrollProvider.js";
|
|
7
7
|
import { IInstantiationService } from "../../../../platform/instantiation/common/instantiation.js";
|
|
8
8
|
import { IContextMenuService } from "../../../../platform/contextview/browser/contextView.service.js";
|
|
9
9
|
import { IContextKeyService } from "../../../../platform/contextkey/common/contextkey.service.js";
|
|
10
|
-
import { ILanguageConfigurationService } from "../../../common/languages/languageConfigurationRegistry.js";
|
|
11
|
-
import { ILanguageFeatureDebounceService } from "../../../common/services/languageFeatureDebounce.js";
|
|
10
|
+
import { ILanguageConfigurationService } from "../../../common/languages/languageConfigurationRegistry.service.js";
|
|
11
|
+
import { ILanguageFeatureDebounceService } from "../../../common/services/languageFeatureDebounce.service.js";
|
|
12
12
|
import { Event } from "../../../../base/common/event.js";
|
|
13
13
|
export interface IStickyScrollController {
|
|
14
14
|
get stickyScrollCandidateProvider(): IStickyLineCandidateProvider;
|
|
@@ -3,7 +3,7 @@ import { __decorate, __param } from '../../../../../../../external/tslib/tslib.e
|
|
|
3
3
|
import { Disposable, DisposableStore, toDisposable } from '../../../../base/common/lifecycle.js';
|
|
4
4
|
import { MouseTargetType } from '../../../browser/editorBrowser.js';
|
|
5
5
|
import { ScrollType } from '../../../common/editorCommon.js';
|
|
6
|
-
import { ILanguageFeaturesService } from '../../../common/services/languageFeatures.js';
|
|
6
|
+
import { ILanguageFeaturesService } from '../../../common/services/languageFeatures.service.js';
|
|
7
7
|
import { EditorOption, RenderLineNumbersType } from '../../../common/config/editorOptions.js';
|
|
8
8
|
import { StickyScrollWidget, StickyScrollWidgetState } from './stickyScrollWidget.js';
|
|
9
9
|
import { StickyLineCandidateProvider } from './stickyScrollProvider.js';
|
|
@@ -18,8 +18,8 @@ import { getDefinitionsAtPosition } from '../../gotoSymbol/browser/goToSymbol.js
|
|
|
18
18
|
import { goToDefinitionWithLocation } from '../../inlayHints/browser/inlayHintsLocations.js';
|
|
19
19
|
import { Position } from '../../../common/core/position.js';
|
|
20
20
|
import { CancellationTokenSource } from '../../../../base/common/cancellation.js';
|
|
21
|
-
import { ILanguageConfigurationService } from '../../../common/languages/languageConfigurationRegistry.js';
|
|
22
|
-
import { ILanguageFeatureDebounceService } from '../../../common/services/languageFeatureDebounce.js';
|
|
21
|
+
import { ILanguageConfigurationService } from '../../../common/languages/languageConfigurationRegistry.service.js';
|
|
22
|
+
import { ILanguageFeatureDebounceService } from '../../../common/services/languageFeatureDebounce.service.js';
|
|
23
23
|
import { addDisposableListener, EventType, getWindow, trackFocus, addStandardDisposableListener, isHTMLElement } from '../../../../base/browser/dom.js';
|
|
24
24
|
import { StickyRange } from './stickyScrollElement.js';
|
|
25
25
|
import { StandardMouseEvent } from '../../../../base/browser/mouseEvent.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Disposable, IDisposable } from "../../../../base/common/lifecycle.js";
|
|
2
2
|
import { IActiveCodeEditor } from "../../../browser/editorBrowser.js";
|
|
3
|
-
import { ILanguageFeaturesService } from "../../../common/services/languageFeatures.js";
|
|
3
|
+
import { ILanguageFeaturesService } from "../../../common/services/languageFeatures.service.js";
|
|
4
4
|
import { CancellationToken } from "../../../../base/common/cancellation.js";
|
|
5
|
-
import { ILanguageConfigurationService } from "../../../common/languages/languageConfigurationRegistry.js";
|
|
5
|
+
import { ILanguageConfigurationService } from "../../../common/languages/languageConfigurationRegistry.service.js";
|
|
6
6
|
import { StickyModel } from "./stickyScrollElement.js";
|
|
7
7
|
export interface IStickyModelProvider extends IDisposable {
|
|
8
8
|
update(token: CancellationToken): Promise<StickyModel | null>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
2
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
3
3
|
import { Disposable, DisposableStore } from '../../../../base/common/lifecycle.js';
|
|
4
|
-
import { ILanguageFeaturesService } from '../../../common/services/languageFeatures.js';
|
|
4
|
+
import { ILanguageFeaturesService } from '../../../common/services/languageFeatures.service.js';
|
|
5
5
|
import { OutlineModel, OutlineGroup, OutlineElement } from '../../documentSymbols/browser/outlineModel.js';
|
|
6
6
|
import { Delayer, createCancelablePromise } from '../../../../base/common/async.js';
|
|
7
7
|
import { RangesLimitReporter, FoldingController } from '../../folding/browser/folding.js';
|
|
8
8
|
import { SyntaxRangeProvider } from '../../folding/browser/syntaxRangeProvider.js';
|
|
9
9
|
import { IndentRangeProvider } from '../../folding/browser/indentRangeProvider.js';
|
|
10
|
-
import { ILanguageConfigurationService } from '../../../common/languages/languageConfigurationRegistry.js';
|
|
10
|
+
import { ILanguageConfigurationService } from '../../../common/languages/languageConfigurationRegistry.service.js';
|
|
11
11
|
import { onUnexpectedError } from '../../../../base/common/errors.js';
|
|
12
12
|
import { StickyModel, StickyRange, StickyElement } from './stickyScrollElement.js';
|
|
13
13
|
import { Iterable } from '../../../../base/common/iterator.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Disposable } from "../../../../base/common/lifecycle.js";
|
|
2
2
|
import { ICodeEditor } from "../../../browser/editorBrowser.js";
|
|
3
|
-
import { ILanguageFeaturesService } from "../../../common/services/languageFeatures.js";
|
|
3
|
+
import { ILanguageFeaturesService } from "../../../common/services/languageFeatures.service.js";
|
|
4
4
|
import { Event } from "../../../../base/common/event.js";
|
|
5
|
-
import { ILanguageConfigurationService } from "../../../common/languages/languageConfigurationRegistry.js";
|
|
5
|
+
import { ILanguageConfigurationService } from "../../../common/languages/languageConfigurationRegistry.service.js";
|
|
6
6
|
import { StickyElement, StickyRange } from "./stickyScrollElement.js";
|
|
7
7
|
export declare class StickyLineCandidate {
|
|
8
8
|
readonly startLineNumber: number;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
2
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
3
3
|
import { Disposable, DisposableStore, toDisposable } from '../../../../base/common/lifecycle.js';
|
|
4
|
-
import { ILanguageFeaturesService } from '../../../common/services/languageFeatures.js';
|
|
4
|
+
import { ILanguageFeaturesService } from '../../../common/services/languageFeatures.service.js';
|
|
5
5
|
import { CancellationTokenSource } from '../../../../base/common/cancellation.js';
|
|
6
6
|
import { EditorOption } from '../../../common/config/editorOptions.js';
|
|
7
7
|
import { RunOnceScheduler } from '../../../../base/common/async.js';
|
|
8
8
|
import { binarySearch } from '../../../../base/common/arrays.js';
|
|
9
9
|
import { Emitter } from '../../../../base/common/event.js';
|
|
10
|
-
import { ILanguageConfigurationService } from '../../../common/languages/languageConfigurationRegistry.js';
|
|
10
|
+
import { ILanguageConfigurationService } from '../../../common/languages/languageConfigurationRegistry.service.js';
|
|
11
11
|
import { StickyModelProvider } from './stickyScrollModelProvider.js';
|
|
12
12
|
|
|
13
13
|
class StickyLineCandidate {
|
|
@@ -317,6 +317,7 @@ class StickyScrollWidget extends Disposable {
|
|
|
317
317
|
const foldingIcon = this._renderFoldingIconForLine(foldingModel, line);
|
|
318
318
|
if (foldingIcon) {
|
|
319
319
|
lineNumberHTMLNode.appendChild(foldingIcon.domNode);
|
|
320
|
+
foldingIcon.domNode.style.left = `${layoutInfo.lineNumbersWidth + layoutInfo.lineNumbersLeft}px`;
|
|
320
321
|
}
|
|
321
322
|
this._editor.applyFontInfo(lineHTMLNode);
|
|
322
323
|
this._editor.applyFontInfo(lineNumberHTMLNode);
|
|
@@ -455,8 +456,9 @@ class StickyFoldingIcon {
|
|
|
455
456
|
this.foldingEndLine = foldingEndLine;
|
|
456
457
|
this.dimension = dimension;
|
|
457
458
|
this.domNode = document.createElement('div');
|
|
458
|
-
this.domNode.style.width =
|
|
459
|
+
this.domNode.style.width = `26px`;
|
|
459
460
|
this.domNode.style.height = `${dimension}px`;
|
|
461
|
+
this.domNode.style.lineHeight = `${dimension}px`;
|
|
460
462
|
this.domNode.className = ThemeIcon.asClassName(isCollapsed ? foldingCollapsedIcon : foldingExpandedIcon);
|
|
461
463
|
}
|
|
462
464
|
setVisible(visible) {
|