@codingame/monaco-vscode-api 18.4.0 → 19.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/missing-services.js +1217 -2932
- package/monaco.js +0 -3
- package/package.json +8 -8
- package/services.d.ts +12 -8
- package/services.js +12 -7
- package/vscode/product.json.js +1 -1
- package/vscode/src/vs/base/browser/dom.d.ts +83 -2
- package/vscode/src/vs/base/browser/dom.js +280 -3
- package/vscode/src/vs/base/browser/domStylesheets.d.ts +2 -0
- package/vscode/src/vs/base/browser/domStylesheets.js +11 -1
- package/vscode/src/vs/base/browser/markdownRenderer.d.ts +1 -0
- package/vscode/src/vs/base/browser/markdownRenderer.js +34 -18
- package/vscode/src/vs/base/browser/ui/button/button.js +4 -1
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/vscode/src/vs/base/browser/ui/list/list.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/list/listView.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/list/listView.js +5 -5
- package/vscode/src/vs/base/browser/ui/list/listWidget.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/list/listWidget.js +5 -1
- package/vscode/src/vs/base/browser/ui/toggle/toggle.d.ts +3 -1
- package/vscode/src/vs/base/browser/ui/toggle/toggle.js +21 -4
- package/vscode/src/vs/base/common/arrays.d.ts +0 -1
- package/vscode/src/vs/base/common/arrays.js +1 -6
- package/vscode/src/vs/base/common/async.d.ts +1 -0
- package/vscode/src/vs/base/common/async.js +2 -1
- package/vscode/src/vs/base/common/buffer.d.ts +1 -0
- package/vscode/src/vs/base/common/buffer.js +3 -0
- package/vscode/src/vs/base/common/codicons.d.ts +7 -0
- package/vscode/src/vs/base/common/codiconsLibrary.d.ts +7 -0
- package/vscode/src/vs/base/common/codiconsLibrary.js +7 -0
- package/vscode/src/vs/base/common/collections.d.ts +1 -0
- package/vscode/src/vs/base/common/collections.js +14 -1
- package/vscode/src/vs/base/common/color.js +2 -2
- package/vscode/src/vs/base/common/dataTransfer.d.ts +1 -1
- package/vscode/src/vs/base/common/decorators.d.ts +1 -1
- package/vscode/src/vs/base/common/event.d.ts +1 -1
- package/vscode/src/vs/base/common/glob.d.ts +1 -1
- package/vscode/src/vs/base/common/glob.js +2 -2
- package/vscode/src/vs/base/common/hotReloadHelpers.js +1 -1
- package/vscode/src/vs/base/common/iterator.d.ts +1 -1
- package/vscode/src/vs/base/common/network.d.ts +1 -0
- package/vscode/src/vs/base/common/network.js +1 -0
- package/vscode/src/vs/base/common/oauth.d.ts +34 -4
- package/vscode/src/vs/base/common/oauth.js +77 -6
- package/vscode/src/vs/base/common/observableInternal/index.d.ts +2 -2
- package/vscode/src/vs/base/common/observableInternal/logging/debugger/utils.js +8 -1
- package/vscode/src/vs/base/common/observableInternal/set.js +0 -1
- package/vscode/src/vs/base/common/performance.js +1 -1
- package/vscode/src/vs/base/common/product.d.ts +2 -1
- package/vscode/src/vs/base/common/types.d.ts +4 -8
- package/vscode/src/vs/base/common/types.js +3 -3
- package/vscode/src/vs/base/common/worker/webWorker.js +1 -1
- package/vscode/src/vs/editor/browser/config/migrateOptions.js +8 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.d.ts +2 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.js +18 -14
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +5 -3
- package/vscode/src/vs/editor/browser/editorBrowser.d.ts +3 -1
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlas.d.ts +3 -1
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlas.js +5 -4
- package/vscode/src/vs/editor/browser/gpu/raster/glyphRasterizer.d.ts +3 -1
- package/vscode/src/vs/editor/browser/gpu/raster/glyphRasterizer.js +3 -3
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.js +2 -3
- package/vscode/src/vs/editor/browser/observableCodeEditor.d.ts +6 -0
- package/vscode/src/vs/editor/browser/observableCodeEditor.js +38 -1
- package/vscode/src/vs/editor/browser/services/abstractCodeEditorService.js +9 -1
- package/vscode/src/vs/editor/browser/services/bulkEditService.d.ts +2 -0
- package/vscode/src/vs/editor/browser/services/editorWorkerService.d.ts +4 -0
- package/vscode/src/vs/editor/browser/services/editorWorkerService.js +18 -2
- package/vscode/src/vs/editor/browser/services/inlineCompletionsService.d.ts +32 -0
- package/vscode/src/vs/editor/browser/services/inlineCompletionsService.js +141 -0
- package/vscode/src/vs/editor/browser/services/inlineCompletionsService.service.d.ts +11 -0
- package/vscode/src/vs/editor/browser/services/inlineCompletionsService.service.js +6 -0
- package/vscode/src/vs/editor/browser/view/domLineBreaksComputer.js +2 -2
- package/vscode/src/vs/editor/browser/view/viewController.js +5 -1
- package/vscode/src/vs/editor/browser/view.d.ts +1 -1
- package/vscode/src/vs/editor/browser/view.js +5 -5
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.d.ts +1 -1
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.js +3 -3
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLine.js +14 -6
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLineOptions.d.ts +1 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLineOptions.js +3 -7
- package/vscode/src/vs/editor/browser/viewParts/viewLinesGpu/viewLinesGpu.js +12 -2
- package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.js +4 -2
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.d.ts +8 -2
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +39 -9
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +12 -12
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.css +52 -49
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +15 -15
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +3 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +7 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +7 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +7 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +5 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +54 -54
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +173 -160
- package/vscode/src/vs/editor/common/config/editorOptions.js +645 -570
- package/vscode/src/vs/editor/common/config/fontInfo.js +1 -1
- package/vscode/src/vs/editor/common/core/2d/point.d.ts +5 -0
- package/vscode/src/vs/editor/common/core/2d/point.js +23 -0
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/core/edits/edit.d.ts +6 -0
- package/vscode/src/vs/editor/common/core/edits/edit.js +41 -0
- package/vscode/src/vs/editor/common/core/edits/lineEdit.d.ts +17 -11
- package/vscode/src/vs/editor/common/core/edits/lineEdit.js +36 -9
- package/vscode/src/vs/editor/common/core/edits/stringEdit.d.ts +63 -16
- package/vscode/src/vs/editor/common/core/edits/stringEdit.js +205 -48
- package/vscode/src/vs/editor/common/core/edits/textEdit.d.ts +5 -1
- package/vscode/src/vs/editor/common/core/edits/textEdit.js +18 -2
- package/vscode/src/vs/editor/common/core/text/abstractText.d.ts +3 -1
- package/vscode/src/vs/editor/common/core/text/abstractText.js +10 -1
- package/vscode/src/vs/editor/common/core/text/getPositionOffsetTransformerFromTextModel.js +2 -1
- package/vscode/src/vs/editor/common/core/text/positionToOffset.d.ts +2 -28
- package/vscode/src/vs/editor/common/core/text/positionToOffset.js +11 -92
- package/vscode/src/vs/editor/common/core/text/positionToOffsetImpl.d.ts +37 -0
- package/vscode/src/vs/editor/common/core/text/positionToOffsetImpl.js +104 -0
- package/vscode/src/vs/editor/common/cursor/cursor.d.ts +3 -2
- package/vscode/src/vs/editor/common/cursor/cursor.js +24 -16
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js +3 -1
- package/vscode/src/vs/editor/common/diff/rangeMapping.d.ts +1 -0
- package/vscode/src/vs/editor/common/diff/rangeMapping.js +11 -1
- package/vscode/src/vs/editor/common/editorCommon.d.ts +2 -1
- package/vscode/src/vs/editor/common/editorContextKeys.js +46 -46
- package/vscode/src/vs/editor/common/languages/defaultDocumentColorsComputer.js +1 -1
- package/vscode/src/vs/editor/common/languages/languageConfiguration.d.ts +5 -1
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.d.ts +1 -0
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.js +7 -1
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
- package/vscode/src/vs/editor/common/languages.d.ts +31 -27
- package/vscode/src/vs/editor/common/languages.js +57 -62
- package/vscode/src/vs/editor/common/model/editStack.d.ts +2 -1
- package/vscode/src/vs/editor/common/model/editStack.js +4 -3
- package/vscode/src/vs/editor/common/model/intervalTree.d.ts +2 -2
- package/vscode/src/vs/editor/common/model/intervalTree.js +24 -7
- package/vscode/src/vs/editor/common/model/textModel.d.ts +24 -10
- package/vscode/src/vs/editor/common/model/textModel.js +114 -53
- package/vscode/src/vs/editor/common/model/tokens/abstractSyntaxTokenBackend.js +1 -1
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterSyntaxTokenBackend.d.ts +0 -3
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterSyntaxTokenBackend.js +1 -13
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterTree.d.ts +2 -0
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterTree.js +13 -2
- package/vscode/src/vs/editor/common/model.d.ts +8 -2
- package/vscode/src/vs/editor/common/services/editorWebWorker.d.ts +4 -0
- package/vscode/src/vs/editor/common/services/editorWebWorker.js +14 -0
- package/vscode/src/vs/editor/common/services/editorWorker.service.d.ts +4 -0
- package/vscode/src/vs/editor/common/services/findSectionHeaders.js +7 -0
- package/vscode/src/vs/editor/common/services/languageFeatures.service.d.ts +1 -2
- package/vscode/src/vs/editor/common/services/languageFeaturesService.d.ts +1 -2
- package/vscode/src/vs/editor/common/services/languageFeaturesService.js +0 -1
- package/vscode/src/vs/editor/common/services/model.service.d.ts +2 -1
- package/vscode/src/vs/editor/common/services/modelService.d.ts +2 -1
- package/vscode/src/vs/editor/common/services/modelService.js +3 -2
- package/vscode/src/vs/editor/common/services/textResourceConfiguration.service.d.ts +1 -1
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +159 -157
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +160 -159
- package/vscode/src/vs/editor/common/standaloneStrings.js +50 -49
- package/vscode/src/vs/editor/common/textModelEditReason.d.ts +94 -12
- package/vscode/src/vs/editor/common/textModelEditReason.js +86 -20
- package/vscode/src/vs/editor/common/textModelEvents.d.ts +24 -0
- package/vscode/src/vs/editor/common/textModelEvents.js +33 -1
- package/vscode/src/vs/editor/common/tokens/lineTokens.d.ts +22 -1
- package/vscode/src/vs/editor/common/tokens/lineTokens.js +79 -2
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/common/viewModel/viewModelDecorations.d.ts +5 -1
- package/vscode/src/vs/editor/common/viewModel/viewModelDecorations.js +10 -4
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.d.ts +3 -1
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +39 -12
- package/vscode/src/vs/editor/common/viewModel/viewModelLines.d.ts +3 -3
- package/vscode/src/vs/editor/common/viewModel/viewModelLines.js +6 -6
- package/vscode/src/vs/editor/common/viewModel.d.ts +3 -1
- package/vscode/src/vs/editor/common/viewModel.js +2 -1
- package/vscode/src/vs/editor/common/viewModelEventDispatcher.d.ts +11 -3
- package/vscode/src/vs/editor/common/viewModelEventDispatcher.js +14 -1
- 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.js +3 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensWidget.css +2 -7
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/defaultDocumentColorProvider.js +3 -3
- 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/comment/browser/comment.js +6 -6
- package/vscode/src/vs/editor/contrib/comment/browser/lineCommentCommand.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/comment/browser/lineCommentCommand.js +9 -5
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +29 -29
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +20 -20
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +10 -5
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +3 -3
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +10 -6
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.d.ts +0 -1
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +22 -47
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +19 -19
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +11 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +11 -12
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletions.contribution.js +3 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/animation.d.ts +7 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/animation.js +5 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/changeRecorder.d.ts +3 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/changeRecorder.js +35 -30
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/ghostText.js +2 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/graph.d.ts +9 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/graph.js +66 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.d.ts +12 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +144 -100
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +7 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +100 -49
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEdit.d.ts +3 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.d.ts +4 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +37 -29
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +39 -13
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +150 -162
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/structuredLogger.d.ts +0 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.js +2 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.d.ts +2 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +12 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineCompletionsView.js +9 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +13 -10
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +2 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.d.ts +5 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.d.ts +5 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +5 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.d.ts +0 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +103 -62
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewInterface.d.ts +25 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewInterface.js +13 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCollapsedView.js +1 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.js +4 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsDeletionView.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsDeletionView.js +7 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsInsertionView.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsInsertionView.js +16 -12
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.d.ts +3 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.js +34 -34
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsSideBySideView.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsSideBySideView.js +13 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.js +6 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/originalEditorInlineDiffView.d.ts +2 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/originalEditorInlineDiffView.js +20 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.js +4 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.css +10 -7
- package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +30 -30
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.js +10 -10
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/vscode/src/vs/editor/contrib/middleScroll/browser/middleScroll.contribution.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/middleScroll/browser/middleScroll.contribution.js +5 -0
- package/vscode/src/vs/editor/contrib/middleScroll/browser/middleScroll.css +20 -0
- package/vscode/src/vs/editor/contrib/middleScroll/browser/middleScrollController.d.ts +9 -0
- package/vscode/src/vs/editor/contrib/middleScroll/browser/middleScrollController.js +132 -0
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +21 -17
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.css +0 -1
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +14 -12
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +6 -6
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.d.ts +2 -0
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +5 -5
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.d.ts +2 -1
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.js +3 -2
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScroll.css +24 -24
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +13 -13
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.js +18 -10
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.d.ts +4 -3
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js +34 -39
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.d.ts +5 -6
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +65 -70
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +13 -11
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestInlineCompletions.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestInlineCompletions.js +1 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +18 -18
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +4 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetStatus.js +1 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.d.ts +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +5 -2
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +1 -1
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +79 -69
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +4 -4
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
- package/vscode/src/vs/platform/actions/common/actions.d.ts +0 -1
- package/vscode/src/vs/platform/actions/common/actions.js +0 -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/configuration.js +4 -1
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +11 -11
- 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/dialogs/common/dialogs.service.d.ts +1 -1
- package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
- package/vscode/src/vs/platform/environment/common/argv.d.ts +11 -0
- package/vscode/src/vs/platform/environment/common/environment.service.d.ts +0 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +1 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +19 -19
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagementUtil.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +7 -7
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +9 -3
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +9 -3
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/files/common/files.d.ts +6 -1
- package/vscode/src/vs/platform/files/common/files.js +11 -7
- package/vscode/src/vs/platform/files/common/files.service.d.ts +1 -0
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.d.ts +2 -2
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/keybinding/common/keybinding.service.d.ts +2 -1
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.service.d.ts +1 -1
- package/vscode/src/vs/platform/list/browser/listService.d.ts +1 -7
- package/vscode/src/vs/platform/list/browser/listService.js +27 -27
- package/vscode/src/vs/platform/log/common/log.d.ts +4 -0
- package/vscode/src/vs/platform/log/common/log.js +15 -7
- package/vscode/src/vs/platform/markers/common/markerService.js +4 -3
- package/vscode/src/vs/platform/markers/common/markers.d.ts +2 -0
- package/vscode/src/vs/platform/markers/common/markers.js +6 -6
- package/vscode/src/vs/platform/mcp/common/mcpManagement.service.d.ts +9 -4
- package/vscode/src/vs/platform/mcp/common/mcpResourceScannerService.service.d.ts +10 -0
- package/vscode/src/vs/platform/mcp/common/mcpResourceScannerService.service.js +6 -0
- package/vscode/src/vs/platform/notification/common/notification.d.ts +1 -0
- package/vscode/src/vs/platform/notification/common/notification.js +12 -2
- package/vscode/src/vs/platform/product/common/product.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +10 -10
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +7 -6
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +7 -12
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +2 -1
- package/vscode/src/vs/platform/remote/common/remoteAgentEnvironment.d.ts +1 -0
- package/vscode/src/vs/platform/remote/common/remoteAuthorityResolver.d.ts +2 -2
- package/vscode/src/vs/platform/request/common/request.d.ts +1 -1
- package/vscode/src/vs/platform/request/common/request.js +18 -18
- package/vscode/src/vs/platform/request/common/request.service.d.ts +1 -1
- package/vscode/src/vs/platform/telemetry/common/commonProperties.d.ts +1 -1
- package/vscode/src/vs/platform/telemetry/common/telemetry.d.ts +2 -0
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +1 -1
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +2 -1
- package/vscode/src/vs/platform/terminal/common/terminal.service.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 +17 -17
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/colors/editorColors.d.ts +1 -0
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +95 -94
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +47 -47
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +15 -15
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +6 -6
- package/vscode/src/vs/platform/theme/common/themeService.d.ts +1 -1
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.d.ts +3 -1
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +6 -2
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.d.ts +2 -1
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +7 -6
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.service.d.ts +1 -1
- package/vscode/src/vs/platform/window/common/window.d.ts +1 -0
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +5 -7
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +25 -24
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.d.ts +10 -4
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +109 -77
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +2 -1
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +22 -0
- package/vscode/src/vs/workbench/api/common/extHostCommands.js +3 -0
- 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/extHostDocuments.d.ts +4 -2
- package/vscode/src/vs/workbench/api/common/extHostDocuments.js +35 -5
- package/vscode/src/vs/workbench/api/common/extHostEditorTabs.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +3 -4
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.d.ts +1 -5
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +34 -182
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.d.ts +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +7 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +2 -3
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostMcp.d.ts +3 -1
- package/vscode/src/vs/workbench/api/common/extHostMcp.js +71 -20
- package/vscode/src/vs/workbench/api/common/extHostNotebook.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +7 -5
- package/vscode/src/vs/workbench/api/common/extHostNotebookEditor.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostSCM.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +7 -3
- package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.d.ts +4 -3
- package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.js +5 -2
- 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 +16 -7
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +20 -8
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +16 -13
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +11 -12
- package/vscode/src/vs/workbench/api/common/extHostWebviewMessaging.d.ts +2 -2
- package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/contextkeys.d.ts +1 -0
- package/vscode/src/vs/workbench/browser/contextkeys.js +6 -1
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.service.d.ts +1 -1
- package/vscode/src/vs/workbench/common/configuration.js +9 -9
- package/vscode/src/vs/workbench/common/contextkeys.d.ts +1 -0
- package/vscode/src/vs/workbench/common/contextkeys.js +73 -72
- package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +1 -1
- package/vscode/src/vs/workbench/common/editor.d.ts +2 -1
- package/vscode/src/vs/workbench/common/editor.js +6 -6
- package/vscode/src/vs/workbench/common/theme.js +160 -160
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +157 -160
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAttachmentResolveService.service.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAttachmentResolveService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatContentParts.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.d.ts +4 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +9 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +62 -41
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +24 -5
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatEntitlementService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +29 -9
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.d.ts +152 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.js +160 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +5 -5
- package/vscode/src/vs/workbench/contrib/chat/common/constants.js +11 -24
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +8 -1
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.service.d.ts +4 -2
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +5 -1
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +22 -7
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/codecs/base/frontMatterCodec/tokens/index.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/codecs/base/simpleCodec/tokens/tokens.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contentProviders/types.d.ts +6 -4
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/types.d.ts +2 -17
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/{types.d.ts → promptsService.d.ts} +14 -7
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/{types.service.d.ts → promptsService.service.d.ts} +6 -7
- package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +15 -15
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +11 -11
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +73 -65
- package/vscode/src/vs/workbench/contrib/debug/common/debugUtils.js +7 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +4 -4
- 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.js +20 -20
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +55 -9
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +29 -13
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.d.ts +16 -6
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.js +2 -1
- package/vscode/src/vs/workbench/contrib/mcp/common/modelContextProtocol.d.ts +119 -31
- package/vscode/src/vs/workbench/contrib/mcp/common/modelContextProtocol.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/remoteCodingAgents/common/remoteCodingAgentsService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/remoteCodingAgents/common/remoteCodingAgentsService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/constants.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +10 -0
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.d.ts +4 -3
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +13 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +6 -2
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/browser/terminalCompletionService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/testing/common/constants.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +13 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.d.ts +1 -0
- package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +6 -4
- package/vscode/src/vs/workbench/services/authentication/common/authentication.d.ts +4 -0
- package/vscode/src/vs/workbench/services/authentication/common/authentication.service.d.ts +1 -0
- package/vscode/src/vs/workbench/services/authentication/common/authenticationQuery.d.ts +132 -0
- package/vscode/src/vs/workbench/services/authentication/common/authenticationQuery.service.d.ts +20 -0
- package/vscode/src/vs/workbench/services/authentication/common/authenticationQuery.service.js +6 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
- package/vscode/src/vs/workbench/services/coreExperimentation/common/coreExperimentationService.service.d.ts +6 -0
- package/vscode/src/vs/workbench/services/coreExperimentation/common/coreExperimentationService.service.js +6 -0
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/environment/common/environmentService.service.d.ts +1 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostProtocol.d.ts +1 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +84 -84
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/host/browser/host.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +2 -2
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +17 -17
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.service.d.ts +5 -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/mcp/common/mcpWorkbenchManagementService.service.d.ts +16 -0
- package/vscode/src/vs/workbench/services/mcp/common/mcpWorkbenchManagementService.service.js +6 -0
- 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 +3 -3
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.d.ts +1 -1
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -12
- 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-dts/vscode.proposed.authProviderSpecific.d.ts +30 -0
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +10 -0
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +10 -0
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +139 -10
- package/vscode-dts/vscode.proposed.d.ts +3 -1
- package/vscode-dts/vscode.proposed.defaultChatParticipant.d.ts +5 -0
- package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +21 -4
- package/vscode-dts/vscode.proposed.languageModelDataPart.d.ts +1 -0
- package/vscode-dts/vscode.proposed.remoteCodingAgents.d.ts +8 -0
- package/vscode-dts/vscode.proposed.terminalCompletionProvider.d.ts +2 -0
- package/vscode-dts/vscode.proposed.textDocumentChangeReason.d.ts +30 -0
- package/workbench.d.ts +1 -1
- package/vscode/src/vs/base/browser/domImpl/domObservable.d.ts +0 -3
- package/vscode/src/vs/base/browser/domImpl/domObservable.js +0 -16
- package/vscode/src/vs/base/browser/domImpl/n.d.ts +0 -83
- package/vscode/src/vs/base/browser/domImpl/n.js +0 -283
- package/vscode/src/vs/editor/common/codecs/frontMatterCodec/tokens/index.d.ts +0 -5
- package/vscode/src/vs/editor/common/codecs/simpleCodec/tokens/index.d.ts +0 -20
- package/vscode/src/vs/editor/common/tokens/tokenArray.d.ts +0 -25
- package/vscode/src/vs/editor/common/tokens/tokenArray.js +0 -84
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEditsAdapter.d.ts +0 -16
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEditsAdapter.js +0 -94
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.d.ts +0 -243
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +0 -426
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.d.ts +0 -601
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +0 -1185
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.d.ts +0 -130
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +0 -235
- package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.d.ts +0 -4
- package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.js +0 -6
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/promptHeader/metadata/index.d.ts +0 -3
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpConfigPathsService.service.d.ts +0 -7
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpConfigPathsService.service.js +0 -6
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedExpService.service.d.ts +0 -6
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedExpService.service.js +0 -6
- package/vscode-dts/vscode.proposed.inlineEdit.d.ts +0 -103
- /package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/{types.service.js → promptsService.service.js} +0 -0
|
@@ -21,21 +21,21 @@ import { StandardTokenType } from '../../../common/encodedTokenAttributes.js';
|
|
|
21
21
|
|
|
22
22
|
const Context = {
|
|
23
23
|
Visible: historyNavigationVisible,
|
|
24
|
-
HasFocusedSuggestion: ( new RawContextKey('suggestWidgetHasFocusedSuggestion', false, ( localize(
|
|
25
|
-
DetailsVisible: ( new RawContextKey('suggestWidgetDetailsVisible', false, ( localize(
|
|
26
|
-
MultipleSuggestions: ( new RawContextKey('suggestWidgetMultipleSuggestions', false, ( localize(
|
|
24
|
+
HasFocusedSuggestion: ( new RawContextKey('suggestWidgetHasFocusedSuggestion', false, ( localize(1517, "Whether any suggestion is focused")))),
|
|
25
|
+
DetailsVisible: ( new RawContextKey('suggestWidgetDetailsVisible', false, ( localize(1518, "Whether suggestion details are visible")))),
|
|
26
|
+
MultipleSuggestions: ( new RawContextKey('suggestWidgetMultipleSuggestions', false, ( localize(1519, "Whether there are multiple suggestions to pick from")))),
|
|
27
27
|
MakesTextEdit: ( new RawContextKey('suggestionMakesTextEdit', true, ( localize(
|
|
28
|
-
|
|
28
|
+
1520,
|
|
29
29
|
"Whether inserting the current suggestion yields in a change or has everything already been typed"
|
|
30
30
|
)))),
|
|
31
|
-
AcceptSuggestionsOnEnter: ( new RawContextKey('acceptSuggestionOnEnter', true, ( localize(
|
|
32
|
-
HasInsertAndReplaceRange: ( new RawContextKey('suggestionHasInsertAndReplaceRange', false, ( localize(
|
|
31
|
+
AcceptSuggestionsOnEnter: ( new RawContextKey('acceptSuggestionOnEnter', true, ( localize(1521, "Whether suggestions are inserted when pressing Enter")))),
|
|
32
|
+
HasInsertAndReplaceRange: ( new RawContextKey('suggestionHasInsertAndReplaceRange', false, ( localize(1522, "Whether the current suggestion has insert and replace behaviour")))),
|
|
33
33
|
InsertMode: ( new RawContextKey(
|
|
34
34
|
'suggestionInsertMode',
|
|
35
35
|
undefined,
|
|
36
|
-
{ type: 'string', description: ( localize(
|
|
36
|
+
{ type: 'string', description: ( localize(1523, "Whether the default behaviour is to insert or replace")) }
|
|
37
37
|
)),
|
|
38
|
-
CanResolve: ( new RawContextKey('suggestionCanResolve', false, ( localize(
|
|
38
|
+
CanResolve: ( new RawContextKey('suggestionCanResolve', false, ( localize(1524, "Whether the current suggestion supports to resolve further details")))),
|
|
39
39
|
};
|
|
40
40
|
const suggestWidgetStatusbarMenu = ( new MenuId('suggestWidgetStatusBar'));
|
|
41
41
|
class CompletionItem {
|
|
@@ -44,6 +44,7 @@ import { extname, basename } from '../../../../base/common/resources.js';
|
|
|
44
44
|
import { hash } from '../../../../base/common/hash.js';
|
|
45
45
|
import { WindowIdleValue, getWindow } from '../../../../base/browser/dom.js';
|
|
46
46
|
import { ModelDecorationOptions } from '../../../common/model/textModel.js';
|
|
47
|
+
import { EditReasons } from '../../../common/textModelEditReason.js';
|
|
47
48
|
|
|
48
49
|
var SuggestController_1;
|
|
49
50
|
class LineSuffix {
|
|
@@ -357,7 +358,8 @@ let SuggestController = class SuggestController {
|
|
|
357
358
|
undoStopAfter: false,
|
|
358
359
|
adjustWhitespace: !(item.completion.insertTextRules & CompletionItemInsertTextRule.KeepWhitespace),
|
|
359
360
|
clipboardText: event.model.clipboardText,
|
|
360
|
-
overtypingCapturer: this._overtypingCapturer.value
|
|
361
|
+
overtypingCapturer: this._overtypingCapturer.value,
|
|
362
|
+
reason: EditReasons.suggest({ extensionId: item.extensionId?.value }),
|
|
361
363
|
});
|
|
362
364
|
if (!(flags & InsertFlags.NoAfterUndoStop)) {
|
|
363
365
|
this.editor.pushUndoStop();
|
|
@@ -449,7 +451,7 @@ let SuggestController = class SuggestController {
|
|
|
449
451
|
_alertCompletionItem(item) {
|
|
450
452
|
if (isNonEmptyArray(item.completion.additionalTextEdits)) {
|
|
451
453
|
const msg = ( localize(
|
|
452
|
-
|
|
454
|
+
1525,
|
|
453
455
|
"Accepting '{0}' made {1} additional edits",
|
|
454
456
|
item.textLabel,
|
|
455
457
|
item.completion.additionalTextEdits.length
|
|
@@ -626,7 +628,7 @@ class TriggerSuggestAction extends EditorAction {
|
|
|
626
628
|
constructor() {
|
|
627
629
|
super({
|
|
628
630
|
id: TriggerSuggestAction.id,
|
|
629
|
-
label: ( localize2(
|
|
631
|
+
label: ( localize2(1526, "Trigger Suggest")),
|
|
630
632
|
precondition: ( ContextKeyExpr.and(
|
|
631
633
|
EditorContextKeys.writable,
|
|
632
634
|
EditorContextKeys.hasCompletionItemProvider,
|
|
@@ -681,19 +683,19 @@ registerEditorCommand(( new SuggestCommand({
|
|
|
681
683
|
}],
|
|
682
684
|
menuOpts: [{
|
|
683
685
|
menuId: suggestWidgetStatusbarMenu,
|
|
684
|
-
title: ( localize(
|
|
686
|
+
title: ( localize(1527, "Insert")),
|
|
685
687
|
group: 'left',
|
|
686
688
|
order: 1,
|
|
687
689
|
when: ( Context.HasInsertAndReplaceRange.toNegated())
|
|
688
690
|
}, {
|
|
689
691
|
menuId: suggestWidgetStatusbarMenu,
|
|
690
|
-
title: ( localize(
|
|
692
|
+
title: ( localize(1527, "Insert")),
|
|
691
693
|
group: 'left',
|
|
692
694
|
order: 1,
|
|
693
695
|
when: ( ContextKeyExpr.and(Context.HasInsertAndReplaceRange, ( Context.InsertMode.isEqualTo('insert'))))
|
|
694
696
|
}, {
|
|
695
697
|
menuId: suggestWidgetStatusbarMenu,
|
|
696
|
-
title: ( localize(
|
|
698
|
+
title: ( localize(1528, "Replace")),
|
|
697
699
|
group: 'left',
|
|
698
700
|
order: 1,
|
|
699
701
|
when: ( ContextKeyExpr.and(Context.HasInsertAndReplaceRange, ( Context.InsertMode.isEqualTo('replace'))))
|
|
@@ -720,13 +722,13 @@ registerEditorCommand(( new SuggestCommand({
|
|
|
720
722
|
group: 'left',
|
|
721
723
|
order: 2,
|
|
722
724
|
when: ( ContextKeyExpr.and(Context.HasInsertAndReplaceRange, ( Context.InsertMode.isEqualTo('insert')))),
|
|
723
|
-
title: ( localize(
|
|
725
|
+
title: ( localize(1528, "Replace"))
|
|
724
726
|
}, {
|
|
725
727
|
menuId: suggestWidgetStatusbarMenu,
|
|
726
728
|
group: 'left',
|
|
727
729
|
order: 2,
|
|
728
730
|
when: ( ContextKeyExpr.and(Context.HasInsertAndReplaceRange, ( Context.InsertMode.isEqualTo('replace')))),
|
|
729
|
-
title: ( localize(
|
|
731
|
+
title: ( localize(1527, "Insert"))
|
|
730
732
|
}]
|
|
731
733
|
})));
|
|
732
734
|
CommandsRegistry.registerCommandAlias('acceptSelectedSuggestionOnEnter', 'acceptSelectedSuggestion');
|
|
@@ -833,13 +835,13 @@ registerEditorCommand(( new SuggestCommand({
|
|
|
833
835
|
group: 'right',
|
|
834
836
|
order: 1,
|
|
835
837
|
when: ( ContextKeyExpr.and(Context.DetailsVisible, Context.CanResolve)),
|
|
836
|
-
title: ( localize(
|
|
838
|
+
title: ( localize(1529, "Show Less"))
|
|
837
839
|
}, {
|
|
838
840
|
menuId: suggestWidgetStatusbarMenu,
|
|
839
841
|
group: 'right',
|
|
840
842
|
order: 1,
|
|
841
843
|
when: ( ContextKeyExpr.and(( Context.DetailsVisible.toNegated()), Context.CanResolve)),
|
|
842
|
-
title: ( localize(
|
|
844
|
+
title: ( localize(1530, "Show More"))
|
|
843
845
|
}]
|
|
844
846
|
})));
|
|
845
847
|
registerEditorCommand(( new SuggestCommand({
|
|
@@ -897,7 +899,7 @@ registerEditorAction(class extends EditorAction {
|
|
|
897
899
|
constructor() {
|
|
898
900
|
super({
|
|
899
901
|
id: 'editor.action.resetSuggestSize',
|
|
900
|
-
label: ( localize2(
|
|
902
|
+
label: ( localize2(1531, "Reset Suggest Widget Size")),
|
|
901
903
|
precondition: undefined
|
|
902
904
|
});
|
|
903
905
|
}
|
|
@@ -45,7 +45,7 @@ export declare class SuggestInlineCompletions extends Disposable implements Inli
|
|
|
45
45
|
constructor(_languageFeatureService: ILanguageFeaturesService, _clipboardService: IClipboardService, _suggestMemoryService: ISuggestMemoryService, _editorService: ICodeEditorService);
|
|
46
46
|
provideInlineCompletions(model: ITextModel, position: Position, context: InlineCompletionContext, token: CancellationToken): Promise<InlineCompletionResults | undefined>;
|
|
47
47
|
handleItemDidShow(_completions: InlineCompletionResults, item: SuggestInlineCompletion): void;
|
|
48
|
-
|
|
48
|
+
disposeInlineCompletions(result: InlineCompletionResults): void;
|
|
49
49
|
private _getTriggerCharacterInfo;
|
|
50
50
|
}
|
|
51
51
|
export {};
|
|
@@ -164,7 +164,7 @@ let SuggestInlineCompletions = class SuggestInlineCompletions extends Disposable
|
|
|
164
164
|
handleItemDidShow(_completions, item) {
|
|
165
165
|
item.completion.resolve(CancellationToken.None);
|
|
166
166
|
}
|
|
167
|
-
|
|
167
|
+
disposeInlineCompletions(result) {
|
|
168
168
|
result.release();
|
|
169
169
|
}
|
|
170
170
|
_getTriggerCharacterInfo(model, position) {
|
|
@@ -11,6 +11,7 @@ import { IThemeService } from "../../../../platform/theme/common/themeService.se
|
|
|
11
11
|
import { CompletionModel } from "./completionModel.js";
|
|
12
12
|
import { ResizableHTMLElement } from "../../../../base/browser/ui/resizable/resizable.js";
|
|
13
13
|
import { CompletionItem } from "./suggest.js";
|
|
14
|
+
export declare const editorSuggestWidgetForeground: string;
|
|
14
15
|
export declare const editorSuggestWidgetSelectedBackground: string;
|
|
15
16
|
export interface ISelectedSuggestion {
|
|
16
17
|
item: CompletionItem;
|
|
@@ -45,18 +45,18 @@ import { isWindows } from '../../../../base/common/platform.js';
|
|
|
45
45
|
|
|
46
46
|
var SuggestWidget_1;
|
|
47
47
|
registerCss(suggest);
|
|
48
|
-
registerColor('editorSuggestWidget.background', editorWidgetBackground, ( localize(
|
|
49
|
-
registerColor('editorSuggestWidget.border', editorWidgetBorder, ( localize(
|
|
50
|
-
const editorSuggestWidgetForeground = registerColor('editorSuggestWidget.foreground', editorForeground, ( localize(
|
|
51
|
-
registerColor('editorSuggestWidget.selectedForeground', quickInputListFocusForeground, ( localize(
|
|
52
|
-
registerColor('editorSuggestWidget.selectedIconForeground', quickInputListFocusIconForeground, ( localize(
|
|
53
|
-
const editorSuggestWidgetSelectedBackground = registerColor('editorSuggestWidget.selectedBackground', quickInputListFocusBackground, ( localize(
|
|
54
|
-
registerColor('editorSuggestWidget.highlightForeground', listHighlightForeground, ( localize(
|
|
48
|
+
registerColor('editorSuggestWidget.background', editorWidgetBackground, ( localize(1532, 'Background color of the suggest widget.')));
|
|
49
|
+
registerColor('editorSuggestWidget.border', editorWidgetBorder, ( localize(1533, 'Border color of the suggest widget.')));
|
|
50
|
+
const editorSuggestWidgetForeground = registerColor('editorSuggestWidget.foreground', editorForeground, ( localize(1534, 'Foreground color of the suggest widget.')));
|
|
51
|
+
registerColor('editorSuggestWidget.selectedForeground', quickInputListFocusForeground, ( localize(1535, 'Foreground color of the selected entry in the suggest widget.')));
|
|
52
|
+
registerColor('editorSuggestWidget.selectedIconForeground', quickInputListFocusIconForeground, ( localize(1536, 'Icon foreground color of the selected entry in the suggest widget.')));
|
|
53
|
+
const editorSuggestWidgetSelectedBackground = registerColor('editorSuggestWidget.selectedBackground', quickInputListFocusBackground, ( localize(1537, 'Background color of the selected entry in the suggest widget.')));
|
|
54
|
+
registerColor('editorSuggestWidget.highlightForeground', listHighlightForeground, ( localize(1538, 'Color of the match highlights in the suggest widget.')));
|
|
55
55
|
registerColor('editorSuggestWidget.focusHighlightForeground', listFocusHighlightForeground, ( localize(
|
|
56
|
-
|
|
56
|
+
1539,
|
|
57
57
|
'Color of the match highlights in the suggest widget when an item is focused.'
|
|
58
58
|
)));
|
|
59
|
-
registerColor('editorSuggestWidgetStatus.foreground', ( transparent(editorSuggestWidgetForeground, .5)), ( localize(
|
|
59
|
+
registerColor('editorSuggestWidgetStatus.foreground', ( transparent(editorSuggestWidgetForeground, .5)), ( localize(1540, 'Foreground color of the suggest widget status.')));
|
|
60
60
|
var State;
|
|
61
61
|
(function (State) {
|
|
62
62
|
State[State["Hidden"] = 0] = "Hidden";
|
|
@@ -93,8 +93,8 @@ class PersistedWidgetSize {
|
|
|
93
93
|
}
|
|
94
94
|
let SuggestWidget = class SuggestWidget {
|
|
95
95
|
static { SuggestWidget_1 = this; }
|
|
96
|
-
static { this.LOADING_MESSAGE = ( localize(
|
|
97
|
-
static { this.NO_SUGGESTIONS_MESSAGE = ( localize(
|
|
96
|
+
static { this.LOADING_MESSAGE = ( localize(1541, "Loading...")); }
|
|
97
|
+
static { this.NO_SUGGESTIONS_MESSAGE = ( localize(1542, "No suggestions.")); }
|
|
98
98
|
constructor(editor, _storageService, _contextKeyService, _themeService, instantiationService) {
|
|
99
99
|
this.editor = editor;
|
|
100
100
|
this._storageService = _storageService;
|
|
@@ -178,7 +178,7 @@ let SuggestWidget = class SuggestWidget {
|
|
|
178
178
|
multipleSelectionSupport: false,
|
|
179
179
|
accessibilityProvider: {
|
|
180
180
|
getRole: () => isWindows ? 'listitem' : 'option',
|
|
181
|
-
getWidgetAriaLabel: () => ( localize(
|
|
181
|
+
getWidgetAriaLabel: () => ( localize(1543, "Suggest")),
|
|
182
182
|
getWidgetRole: () => 'listbox',
|
|
183
183
|
getAriaLabel: (item) => {
|
|
184
184
|
let label = item.textLabel;
|
|
@@ -186,24 +186,24 @@ let SuggestWidget = class SuggestWidget {
|
|
|
186
186
|
if (typeof item.completion.label !== 'string') {
|
|
187
187
|
const { detail, description } = item.completion.label;
|
|
188
188
|
if (detail && description) {
|
|
189
|
-
label = ( localize(
|
|
189
|
+
label = ( localize(1544, '{0} {1}, {2}, {3}', label, detail, description, kindLabel));
|
|
190
190
|
}
|
|
191
191
|
else if (detail) {
|
|
192
|
-
label = ( localize(
|
|
192
|
+
label = ( localize(1545, '{0} {1}, {2}', label, detail, kindLabel));
|
|
193
193
|
}
|
|
194
194
|
else if (description) {
|
|
195
|
-
label = ( localize(
|
|
195
|
+
label = ( localize(1546, '{0}, {1}, {2}', label, description, kindLabel));
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
198
|
else {
|
|
199
|
-
label = ( localize(
|
|
199
|
+
label = ( localize(1547, '{0}, {1}', label, kindLabel));
|
|
200
200
|
}
|
|
201
201
|
if (!item.isResolved || !this._isDetailsVisible()) {
|
|
202
202
|
return label;
|
|
203
203
|
}
|
|
204
204
|
const { documentation, detail } = item.completion;
|
|
205
205
|
const docs = format('{0}{1}', detail || '', documentation ? (typeof documentation === 'string' ? documentation : documentation.value) : '');
|
|
206
|
-
return localize(
|
|
206
|
+
return localize(1548, "{0}, docs: {1}", label, docs);
|
|
207
207
|
},
|
|
208
208
|
}
|
|
209
209
|
}));
|
|
@@ -863,4 +863,4 @@ class SuggestContentWidget {
|
|
|
863
863
|
}
|
|
864
864
|
}
|
|
865
865
|
|
|
866
|
-
export { SuggestContentWidget, SuggestWidget, editorSuggestWidgetSelectedBackground };
|
|
866
|
+
export { SuggestContentWidget, SuggestWidget, editorSuggestWidgetForeground, editorSuggestWidgetSelectedBackground };
|
|
@@ -38,7 +38,7 @@ let SuggestDetailsWidget = class SuggestDetailsWidget {
|
|
|
38
38
|
this._disposables.add(this._scrollbar);
|
|
39
39
|
this._header = append(this._body, $('.header'));
|
|
40
40
|
this._close = append(this._header, $('span' + ThemeIcon.asCSSSelector(Codicon.close)));
|
|
41
|
-
this._close.title = ( localize(
|
|
41
|
+
this._close.title = ( localize(1549, "Close"));
|
|
42
42
|
this._close.role = 'button';
|
|
43
43
|
this._close.tabIndex = -1;
|
|
44
44
|
this._type = append(this._header, $('p.type'));
|
|
@@ -84,7 +84,7 @@ let SuggestDetailsWidget = class SuggestDetailsWidget {
|
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
86
|
renderLoading() {
|
|
87
|
-
this._type.textContent = ( localize(
|
|
87
|
+
this._type.textContent = ( localize(1550, "Loading..."));
|
|
88
88
|
this._docs.textContent = '';
|
|
89
89
|
this.domNode.classList.remove('no-docs', 'no-type');
|
|
90
90
|
this.layout(this.size.width, this.getLayoutInfo().lineHeight * 2);
|
|
@@ -19,7 +19,7 @@ import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js'
|
|
|
19
19
|
import { IThemeService } from '../../../../platform/theme/common/themeService.service.js';
|
|
20
20
|
import { canExpandCompletionItem } from './suggestWidgetDetails.js';
|
|
21
21
|
|
|
22
|
-
const suggestMoreInfoIcon = registerIcon('suggest-more-info', Codicon.chevronRight, ( localize(
|
|
22
|
+
const suggestMoreInfoIcon = registerIcon('suggest-more-info', Codicon.chevronRight, ( localize(1551, 'Icon for more information in the suggest widget.')));
|
|
23
23
|
const _completionItemColor = new (class ColorExtractor {
|
|
24
24
|
static { this._regexRelaxed = /(#([\da-fA-F]{3}){1,2}|(rgb|hsl)a\(\s*(\d{1,3}%?\s*,\s*){3}(1|0?\.\d+)\)|(rgb|hsl)\(\s*\d{1,3}%?(\s*,\s*\d{1,3}%?){2}\s*\))/; }
|
|
25
25
|
static { this._regexStrict = ( new RegExp(`^${ColorExtractor._regexRelaxed.source}$`, 'i')); }
|
|
@@ -75,12 +75,13 @@ let ItemRenderer = class ItemRenderer {
|
|
|
75
75
|
const qualifierLabel = append(left, $('span.qualifier-label'));
|
|
76
76
|
const detailsLabel = append(right, $('span.details-label'));
|
|
77
77
|
const readMore = append(right, $('span.readMore' + ThemeIcon.asCSSSelector(suggestMoreInfoIcon)));
|
|
78
|
-
readMore.title = ( localize(
|
|
78
|
+
readMore.title = ( localize(1552, "Read More"));
|
|
79
79
|
const configureFont = () => {
|
|
80
80
|
const options = this._editor.getOptions();
|
|
81
81
|
const fontInfo = options.get(EditorOption.fontInfo);
|
|
82
82
|
const fontFamily = fontInfo.getMassagedFontFamily();
|
|
83
83
|
const fontFeatureSettings = fontInfo.fontFeatureSettings;
|
|
84
|
+
const fontVariationSettings = fontInfo.fontVariationSettings;
|
|
84
85
|
const fontSize = options.get(EditorOption.suggestFontSize) || fontInfo.fontSize;
|
|
85
86
|
const lineHeight = options.get(EditorOption.suggestLineHeight) || fontInfo.lineHeight;
|
|
86
87
|
const fontWeight = fontInfo.fontWeight;
|
|
@@ -93,6 +94,7 @@ let ItemRenderer = class ItemRenderer {
|
|
|
93
94
|
root.style.letterSpacing = letterSpacingPx;
|
|
94
95
|
main.style.fontFamily = fontFamily;
|
|
95
96
|
main.style.fontFeatureSettings = fontFeatureSettings;
|
|
97
|
+
main.style.fontVariationSettings = fontVariationSettings;
|
|
96
98
|
main.style.lineHeight = lineHeightPx;
|
|
97
99
|
icon.style.height = lineHeightPx;
|
|
98
100
|
icon.style.width = lineHeightPx;
|
|
@@ -17,7 +17,7 @@ let SuggestWidgetStatus = class SuggestWidgetStatus {
|
|
|
17
17
|
this._menuDisposables = ( new DisposableStore());
|
|
18
18
|
this.element = append(container, $('.suggest-status-bar'));
|
|
19
19
|
const actionViewItemProvider = (action => {
|
|
20
|
-
return action instanceof MenuItemAction ? instantiationService.createInstance(TextOnlyMenuEntryActionViewItem, action, { useComma:
|
|
20
|
+
return action instanceof MenuItemAction ? instantiationService.createInstance(TextOnlyMenuEntryActionViewItem, action, { useComma: false }) : undefined;
|
|
21
21
|
});
|
|
22
22
|
this._leftActions = ( new ActionBar(this.element, { actionViewItemProvider }));
|
|
23
23
|
this._rightActions = ( new ActionBar(this.element, { actionViewItemProvider }));
|
|
@@ -9,7 +9,7 @@ var WordContextKey_1;
|
|
|
9
9
|
let WordContextKey = class WordContextKey {
|
|
10
10
|
static { WordContextKey_1 = this; }
|
|
11
11
|
static { this.AtEnd = ( new RawContextKey('atEndOfWord', false, { type: 'boolean', description: ( localize(
|
|
12
|
-
|
|
12
|
+
1553,
|
|
13
13
|
"A context key that is true when at the end of a word. Note that this is only defined when tab-completions are enabled"
|
|
14
14
|
)) })); }
|
|
15
15
|
constructor(_editor, contextKeyService) {
|
|
@@ -16,11 +16,11 @@ import '../../../../platform/theme/common/colors/searchColors.js';
|
|
|
16
16
|
|
|
17
17
|
registerCss(symbolIcons);
|
|
18
18
|
registerColor('symbolIcon.arrayForeground', foreground, ( localize(
|
|
19
|
-
|
|
19
|
+
1554,
|
|
20
20
|
'The foreground color for array symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
21
21
|
)));
|
|
22
22
|
registerColor('symbolIcon.booleanForeground', foreground, ( localize(
|
|
23
|
-
|
|
23
|
+
1555,
|
|
24
24
|
'The foreground color for boolean symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
25
25
|
)));
|
|
26
26
|
registerColor('symbolIcon.classForeground', {
|
|
@@ -29,15 +29,15 @@ registerColor('symbolIcon.classForeground', {
|
|
|
29
29
|
hcDark: '#EE9D28',
|
|
30
30
|
hcLight: '#D67E00'
|
|
31
31
|
}, ( localize(
|
|
32
|
-
|
|
32
|
+
1556,
|
|
33
33
|
'The foreground color for class symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
34
34
|
)));
|
|
35
35
|
registerColor('symbolIcon.colorForeground', foreground, ( localize(
|
|
36
|
-
|
|
36
|
+
1557,
|
|
37
37
|
'The foreground color for color symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
38
38
|
)));
|
|
39
39
|
registerColor('symbolIcon.constantForeground', foreground, ( localize(
|
|
40
|
-
|
|
40
|
+
1558,
|
|
41
41
|
'The foreground color for constant symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
42
42
|
)));
|
|
43
43
|
registerColor('symbolIcon.constructorForeground', {
|
|
@@ -46,7 +46,7 @@ registerColor('symbolIcon.constructorForeground', {
|
|
|
46
46
|
hcDark: '#B180D7',
|
|
47
47
|
hcLight: '#652D90'
|
|
48
48
|
}, ( localize(
|
|
49
|
-
|
|
49
|
+
1559,
|
|
50
50
|
'The foreground color for constructor symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
51
51
|
)));
|
|
52
52
|
const SYMBOL_ICON_ENUMERATOR_FOREGROUND = registerColor('symbolIcon.enumeratorForeground', {
|
|
@@ -55,7 +55,7 @@ const SYMBOL_ICON_ENUMERATOR_FOREGROUND = registerColor('symbolIcon.enumeratorFo
|
|
|
55
55
|
hcDark: '#EE9D28',
|
|
56
56
|
hcLight: '#D67E00'
|
|
57
57
|
}, ( localize(
|
|
58
|
-
|
|
58
|
+
1560,
|
|
59
59
|
'The foreground color for enumerator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
60
60
|
)));
|
|
61
61
|
const SYMBOL_ICON_ENUMERATOR_MEMBER_FOREGROUND = registerColor('symbolIcon.enumeratorMemberForeground', {
|
|
@@ -64,7 +64,7 @@ const SYMBOL_ICON_ENUMERATOR_MEMBER_FOREGROUND = registerColor('symbolIcon.enume
|
|
|
64
64
|
hcDark: '#75BEFF',
|
|
65
65
|
hcLight: '#007ACC'
|
|
66
66
|
}, ( localize(
|
|
67
|
-
|
|
67
|
+
1561,
|
|
68
68
|
'The foreground color for enumerator member symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
69
69
|
)));
|
|
70
70
|
registerColor('symbolIcon.eventForeground', {
|
|
@@ -73,7 +73,7 @@ registerColor('symbolIcon.eventForeground', {
|
|
|
73
73
|
hcDark: '#EE9D28',
|
|
74
74
|
hcLight: '#D67E00'
|
|
75
75
|
}, ( localize(
|
|
76
|
-
|
|
76
|
+
1562,
|
|
77
77
|
'The foreground color for event symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
78
78
|
)));
|
|
79
79
|
registerColor('symbolIcon.fieldForeground', {
|
|
@@ -82,15 +82,15 @@ registerColor('symbolIcon.fieldForeground', {
|
|
|
82
82
|
hcDark: '#75BEFF',
|
|
83
83
|
hcLight: '#007ACC'
|
|
84
84
|
}, ( localize(
|
|
85
|
-
|
|
85
|
+
1563,
|
|
86
86
|
'The foreground color for field symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
87
87
|
)));
|
|
88
88
|
const SYMBOL_ICON_FILE_FOREGROUND = registerColor('symbolIcon.fileForeground', foreground, ( localize(
|
|
89
|
-
|
|
89
|
+
1564,
|
|
90
90
|
'The foreground color for file symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
91
91
|
)));
|
|
92
92
|
const SYMBOL_ICON_FOLDER_FOREGROUND = registerColor('symbolIcon.folderForeground', foreground, ( localize(
|
|
93
|
-
|
|
93
|
+
1565,
|
|
94
94
|
'The foreground color for folder symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
95
95
|
)));
|
|
96
96
|
registerColor('symbolIcon.functionForeground', {
|
|
@@ -99,7 +99,7 @@ registerColor('symbolIcon.functionForeground', {
|
|
|
99
99
|
hcDark: '#B180D7',
|
|
100
100
|
hcLight: '#652D90'
|
|
101
101
|
}, ( localize(
|
|
102
|
-
|
|
102
|
+
1566,
|
|
103
103
|
'The foreground color for function symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
104
104
|
)));
|
|
105
105
|
registerColor('symbolIcon.interfaceForeground', {
|
|
@@ -108,15 +108,15 @@ registerColor('symbolIcon.interfaceForeground', {
|
|
|
108
108
|
hcDark: '#75BEFF',
|
|
109
109
|
hcLight: '#007ACC'
|
|
110
110
|
}, ( localize(
|
|
111
|
-
|
|
111
|
+
1567,
|
|
112
112
|
'The foreground color for interface symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
113
113
|
)));
|
|
114
114
|
registerColor('symbolIcon.keyForeground', foreground, ( localize(
|
|
115
|
-
|
|
115
|
+
1568,
|
|
116
116
|
'The foreground color for key symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
117
117
|
)));
|
|
118
118
|
registerColor('symbolIcon.keywordForeground', foreground, ( localize(
|
|
119
|
-
|
|
119
|
+
1569,
|
|
120
120
|
'The foreground color for keyword symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
121
121
|
)));
|
|
122
122
|
const SYMBOL_ICON_METHOD_FOREGROUND = registerColor('symbolIcon.methodForeground', {
|
|
@@ -125,67 +125,67 @@ const SYMBOL_ICON_METHOD_FOREGROUND = registerColor('symbolIcon.methodForeground
|
|
|
125
125
|
hcDark: '#B180D7',
|
|
126
126
|
hcLight: '#652D90'
|
|
127
127
|
}, ( localize(
|
|
128
|
-
|
|
128
|
+
1570,
|
|
129
129
|
'The foreground color for method symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
130
130
|
)));
|
|
131
131
|
registerColor('symbolIcon.moduleForeground', foreground, ( localize(
|
|
132
|
-
|
|
132
|
+
1571,
|
|
133
133
|
'The foreground color for module symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
134
134
|
)));
|
|
135
135
|
registerColor('symbolIcon.namespaceForeground', foreground, ( localize(
|
|
136
|
-
|
|
136
|
+
1572,
|
|
137
137
|
'The foreground color for namespace symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
138
138
|
)));
|
|
139
139
|
registerColor('symbolIcon.nullForeground', foreground, ( localize(
|
|
140
|
-
|
|
140
|
+
1573,
|
|
141
141
|
'The foreground color for null symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
142
142
|
)));
|
|
143
143
|
registerColor('symbolIcon.numberForeground', foreground, ( localize(
|
|
144
|
-
|
|
144
|
+
1574,
|
|
145
145
|
'The foreground color for number symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
146
146
|
)));
|
|
147
147
|
registerColor('symbolIcon.objectForeground', foreground, ( localize(
|
|
148
|
-
|
|
148
|
+
1575,
|
|
149
149
|
'The foreground color for object symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
150
150
|
)));
|
|
151
151
|
registerColor('symbolIcon.operatorForeground', foreground, ( localize(
|
|
152
|
-
|
|
152
|
+
1576,
|
|
153
153
|
'The foreground color for operator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
154
154
|
)));
|
|
155
155
|
registerColor('symbolIcon.packageForeground', foreground, ( localize(
|
|
156
|
-
|
|
156
|
+
1577,
|
|
157
157
|
'The foreground color for package symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
158
158
|
)));
|
|
159
159
|
registerColor('symbolIcon.propertyForeground', foreground, ( localize(
|
|
160
|
-
|
|
160
|
+
1578,
|
|
161
161
|
'The foreground color for property symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
162
162
|
)));
|
|
163
163
|
registerColor('symbolIcon.referenceForeground', foreground, ( localize(
|
|
164
|
-
|
|
164
|
+
1579,
|
|
165
165
|
'The foreground color for reference symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
166
166
|
)));
|
|
167
167
|
registerColor('symbolIcon.snippetForeground', foreground, ( localize(
|
|
168
|
-
|
|
168
|
+
1580,
|
|
169
169
|
'The foreground color for snippet symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
170
170
|
)));
|
|
171
171
|
registerColor('symbolIcon.stringForeground', foreground, ( localize(
|
|
172
|
-
|
|
172
|
+
1581,
|
|
173
173
|
'The foreground color for string symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
174
174
|
)));
|
|
175
175
|
registerColor('symbolIcon.structForeground', foreground, ( localize(
|
|
176
|
-
|
|
176
|
+
1582,
|
|
177
177
|
'The foreground color for struct symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
178
178
|
)));
|
|
179
179
|
registerColor('symbolIcon.textForeground', foreground, ( localize(
|
|
180
|
-
|
|
180
|
+
1583,
|
|
181
181
|
'The foreground color for text symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
182
182
|
)));
|
|
183
183
|
registerColor('symbolIcon.typeParameterForeground', foreground, ( localize(
|
|
184
|
-
|
|
184
|
+
1584,
|
|
185
185
|
'The foreground color for type parameter symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
186
186
|
)));
|
|
187
187
|
registerColor('symbolIcon.unitForeground', foreground, ( localize(
|
|
188
|
-
|
|
188
|
+
1585,
|
|
189
189
|
'The foreground color for unit symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
190
190
|
)));
|
|
191
191
|
const SYMBOL_ICON_VARIABLE_FOREGROUND = registerColor('symbolIcon.variableForeground', {
|
|
@@ -194,7 +194,7 @@ const SYMBOL_ICON_VARIABLE_FOREGROUND = registerColor('symbolIcon.variableForegr
|
|
|
194
194
|
hcDark: '#75BEFF',
|
|
195
195
|
hcLight: '#007ACC',
|
|
196
196
|
}, ( localize(
|
|
197
|
-
|
|
197
|
+
1586,
|
|
198
198
|
'The foreground color for variable symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
199
199
|
)));
|
|
200
200
|
|
|
@@ -11,7 +11,7 @@ class ToggleTabFocusModeAction extends Action2 {
|
|
|
11
11
|
constructor() {
|
|
12
12
|
super({
|
|
13
13
|
id: ToggleTabFocusModeAction.ID,
|
|
14
|
-
title: ( localize2(
|
|
14
|
+
title: ( localize2(1587, 'Toggle Tab Key Moves Focus')),
|
|
15
15
|
precondition: undefined,
|
|
16
16
|
keybinding: {
|
|
17
17
|
primary: KeyMod$1.CtrlCmd | KeyCode.KeyM,
|
|
@@ -20,7 +20,7 @@ class ToggleTabFocusModeAction extends Action2 {
|
|
|
20
20
|
},
|
|
21
21
|
metadata: {
|
|
22
22
|
description: ( localize2(
|
|
23
|
-
|
|
23
|
+
1588,
|
|
24
24
|
"Determines whether the tab key moves focus around the workbench or inserts the tab character in the current editor. This is also called tab trapping, tab navigation, or tab focus mode."
|
|
25
25
|
)),
|
|
26
26
|
},
|
|
@@ -32,10 +32,10 @@ class ToggleTabFocusModeAction extends Action2 {
|
|
|
32
32
|
const newValue = !oldValue;
|
|
33
33
|
TabFocus.setTabFocusMode(newValue);
|
|
34
34
|
if (newValue) {
|
|
35
|
-
alert(( localize(
|
|
35
|
+
alert(( localize(1589, "Pressing Tab will now move focus to the next focusable element")));
|
|
36
36
|
}
|
|
37
37
|
else {
|
|
38
|
-
alert(( localize(
|
|
38
|
+
alert(( localize(1590, "Pressing Tab will now insert the tab character")));
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -7,7 +7,7 @@ class ForceRetokenizeAction extends EditorAction {
|
|
|
7
7
|
constructor() {
|
|
8
8
|
super({
|
|
9
9
|
id: 'editor.action.forceRetokenize',
|
|
10
|
-
label: ( localize2(
|
|
10
|
+
label: ( localize2(1591, "Developer: Force Retokenize")),
|
|
11
11
|
precondition: undefined
|
|
12
12
|
});
|
|
13
13
|
}
|
|
@@ -90,7 +90,7 @@ let Banner = class Banner extends Disposable {
|
|
|
90
90
|
}
|
|
91
91
|
const actionBarContainer = append(this.element, $('div.action-container'));
|
|
92
92
|
this.actionBar = this._register(( new ActionBar(actionBarContainer)));
|
|
93
|
-
this.actionBar.push(this._register(( new Action('banner.close', ( localize(
|
|
93
|
+
this.actionBar.push(this._register(( new Action('banner.close', ( localize(1592, "Close Banner")), ThemeIcon.asClassName(widgetClose), true, () => {
|
|
94
94
|
if (typeof item.onClose === 'function') {
|
|
95
95
|
item.onClose();
|
|
96
96
|
}
|