@codingame/monaco-vscode-api 11.0.0 → 11.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.js +1 -1
- package/missing-services.js +2 -2
- package/package.json +8 -8
- package/services.js +2 -2
- package/vscode/src/vs/base/browser/ui/button/button.js +1 -1
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +6 -6
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +1 -1
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +2 -2
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +6 -6
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.js +1 -1
- package/vscode/src/vs/base/browser/ui/menu/menubar.js +1 -1
- package/vscode/src/vs/base/browser/ui/splitview/paneview.js +1 -1
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +1 -1
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +9 -9
- package/vscode/src/vs/base/browser/ui/tree/treeDefaults.js +1 -1
- package/vscode/src/vs/base/common/date.js +61 -61
- package/vscode/src/vs/base/common/errorMessage.js +6 -6
- package/vscode/src/vs/base/common/jsonErrorMessages.js +9 -9
- package/vscode/src/vs/base/common/keybindingLabels.js +20 -20
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +14 -14
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +1 -1
- 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/features/movedBlocksLinesFeature.js +4 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +2 -2
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +51 -51
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/editorContextKeys.js +46 -46
- package/vscode/src/vs/editor/common/languages.js +27 -27
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/standaloneStrings.js +32 -32
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +6 -4
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- 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/quickAccess/browser/gotoLineQuickAccess.js +5 -5
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- 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/platform/accessibilitySignal/browser/accessibilitySignalService.js +49 -49
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- 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/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
- package/vscode/src/vs/platform/configuration/common/configurationModels.js +5 -20
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- 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.js +9 -9
- package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -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/extensionsScannerService.js +7 -7
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +28 -20
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +1 -1
- package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +3 -3
- package/vscode/src/vs/platform/list/browser/listService.js +27 -27
- package/vscode/src/vs/platform/markers/common/markers.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +8 -8
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +6 -6
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/request/common/request.js +14 -14
- package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +17 -17
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +94 -94
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +45 -45
- 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 +8 -8
- 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 +5 -5
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -42
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +1 -1
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +1 -1
- 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/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
- 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/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/layoutActions.js +129 -129
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +25 -25
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +21 -21
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +4 -4
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/labels.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +11 -11
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +11 -11
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +18 -18
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +61 -61
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +15 -15
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +34 -34
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +18 -18
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.js +13 -13
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +7 -7
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +6 -6
- package/vscode/src/vs/workbench/browser/quickaccess.js +1 -1
- package/vscode/src/vs/workbench/browser/window.js +16 -16
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +217 -217
- package/vscode/src/vs/workbench/common/configuration.js +10 -10
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
- package/vscode/src/vs/workbench/common/theme.js +156 -156
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +131 -131
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +25 -25
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +15 -15
- package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +10 -10
- package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +10 -10
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +173 -173
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +24 -24
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +3 -3
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +4 -4
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +18 -18
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +14 -14
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +84 -84
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands._save.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +33 -33
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +52 -52
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +8 -8
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +7 -7
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/common/files.js +14 -14
- 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/inlineChatActions.js +18 -18
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +6 -6
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +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/logs/common/logsActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +29 -29
- package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +3 -3
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +12 -12
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +10 -10
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +50 -50
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +2 -2
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +21 -21
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +15 -15
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +17 -17
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +60 -60
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +2 -2
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +23 -23
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistory.js +13 -13
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +10 -10
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +10 -10
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.js +8 -8
- package/vscode/src/vs/workbench/contrib/search/browser/searchIcons.js +20 -20
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +2 -2
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +2 -2
- 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/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +23 -23
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/activity/common/activity.js +4 -4
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +3 -3
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +15 -15
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +1 -1
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +82 -82
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +5 -5
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +2 -2
- 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/textMate/common/TMGrammars.js +9 -9
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +8 -8
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +3 -3
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +1 -1
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +11 -11
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +7 -7
|
@@ -20,20 +20,20 @@ const SWIMLANE_WIDTH = 11;
|
|
|
20
20
|
const SWIMLANE_CURVE_RADIUS = 5;
|
|
21
21
|
const CIRCLE_RADIUS = 4;
|
|
22
22
|
const CIRCLE_STROKE_WIDTH = 2;
|
|
23
|
-
const historyItemRefColor = registerColor('scmGraph.historyItemRefColor', chartsBlue, ( localize(
|
|
24
|
-
const historyItemRemoteRefColor = registerColor('scmGraph.historyItemRemoteRefColor', chartsPurple, ( localize(
|
|
25
|
-
const historyItemBaseRefColor = registerColor('scmGraph.historyItemBaseRefColor', '#EA5C00', ( localize(
|
|
26
|
-
const historyItemHoverDefaultLabelForeground = registerColor('scmGraph.historyItemHoverDefaultLabelForeground', foreground, ( localize(
|
|
27
|
-
const historyItemHoverDefaultLabelBackground = registerColor('scmGraph.historyItemHoverDefaultLabelBackground', badgeBackground, ( localize(
|
|
28
|
-
const historyItemHoverLabelForeground = registerColor('scmGraph.historyItemHoverLabelForeground', buttonForeground, ( localize(
|
|
29
|
-
const historyItemHoverAdditionsForeground = registerColor('scmGraph.historyItemHoverAdditionsForeground', { light: '#587C0C', dark: '#81B88B', hcDark: '#A1E3AD', hcLight: '#374E06' }, ( localize(
|
|
30
|
-
const historyItemHoverDeletionsForeground = registerColor('scmGraph.historyItemHoverDeletionsForeground', { light: '#AD0707', dark: '#C74E39', hcDark: '#C74E39', hcLight: '#AD0707' }, ( localize(
|
|
23
|
+
const historyItemRefColor = registerColor('scmGraph.historyItemRefColor', chartsBlue, ( localize(10025, "History item reference color.")));
|
|
24
|
+
const historyItemRemoteRefColor = registerColor('scmGraph.historyItemRemoteRefColor', chartsPurple, ( localize(10026, "History item remote reference color.")));
|
|
25
|
+
const historyItemBaseRefColor = registerColor('scmGraph.historyItemBaseRefColor', '#EA5C00', ( localize(10027, "History item base reference color.")));
|
|
26
|
+
const historyItemHoverDefaultLabelForeground = registerColor('scmGraph.historyItemHoverDefaultLabelForeground', foreground, ( localize(10028, "History item hover default label foreground color.")));
|
|
27
|
+
const historyItemHoverDefaultLabelBackground = registerColor('scmGraph.historyItemHoverDefaultLabelBackground', badgeBackground, ( localize(10029, "History item hover default label background color.")));
|
|
28
|
+
const historyItemHoverLabelForeground = registerColor('scmGraph.historyItemHoverLabelForeground', buttonForeground, ( localize(10030, "History item hover label foreground color.")));
|
|
29
|
+
const historyItemHoverAdditionsForeground = registerColor('scmGraph.historyItemHoverAdditionsForeground', { light: '#587C0C', dark: '#81B88B', hcDark: '#A1E3AD', hcLight: '#374E06' }, ( localize(10031, "History item hover additions foreground color.")));
|
|
30
|
+
const historyItemHoverDeletionsForeground = registerColor('scmGraph.historyItemHoverDeletionsForeground', { light: '#AD0707', dark: '#C74E39', hcDark: '#C74E39', hcLight: '#AD0707' }, ( localize(10032, "History item hover deletions foreground color.")));
|
|
31
31
|
const colorRegistry = [
|
|
32
|
-
registerColor('scmGraph.foreground1', '#FFB000', ( localize(
|
|
33
|
-
registerColor('scmGraph.foreground2', '#DC267F', ( localize(
|
|
34
|
-
registerColor('scmGraph.foreground3', '#994F00', ( localize(
|
|
35
|
-
registerColor('scmGraph.foreground4', '#40B0A6', ( localize(
|
|
36
|
-
registerColor('scmGraph.foreground5', '#B66DFF', ( localize(
|
|
32
|
+
registerColor('scmGraph.foreground1', '#FFB000', ( localize(10033, "Source control graph foreground color (1)."))),
|
|
33
|
+
registerColor('scmGraph.foreground2', '#DC267F', ( localize(10034, "Source control graph foreground color (2)."))),
|
|
34
|
+
registerColor('scmGraph.foreground3', '#994F00', ( localize(10035, "Source control graph foreground color (3)."))),
|
|
35
|
+
registerColor('scmGraph.foreground4', '#40B0A6', ( localize(10036, "Source control graph foreground color (4)."))),
|
|
36
|
+
registerColor('scmGraph.foreground5', '#B66DFF', ( localize(10037, "Source control graph foreground color (5)."))),
|
|
37
37
|
];
|
|
38
38
|
function getLabelColorIdentifier(historyItem, colorMap) {
|
|
39
39
|
for (const ref of historyItem.references ?? []) {
|
|
@@ -61,7 +61,7 @@ let AnythingQuickAccessProvider = class AnythingQuickAccessProvider extends Pick
|
|
|
61
61
|
static { AnythingQuickAccessProvider_1 = this; }
|
|
62
62
|
static { this.PREFIX = ''; }
|
|
63
63
|
static { this.NO_RESULTS_PICK = {
|
|
64
|
-
label: ( localize(
|
|
64
|
+
label: ( localize(8527, "No matching results"))
|
|
65
65
|
}; }
|
|
66
66
|
static { this.MAX_RESULTS = 512; }
|
|
67
67
|
static { this.TYPING_SEARCH_DELAY = 200; }
|
|
@@ -257,7 +257,7 @@ let AnythingQuickAccessProvider = class AnythingQuickAccessProvider extends Pick
|
|
|
257
257
|
}
|
|
258
258
|
if (this.pickState.isQuickNavigating) {
|
|
259
259
|
if (picks.length > 0) {
|
|
260
|
-
picks.push({ type: 'separator', label: ( localize(
|
|
260
|
+
picks.push({ type: 'separator', label: ( localize(8528, "recently opened")) });
|
|
261
261
|
}
|
|
262
262
|
picks = historyEditorPicks;
|
|
263
263
|
}
|
|
@@ -266,7 +266,7 @@ let AnythingQuickAccessProvider = class AnythingQuickAccessProvider extends Pick
|
|
|
266
266
|
picks.push(...this.getHelpPicks(query, token, options));
|
|
267
267
|
}
|
|
268
268
|
if (historyEditorPicks.length !== 0) {
|
|
269
|
-
picks.push({ type: 'separator', label: ( localize(
|
|
269
|
+
picks.push({ type: 'separator', label: ( localize(8528, "recently opened")) });
|
|
270
270
|
picks.push(...historyEditorPicks);
|
|
271
271
|
}
|
|
272
272
|
}
|
|
@@ -287,7 +287,7 @@ let AnythingQuickAccessProvider = class AnythingQuickAccessProvider extends Pick
|
|
|
287
287
|
return [];
|
|
288
288
|
}
|
|
289
289
|
return additionalPicks.length > 0 ? [
|
|
290
|
-
{ type: 'separator', label: this.configuration.includeSymbols ? ( localize(
|
|
290
|
+
{ type: 'separator', label: this.configuration.includeSymbols ? ( localize(8529, "file and symbol results")) : ( localize(8530, "file results")) },
|
|
291
291
|
...additionalPicks
|
|
292
292
|
] : [];
|
|
293
293
|
})(),
|
|
@@ -546,7 +546,7 @@ let AnythingQuickAccessProvider = class AnythingQuickAccessProvider extends Pick
|
|
|
546
546
|
description: helpEntry.prefix ?? provider.prefix,
|
|
547
547
|
commandCenterOrder: helpEntry.commandCenterOrder,
|
|
548
548
|
keybinding: helpEntry.commandId ? this.keybindingService.lookupKeybinding(helpEntry.commandId) : undefined,
|
|
549
|
-
ariaLabel: ( localize(
|
|
549
|
+
ariaLabel: ( localize(8531, "{0}, {1}", label, helpEntry.description)),
|
|
550
550
|
accept: () => {
|
|
551
551
|
this.quickInputService.quickAccess.show(provider.prefix, {
|
|
552
552
|
preserveValue: true,
|
|
@@ -557,7 +557,7 @@ let AnythingQuickAccessProvider = class AnythingQuickAccessProvider extends Pick
|
|
|
557
557
|
}))));
|
|
558
558
|
if (this.quickChatService.enabled) {
|
|
559
559
|
providers.push({
|
|
560
|
-
label: ( localize(
|
|
560
|
+
label: ( localize(8532, "Open Quick Chat")),
|
|
561
561
|
commandCenterOrder: 30,
|
|
562
562
|
keybinding: this.keybindingService.lookupKeybinding(ASK_QUICK_QUESTION_ACTION_ID),
|
|
563
563
|
accept: () => this.quickChatService.toggle()
|
|
@@ -688,13 +688,13 @@ let AnythingQuickAccessProvider = class AnythingQuickAccessProvider extends Pick
|
|
|
688
688
|
buttons.push({
|
|
689
689
|
iconClass: openSideBySideDirection === 'right' ? ThemeIcon.asClassName(Codicon.splitHorizontal) : ThemeIcon.asClassName(Codicon.splitVertical),
|
|
690
690
|
tooltip: openSideBySideDirection === 'right' ?
|
|
691
|
-
( localize(
|
|
692
|
-
( localize(
|
|
691
|
+
( localize(8533, "Open to the Side")) :
|
|
692
|
+
( localize(8534, "Open to the Bottom"))
|
|
693
693
|
});
|
|
694
694
|
if (isEditorHistoryEntry) {
|
|
695
695
|
buttons.push({
|
|
696
696
|
iconClass: isDirty ? ('dirty-anything ' + ThemeIcon.asClassName(Codicon.circleFilled)) : ThemeIcon.asClassName(Codicon.close),
|
|
697
|
-
tooltip: ( localize(
|
|
697
|
+
tooltip: ( localize(8535, "Remove from Recently Opened")),
|
|
698
698
|
alwaysVisible: isDirty
|
|
699
699
|
});
|
|
700
700
|
}
|
|
@@ -703,7 +703,7 @@ let AnythingQuickAccessProvider = class AnythingQuickAccessProvider extends Pick
|
|
|
703
703
|
return {
|
|
704
704
|
resource,
|
|
705
705
|
label,
|
|
706
|
-
ariaLabel: isDirty ? ( localize(
|
|
706
|
+
ariaLabel: isDirty ? ( localize(8536, "{0} unsaved changes", labelAndDescription)) : labelAndDescription,
|
|
707
707
|
description,
|
|
708
708
|
get iconClasses() { return iconClassesValue.value; },
|
|
709
709
|
get buttons() { return buttonsValue.value; },
|
|
@@ -4,7 +4,7 @@ import { VIEW_ID } from '../../../services/search/common/search.js';
|
|
|
4
4
|
import { isSearchTreeFileMatch, isSearchTreeMatch, isSearchTreeFolderMatch } from './searchTreeModel/searchTreeCommon.js';
|
|
5
5
|
import { searchComparer } from './searchCompare.js';
|
|
6
6
|
|
|
7
|
-
const category = ( localize2(
|
|
7
|
+
const category = ( localize2(8494, "Search"));
|
|
8
8
|
function isSearchViewFocused(viewsService) {
|
|
9
9
|
const searchView = getSearchView(viewsService);
|
|
10
10
|
return !!(searchView && isAncestorOfActiveElement(searchView.getContainer()));
|
|
@@ -29,7 +29,7 @@ registerAction2(class RestrictSearchToFolderAction extends Action2 {
|
|
|
29
29
|
constructor() {
|
|
30
30
|
super({
|
|
31
31
|
id: "search.action.restrictSearchToFolder" ,
|
|
32
|
-
title: ( localize2(
|
|
32
|
+
title: ( localize2(8606, "Restrict Search to Folder")),
|
|
33
33
|
category,
|
|
34
34
|
keybinding: {
|
|
35
35
|
weight: 200 ,
|
|
@@ -54,7 +54,7 @@ registerAction2(class ExpandSelectedTreeCommandAction extends Action2 {
|
|
|
54
54
|
constructor() {
|
|
55
55
|
super({
|
|
56
56
|
id: "search.action.expandRecursively" ,
|
|
57
|
-
title: ( localize(
|
|
57
|
+
title: ( localize(8607, "Expand Recursively")),
|
|
58
58
|
category,
|
|
59
59
|
menu: [{
|
|
60
60
|
id: MenuId.SearchContext,
|
|
@@ -72,7 +72,7 @@ registerAction2(class ExcludeFolderFromSearchAction extends Action2 {
|
|
|
72
72
|
constructor() {
|
|
73
73
|
super({
|
|
74
74
|
id: "search.action.excludeFromSearch" ,
|
|
75
|
-
title: ( localize2(
|
|
75
|
+
title: ( localize2(8608, "Exclude Folder from Search")),
|
|
76
76
|
category,
|
|
77
77
|
menu: [
|
|
78
78
|
{
|
|
@@ -92,7 +92,7 @@ registerAction2(class RevealInSideBarForSearchResultsAction extends Action2 {
|
|
|
92
92
|
constructor() {
|
|
93
93
|
super({
|
|
94
94
|
id: "search.action.revealInSideBar" ,
|
|
95
|
-
title: ( localize2(
|
|
95
|
+
title: ( localize2(8609, "Reveal in Explorer View")),
|
|
96
96
|
category,
|
|
97
97
|
menu: [{
|
|
98
98
|
id: MenuId.SearchContext,
|
|
@@ -137,14 +137,14 @@ registerAction2(class FindInFilesAction extends Action2 {
|
|
|
137
137
|
super({
|
|
138
138
|
id: "workbench.action.findInFiles" ,
|
|
139
139
|
title: {
|
|
140
|
-
...( localize2(
|
|
141
|
-
mnemonicTitle: ( localize(
|
|
140
|
+
...( localize2(8610, "Find in Files")),
|
|
141
|
+
mnemonicTitle: ( localize(8611, "Find &&in Files")),
|
|
142
142
|
},
|
|
143
143
|
metadata: {
|
|
144
|
-
description: ( localize(
|
|
144
|
+
description: ( localize(8612, "Open a workspace search")),
|
|
145
145
|
args: [
|
|
146
146
|
{
|
|
147
|
-
name: ( localize(
|
|
147
|
+
name: ( localize(8613, "A set of options for the search")),
|
|
148
148
|
schema: {
|
|
149
149
|
type: 'object',
|
|
150
150
|
properties: {
|
|
@@ -186,7 +186,7 @@ registerAction2(class FindInFolderAction extends Action2 {
|
|
|
186
186
|
constructor() {
|
|
187
187
|
super({
|
|
188
188
|
id: "filesExplorer.findInFolder" ,
|
|
189
|
-
title: ( localize2(
|
|
189
|
+
title: ( localize2(8614, "Find in Folder...")),
|
|
190
190
|
category,
|
|
191
191
|
keybinding: {
|
|
192
192
|
weight: 200 ,
|
|
@@ -211,7 +211,7 @@ registerAction2(class FindInWorkspaceAction extends Action2 {
|
|
|
211
211
|
constructor() {
|
|
212
212
|
super({
|
|
213
213
|
id: "filesExplorer.findInWorkspace" ,
|
|
214
|
-
title: ( localize2(
|
|
214
|
+
title: ( localize2(8615, "Find in Workspace...")),
|
|
215
215
|
category,
|
|
216
216
|
menu: [
|
|
217
217
|
{
|
|
@@ -15,7 +15,7 @@ registerAction2(class ClearSearchHistoryCommandAction extends Action2 {
|
|
|
15
15
|
constructor() {
|
|
16
16
|
super({
|
|
17
17
|
id: "search.action.clearHistory" ,
|
|
18
|
-
title: ( localize2(
|
|
18
|
+
title: ( localize2(8638, "Clear Search History")),
|
|
19
19
|
category,
|
|
20
20
|
f1: true
|
|
21
21
|
});
|
|
@@ -28,7 +28,7 @@ registerAction2(class CancelSearchAction extends Action2 {
|
|
|
28
28
|
constructor() {
|
|
29
29
|
super({
|
|
30
30
|
id: "search.action.cancel" ,
|
|
31
|
-
title: ( localize2(
|
|
31
|
+
title: ( localize2(8639, "Cancel Search")),
|
|
32
32
|
icon: searchStopIcon,
|
|
33
33
|
category,
|
|
34
34
|
f1: true,
|
|
@@ -57,7 +57,7 @@ registerAction2(class RefreshAction extends Action2 {
|
|
|
57
57
|
constructor() {
|
|
58
58
|
super({
|
|
59
59
|
id: "search.action.refreshSearchResults" ,
|
|
60
|
-
title: ( localize2(
|
|
60
|
+
title: ( localize2(8640, "Refresh")),
|
|
61
61
|
icon: searchRefreshIcon,
|
|
62
62
|
precondition: SearchContext.ViewHasSearchPatternKey,
|
|
63
63
|
category,
|
|
@@ -81,7 +81,7 @@ registerAction2(class CollapseDeepestExpandedLevelAction extends Action2 {
|
|
|
81
81
|
constructor() {
|
|
82
82
|
super({
|
|
83
83
|
id: "search.action.collapseSearchResults" ,
|
|
84
|
-
title: ( localize2(
|
|
84
|
+
title: ( localize2(8641, "Collapse All")),
|
|
85
85
|
category,
|
|
86
86
|
icon: searchCollapseAllIcon,
|
|
87
87
|
f1: true,
|
|
@@ -108,7 +108,7 @@ registerAction2(class ExpandAllAction extends Action2 {
|
|
|
108
108
|
constructor() {
|
|
109
109
|
super({
|
|
110
110
|
id: "search.action.expandSearchResults" ,
|
|
111
|
-
title: ( localize2(
|
|
111
|
+
title: ( localize2(8642, "Expand All")),
|
|
112
112
|
category,
|
|
113
113
|
icon: searchExpandAllIcon,
|
|
114
114
|
f1: true,
|
|
@@ -136,7 +136,7 @@ registerAction2(class ClearSearchResultsAction extends Action2 {
|
|
|
136
136
|
constructor() {
|
|
137
137
|
super({
|
|
138
138
|
id: "search.action.clearSearchResults" ,
|
|
139
|
-
title: ( localize2(
|
|
139
|
+
title: ( localize2(8643, "Clear Search Results")),
|
|
140
140
|
category,
|
|
141
141
|
icon: searchClearIcon,
|
|
142
142
|
f1: true,
|
|
@@ -162,7 +162,7 @@ registerAction2(class ViewAsTreeAction extends Action2 {
|
|
|
162
162
|
constructor() {
|
|
163
163
|
super({
|
|
164
164
|
id: "search.action.viewAsTree" ,
|
|
165
|
-
title: ( localize2(
|
|
165
|
+
title: ( localize2(8644, "View as Tree")),
|
|
166
166
|
category,
|
|
167
167
|
icon: searchShowAsList,
|
|
168
168
|
f1: true,
|
|
@@ -192,7 +192,7 @@ registerAction2(class ViewAsListAction extends Action2 {
|
|
|
192
192
|
constructor() {
|
|
193
193
|
super({
|
|
194
194
|
id: "search.action.viewAsList" ,
|
|
195
|
-
title: ( localize2(
|
|
195
|
+
title: ( localize2(8645, "View as List")),
|
|
196
196
|
category,
|
|
197
197
|
icon: searchShowAsTree,
|
|
198
198
|
f1: true,
|
|
@@ -2,28 +2,28 @@ import { Codicon } from '../../../../base/common/codicons.js';
|
|
|
2
2
|
import { localize } from '../../../../nls.js';
|
|
3
3
|
import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js';
|
|
4
4
|
|
|
5
|
-
const searchDetailsIcon = registerIcon('search-details', Codicon.ellipsis, ( localize(
|
|
6
|
-
const searchActivityBarIcon = registerIcon('search-see-more', Codicon.goToSearch, ( localize(
|
|
7
|
-
const searchShowContextIcon = registerIcon('search-show-context', Codicon.listSelection, ( localize(
|
|
8
|
-
const searchHideReplaceIcon = registerIcon('search-hide-replace', Codicon.chevronRight, ( localize(
|
|
9
|
-
const searchShowReplaceIcon = registerIcon('search-show-replace', Codicon.chevronDown, ( localize(
|
|
10
|
-
const searchReplaceAllIcon = registerIcon('search-replace-all', Codicon.replaceAll, ( localize(
|
|
11
|
-
const searchReplaceIcon = registerIcon('search-replace', Codicon.replace, ( localize(
|
|
12
|
-
const searchRemoveIcon = registerIcon('search-remove', Codicon.close, ( localize(
|
|
13
|
-
const searchRefreshIcon = registerIcon('search-refresh', Codicon.refresh, ( localize(
|
|
14
|
-
const searchCollapseAllIcon = registerIcon('search-collapse-results', Codicon.collapseAll, ( localize(
|
|
15
|
-
const searchExpandAllIcon = registerIcon('search-expand-results', Codicon.expandAll, ( localize(
|
|
16
|
-
const searchShowAsTree = registerIcon('search-tree', Codicon.listTree, ( localize(
|
|
17
|
-
const searchShowAsList = registerIcon('search-list', Codicon.listFlat, ( localize(
|
|
18
|
-
const searchClearIcon = registerIcon('search-clear-results', Codicon.clearAll, ( localize(
|
|
19
|
-
const searchStopIcon = registerIcon('search-stop', Codicon.searchStop, ( localize(
|
|
20
|
-
const searchViewIcon = registerIcon('search-view-icon', Codicon.search, ( localize(
|
|
21
|
-
const searchNewEditorIcon = registerIcon('search-new-editor', Codicon.newFile, ( localize(
|
|
5
|
+
const searchDetailsIcon = registerIcon('search-details', Codicon.ellipsis, ( localize(8495, 'Icon to make search details visible.')));
|
|
6
|
+
const searchActivityBarIcon = registerIcon('search-see-more', Codicon.goToSearch, ( localize(8496, 'Icon to view more context in the search view.')));
|
|
7
|
+
const searchShowContextIcon = registerIcon('search-show-context', Codicon.listSelection, ( localize(8497, 'Icon for toggle the context in the search editor.')));
|
|
8
|
+
const searchHideReplaceIcon = registerIcon('search-hide-replace', Codicon.chevronRight, ( localize(8498, 'Icon to collapse the replace section in the search view.')));
|
|
9
|
+
const searchShowReplaceIcon = registerIcon('search-show-replace', Codicon.chevronDown, ( localize(8499, 'Icon to expand the replace section in the search view.')));
|
|
10
|
+
const searchReplaceAllIcon = registerIcon('search-replace-all', Codicon.replaceAll, ( localize(8500, 'Icon for replace all in the search view.')));
|
|
11
|
+
const searchReplaceIcon = registerIcon('search-replace', Codicon.replace, ( localize(8501, 'Icon for replace in the search view.')));
|
|
12
|
+
const searchRemoveIcon = registerIcon('search-remove', Codicon.close, ( localize(8502, 'Icon to remove a search result.')));
|
|
13
|
+
const searchRefreshIcon = registerIcon('search-refresh', Codicon.refresh, ( localize(8503, 'Icon for refresh in the search view.')));
|
|
14
|
+
const searchCollapseAllIcon = registerIcon('search-collapse-results', Codicon.collapseAll, ( localize(8504, 'Icon for collapse results in the search view.')));
|
|
15
|
+
const searchExpandAllIcon = registerIcon('search-expand-results', Codicon.expandAll, ( localize(8505, 'Icon for expand results in the search view.')));
|
|
16
|
+
const searchShowAsTree = registerIcon('search-tree', Codicon.listTree, ( localize(8506, 'Icon for viewing results as a tree in the search view.')));
|
|
17
|
+
const searchShowAsList = registerIcon('search-list', Codicon.listFlat, ( localize(8507, 'Icon for viewing results as a list in the search view.')));
|
|
18
|
+
const searchClearIcon = registerIcon('search-clear-results', Codicon.clearAll, ( localize(8508, 'Icon for clear results in the search view.')));
|
|
19
|
+
const searchStopIcon = registerIcon('search-stop', Codicon.searchStop, ( localize(8509, 'Icon for stop in the search view.')));
|
|
20
|
+
const searchViewIcon = registerIcon('search-view-icon', Codicon.search, ( localize(8510, 'View icon of the search view.')));
|
|
21
|
+
const searchNewEditorIcon = registerIcon('search-new-editor', Codicon.newFile, ( localize(8511, 'Icon for the action to open a new search editor.')));
|
|
22
22
|
const searchOpenInFileIcon = registerIcon('search-open-in-file', Codicon.goToFile, ( localize(
|
|
23
|
-
|
|
23
|
+
8512,
|
|
24
24
|
'Icon for the action to go to the file of the current search result.'
|
|
25
25
|
)));
|
|
26
|
-
registerIcon('search-sparkle-filled', Codicon.sparkleFilled, ( localize(
|
|
27
|
-
registerIcon('search-sparkle-empty', Codicon.sparkle, ( localize(
|
|
26
|
+
registerIcon('search-sparkle-filled', Codicon.sparkleFilled, ( localize(8513, 'Icon to show AI results in search.')));
|
|
27
|
+
registerIcon('search-sparkle-empty', Codicon.sparkle, ( localize(8514, 'Icon to hide AI results in search.')));
|
|
28
28
|
|
|
29
29
|
export { searchActivityBarIcon, searchClearIcon, searchCollapseAllIcon, searchDetailsIcon, searchExpandAllIcon, searchHideReplaceIcon, searchNewEditorIcon, searchOpenInFileIcon, searchRefreshIcon, searchRemoveIcon, searchReplaceAllIcon, searchReplaceIcon, searchShowAsList, searchShowAsTree, searchShowContextIcon, searchShowReplaceIcon, searchStopIcon, searchViewIcon };
|
|
@@ -42,7 +42,7 @@ let SymbolsQuickAccessProvider = class SymbolsQuickAccessProvider extends Picker
|
|
|
42
42
|
super(SymbolsQuickAccessProvider_1.PREFIX, {
|
|
43
43
|
canAcceptInBackground: true,
|
|
44
44
|
noResultsPick: {
|
|
45
|
-
label: ( localize(
|
|
45
|
+
label: ( localize(8592, "No matching workspace symbols"))
|
|
46
46
|
}
|
|
47
47
|
});
|
|
48
48
|
this.labelService = labelService;
|
|
@@ -150,7 +150,7 @@ let SymbolsQuickAccessProvider = class SymbolsQuickAccessProvider extends Picker
|
|
|
150
150
|
buttons: [
|
|
151
151
|
{
|
|
152
152
|
iconClass: openSideBySideDirection === 'right' ? ThemeIcon.asClassName(Codicon.splitHorizontal) : ThemeIcon.asClassName(Codicon.splitVertical),
|
|
153
|
-
tooltip: openSideBySideDirection === 'right' ? ( localize(
|
|
153
|
+
tooltip: openSideBySideDirection === 'right' ? ( localize(8593, "Open to the Side")) : ( localize(8594, "Open to the Bottom"))
|
|
154
154
|
}
|
|
155
155
|
],
|
|
156
156
|
trigger: (buttonIndex, keyMods) => {
|
package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js
CHANGED
|
@@ -3,7 +3,7 @@ import { localize2 } from '../../../../../nls.js';
|
|
|
3
3
|
import { Action2 } from '../../../../../platform/actions/common/actions.js';
|
|
4
4
|
|
|
5
5
|
const defaultOptions = {
|
|
6
|
-
category: ( localize2(
|
|
6
|
+
category: ( localize2(10741, "Snippets")),
|
|
7
7
|
};
|
|
8
8
|
class SnippetsAction extends Action2 {
|
|
9
9
|
constructor(desc) {
|
|
@@ -14,7 +14,7 @@ class ApplyFileSnippetAction extends SnippetsAction {
|
|
|
14
14
|
constructor() {
|
|
15
15
|
super({
|
|
16
16
|
id: ApplyFileSnippetAction.Id,
|
|
17
|
-
title: ( localize2(
|
|
17
|
+
title: ( localize2(6684, "Fill File with Snippet")),
|
|
18
18
|
f1: true,
|
|
19
19
|
});
|
|
20
20
|
}
|
|
@@ -76,7 +76,7 @@ class ApplyFileSnippetAction extends SnippetsAction {
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
const pick = await quickInputService.pick(picks, {
|
|
79
|
-
placeHolder: ( localize(
|
|
79
|
+
placeHolder: ( localize(6685, 'Select a snippet')),
|
|
80
80
|
matchOnDetail: true,
|
|
81
81
|
});
|
|
82
82
|
return pick?.snippet;
|
|
@@ -25,7 +25,7 @@ class SnippetCompletion {
|
|
|
25
25
|
constructor(snippet, range) {
|
|
26
26
|
this.snippet = snippet;
|
|
27
27
|
this.label = { label: snippet.prefix, description: snippet.name };
|
|
28
|
-
this.detail = ( localize(
|
|
28
|
+
this.detail = ( localize(6682, "{0} ({1})", snippet.description || snippet.name, snippet.source));
|
|
29
29
|
this.insertText = snippet.codeSnippet;
|
|
30
30
|
this.extensionId = snippet.extensionId;
|
|
31
31
|
this.range = range;
|
|
@@ -119,14 +119,14 @@ let SnippetCompletionProvider = class SnippetCompletionProvider {
|
|
|
119
119
|
let to = i + 1;
|
|
120
120
|
for (; to < suggestions.length && item.label === suggestions[to].label; to++) {
|
|
121
121
|
suggestions[to].label.label = ( localize(
|
|
122
|
-
|
|
122
|
+
6683,
|
|
123
123
|
"{0}, {1}",
|
|
124
124
|
suggestions[to].label.label,
|
|
125
125
|
suggestions[to].snippet.name
|
|
126
126
|
));
|
|
127
127
|
}
|
|
128
128
|
if (to > i + 1) {
|
|
129
|
-
suggestions[i].label.label = ( localize(
|
|
129
|
+
suggestions[i].label.label = ( localize(6683, "{0}, {1}", suggestions[i].label.label, suggestions[i].snippet.name));
|
|
130
130
|
i = to;
|
|
131
131
|
}
|
|
132
132
|
}
|
|
@@ -206,14 +206,14 @@ class SnippetFile {
|
|
|
206
206
|
source = this._extension.displayName || this._extension.name;
|
|
207
207
|
}
|
|
208
208
|
else if (this.source === 2 ) {
|
|
209
|
-
source = ( localize(
|
|
209
|
+
source = ( localize(6662, "Workspace Snippet"));
|
|
210
210
|
}
|
|
211
211
|
else {
|
|
212
212
|
if (this.isGlobalSnippets) {
|
|
213
|
-
source = ( localize(
|
|
213
|
+
source = ( localize(6663, "Global User Snippet"));
|
|
214
214
|
}
|
|
215
215
|
else {
|
|
216
|
-
source = ( localize(
|
|
216
|
+
source = ( localize(6664, "User Snippet"));
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
219
|
for (const _prefix of Iterable.wrap(prefix)) {
|
|
@@ -30,7 +30,7 @@ var snippetExt;
|
|
|
30
30
|
function toValidSnippet(extension, snippet, languageService) {
|
|
31
31
|
if (isFalsyOrWhitespace(snippet.path)) {
|
|
32
32
|
extension.collector.error(( localize(
|
|
33
|
-
|
|
33
|
+
2970,
|
|
34
34
|
"Expected string in `contributes.{0}.path`. Provided value: {1}",
|
|
35
35
|
extension.description.name,
|
|
36
36
|
String(snippet.path)
|
|
@@ -39,7 +39,7 @@ var snippetExt;
|
|
|
39
39
|
}
|
|
40
40
|
if (isFalsyOrWhitespace(snippet.language) && !snippet.path.endsWith('.code-snippets')) {
|
|
41
41
|
extension.collector.error(( localize(
|
|
42
|
-
|
|
42
|
+
2971,
|
|
43
43
|
"When omitting the language, the value of `contributes.{0}.path` must be a `.code-snippets`-file. Provided value: {1}",
|
|
44
44
|
extension.description.name,
|
|
45
45
|
String(snippet.path)
|
|
@@ -48,7 +48,7 @@ var snippetExt;
|
|
|
48
48
|
}
|
|
49
49
|
if (!isFalsyOrWhitespace(snippet.language) && !languageService.isRegisteredLanguageId(snippet.language)) {
|
|
50
50
|
extension.collector.error(( localize(
|
|
51
|
-
|
|
51
|
+
2972,
|
|
52
52
|
"Unknown language in `contributes.{0}.language`. Provided value: {1}",
|
|
53
53
|
extension.description.name,
|
|
54
54
|
String(snippet.language)
|
|
@@ -59,7 +59,7 @@ var snippetExt;
|
|
|
59
59
|
const snippetLocation = joinPath(extensionLocation, snippet.path);
|
|
60
60
|
if (!isEqualOrParent(snippetLocation, extensionLocation)) {
|
|
61
61
|
extension.collector.error(( localize(
|
|
62
|
-
|
|
62
|
+
2973,
|
|
63
63
|
"Expected `contributes.{0}.path` ({1}) to be included inside extension's folder ({2}). This might make the extension non-portable.",
|
|
64
64
|
extension.description.name,
|
|
65
65
|
snippetLocation.path,
|
|
@@ -74,7 +74,7 @@ var snippetExt;
|
|
|
74
74
|
}
|
|
75
75
|
snippetExt.toValidSnippet = toValidSnippet;
|
|
76
76
|
snippetExt.snippetsContribution = {
|
|
77
|
-
description: ( localize(
|
|
77
|
+
description: ( localize(2974, 'Contributes snippets.')),
|
|
78
78
|
type: 'array',
|
|
79
79
|
defaultSnippets: [{ body: [{ language: '', path: '' }] }],
|
|
80
80
|
items: {
|
|
@@ -82,12 +82,12 @@ var snippetExt;
|
|
|
82
82
|
defaultSnippets: [{ body: { language: '${1:id}', path: './snippets/${2:id}.json.' } }],
|
|
83
83
|
properties: {
|
|
84
84
|
language: {
|
|
85
|
-
description: ( localize(
|
|
85
|
+
description: ( localize(2975, 'Language identifier for which this snippet is contributed to.')),
|
|
86
86
|
type: 'string'
|
|
87
87
|
},
|
|
88
88
|
path: {
|
|
89
89
|
description: ( localize(
|
|
90
|
-
|
|
90
|
+
2976,
|
|
91
91
|
'Path of the snippets file. The path is relative to the extension folder and typically starts with \'./snippets/\'.'
|
|
92
92
|
)),
|
|
93
93
|
type: 'string'
|
|
@@ -336,14 +336,14 @@ let SnippetsService = class SnippetsService {
|
|
|
336
336
|
file.load().then(file => {
|
|
337
337
|
if (( (file.data.some(snippet => snippet.isBogous)))) {
|
|
338
338
|
extension.collector.warn(( localize(
|
|
339
|
-
|
|
339
|
+
2977,
|
|
340
340
|
"One or more snippets from the extension '{0}' very likely confuse snippet-variables and snippet-placeholders (see https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details)",
|
|
341
341
|
extension.description.name
|
|
342
342
|
)));
|
|
343
343
|
}
|
|
344
344
|
}, err => {
|
|
345
345
|
extension.collector.warn(( localize(
|
|
346
|
-
|
|
346
|
+
2978,
|
|
347
347
|
"The snippet file \"{0}\" could not be read.",
|
|
348
348
|
(file.location.toString())
|
|
349
349
|
)));
|
|
@@ -2,16 +2,16 @@ import { localize } from '../../../../nls.js';
|
|
|
2
2
|
import { RawContextKey } from '../../../../platform/contextkey/common/contextkey.js';
|
|
3
3
|
import { language } from '../../../../base/common/platform.js';
|
|
4
4
|
|
|
5
|
-
const HasSpeechProvider = ( (new RawContextKey('hasSpeechProvider', false, { type: 'boolean', description: ( localize(
|
|
5
|
+
const HasSpeechProvider = ( (new RawContextKey('hasSpeechProvider', false, { type: 'boolean', description: ( localize(6295, "A speech provider is registered to the speech service.")) })));
|
|
6
6
|
const SpeechToTextInProgress = ( (new RawContextKey(
|
|
7
7
|
'speechToTextInProgress',
|
|
8
8
|
false,
|
|
9
|
-
{ type: 'boolean', description: ( localize(
|
|
9
|
+
{ type: 'boolean', description: ( localize(6296, "A speech-to-text session is in progress.")) }
|
|
10
10
|
)));
|
|
11
11
|
const TextToSpeechInProgress = ( (new RawContextKey(
|
|
12
12
|
'textToSpeechInProgress',
|
|
13
13
|
false,
|
|
14
|
-
{ type: 'boolean', description: ( localize(
|
|
14
|
+
{ type: 'boolean', description: ( localize(6297, "A text-to-speech session is in progress.")) }
|
|
15
15
|
)));
|
|
16
16
|
var SpeechToTextStatus;
|
|
17
17
|
( ((function(SpeechToTextStatus) {
|
|
@@ -36,82 +36,82 @@ var KeywordRecognitionStatus;
|
|
|
36
36
|
const SPEECH_LANGUAGE_CONFIG = "accessibility.voice.speechLanguage" ;
|
|
37
37
|
const SPEECH_LANGUAGES = {
|
|
38
38
|
['da-DK']: {
|
|
39
|
-
name: ( localize(
|
|
39
|
+
name: ( localize(6298, "Danish (Denmark)"))
|
|
40
40
|
},
|
|
41
41
|
['de-DE']: {
|
|
42
|
-
name: ( localize(
|
|
42
|
+
name: ( localize(6299, "German (Germany)"))
|
|
43
43
|
},
|
|
44
44
|
['en-AU']: {
|
|
45
|
-
name: ( localize(
|
|
45
|
+
name: ( localize(6300, "English (Australia)"))
|
|
46
46
|
},
|
|
47
47
|
['en-CA']: {
|
|
48
|
-
name: ( localize(
|
|
48
|
+
name: ( localize(6301, "English (Canada)"))
|
|
49
49
|
},
|
|
50
50
|
['en-GB']: {
|
|
51
|
-
name: ( localize(
|
|
51
|
+
name: ( localize(6302, "English (United Kingdom)"))
|
|
52
52
|
},
|
|
53
53
|
['en-IE']: {
|
|
54
|
-
name: ( localize(
|
|
54
|
+
name: ( localize(6303, "English (Ireland)"))
|
|
55
55
|
},
|
|
56
56
|
['en-IN']: {
|
|
57
|
-
name: ( localize(
|
|
57
|
+
name: ( localize(6304, "English (India)"))
|
|
58
58
|
},
|
|
59
59
|
['en-NZ']: {
|
|
60
|
-
name: ( localize(
|
|
60
|
+
name: ( localize(6305, "English (New Zealand)"))
|
|
61
61
|
},
|
|
62
62
|
['en-US']: {
|
|
63
|
-
name: ( localize(
|
|
63
|
+
name: ( localize(6306, "English (United States)"))
|
|
64
64
|
},
|
|
65
65
|
['es-ES']: {
|
|
66
|
-
name: ( localize(
|
|
66
|
+
name: ( localize(6307, "Spanish (Spain)"))
|
|
67
67
|
},
|
|
68
68
|
['es-MX']: {
|
|
69
|
-
name: ( localize(
|
|
69
|
+
name: ( localize(6308, "Spanish (Mexico)"))
|
|
70
70
|
},
|
|
71
71
|
['fr-CA']: {
|
|
72
|
-
name: ( localize(
|
|
72
|
+
name: ( localize(6309, "French (Canada)"))
|
|
73
73
|
},
|
|
74
74
|
['fr-FR']: {
|
|
75
|
-
name: ( localize(
|
|
75
|
+
name: ( localize(6310, "French (France)"))
|
|
76
76
|
},
|
|
77
77
|
['hi-IN']: {
|
|
78
|
-
name: ( localize(
|
|
78
|
+
name: ( localize(6311, "Hindi (India)"))
|
|
79
79
|
},
|
|
80
80
|
['it-IT']: {
|
|
81
|
-
name: ( localize(
|
|
81
|
+
name: ( localize(6312, "Italian (Italy)"))
|
|
82
82
|
},
|
|
83
83
|
['ja-JP']: {
|
|
84
|
-
name: ( localize(
|
|
84
|
+
name: ( localize(6313, "Japanese (Japan)"))
|
|
85
85
|
},
|
|
86
86
|
['ko-KR']: {
|
|
87
|
-
name: ( localize(
|
|
87
|
+
name: ( localize(6314, "Korean (South Korea)"))
|
|
88
88
|
},
|
|
89
89
|
['nl-NL']: {
|
|
90
|
-
name: ( localize(
|
|
90
|
+
name: ( localize(6315, "Dutch (Netherlands)"))
|
|
91
91
|
},
|
|
92
92
|
['pt-PT']: {
|
|
93
|
-
name: ( localize(
|
|
93
|
+
name: ( localize(6316, "Portuguese (Portugal)"))
|
|
94
94
|
},
|
|
95
95
|
['pt-BR']: {
|
|
96
|
-
name: ( localize(
|
|
96
|
+
name: ( localize(6317, "Portuguese (Brazil)"))
|
|
97
97
|
},
|
|
98
98
|
['ru-RU']: {
|
|
99
|
-
name: ( localize(
|
|
99
|
+
name: ( localize(6318, "Russian (Russia)"))
|
|
100
100
|
},
|
|
101
101
|
['sv-SE']: {
|
|
102
|
-
name: ( localize(
|
|
102
|
+
name: ( localize(6319, "Swedish (Sweden)"))
|
|
103
103
|
},
|
|
104
104
|
['tr-TR']: {
|
|
105
|
-
name: ( localize(
|
|
105
|
+
name: ( localize(6320, "Turkish (Türkiye)"))
|
|
106
106
|
},
|
|
107
107
|
['zh-CN']: {
|
|
108
|
-
name: ( localize(
|
|
108
|
+
name: ( localize(6321, "Chinese (Simplified, China)"))
|
|
109
109
|
},
|
|
110
110
|
['zh-HK']: {
|
|
111
|
-
name: ( localize(
|
|
111
|
+
name: ( localize(6322, "Chinese (Traditional, Hong Kong)"))
|
|
112
112
|
},
|
|
113
113
|
['zh-TW']: {
|
|
114
|
-
name: ( localize(
|
|
114
|
+
name: ( localize(6323, "Chinese (Traditional, Taiwan)"))
|
|
115
115
|
}
|
|
116
116
|
};
|
|
117
117
|
function speechLanguageConfigToLanguage(config, lang = language) {
|