@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
|
@@ -137,7 +137,7 @@ let ExplorerFindProvider = class ExplorerFindProvider {
|
|
|
137
137
|
this.progressService = progressService;
|
|
138
138
|
this.explorerService = explorerService;
|
|
139
139
|
this.toggles = [explorerFuzzyMatch];
|
|
140
|
-
this.placeholder = ( localize(
|
|
140
|
+
this.placeholder = ( localize(10236, "Type to search files"));
|
|
141
141
|
}
|
|
142
142
|
async *getFindResults(pattern, sessionId, token, toggleStates) {
|
|
143
143
|
const isFuzzyMatch = toggleStates.find(t => t.id === explorerFuzzyMatch.id)?.isChecked;
|
|
@@ -298,7 +298,7 @@ let ExplorerView = class ExplorerView extends ViewPane {
|
|
|
298
298
|
const setHeader = () => {
|
|
299
299
|
titleElement.textContent = this.name;
|
|
300
300
|
this.updateTitle(this.name);
|
|
301
|
-
this.ariaHeaderLabel = ( localize(
|
|
301
|
+
this.ariaHeaderLabel = ( localize(10237, "Explorer Section: {0}", this.name));
|
|
302
302
|
titleElement.setAttribute('aria-label', this.ariaHeaderLabel);
|
|
303
303
|
};
|
|
304
304
|
this._register(this.contextService.onDidChangeWorkspaceName(setHeader));
|
|
@@ -890,7 +890,7 @@ registerAction2(class extends Action2 {
|
|
|
890
890
|
constructor() {
|
|
891
891
|
super({
|
|
892
892
|
id: 'workbench.files.action.createFileFromExplorer',
|
|
893
|
-
title: ( localize(
|
|
893
|
+
title: ( localize(10238, "New File...")),
|
|
894
894
|
f1: false,
|
|
895
895
|
icon: Codicon.newFile,
|
|
896
896
|
precondition: ExplorerResourceNotReadonlyContext,
|
|
@@ -911,7 +911,7 @@ registerAction2(class extends Action2 {
|
|
|
911
911
|
constructor() {
|
|
912
912
|
super({
|
|
913
913
|
id: 'workbench.files.action.createFolderFromExplorer',
|
|
914
|
-
title: ( localize(
|
|
914
|
+
title: ( localize(10239, "New Folder...")),
|
|
915
915
|
f1: false,
|
|
916
916
|
icon: Codicon.newFolder,
|
|
917
917
|
precondition: ExplorerResourceNotReadonlyContext,
|
|
@@ -932,7 +932,7 @@ registerAction2(class extends Action2 {
|
|
|
932
932
|
constructor() {
|
|
933
933
|
super({
|
|
934
934
|
id: 'workbench.files.action.refreshFilesExplorer',
|
|
935
|
-
title: ( localize2(
|
|
935
|
+
title: ( localize2(10240, "Refresh Explorer")),
|
|
936
936
|
f1: true,
|
|
937
937
|
icon: Codicon.refresh,
|
|
938
938
|
menu: {
|
|
@@ -942,7 +942,7 @@ registerAction2(class extends Action2 {
|
|
|
942
942
|
order: 30
|
|
943
943
|
},
|
|
944
944
|
metadata: {
|
|
945
|
-
description: ( localize2(
|
|
945
|
+
description: ( localize2(10241, "Forces a refresh of the Explorer."))
|
|
946
946
|
}
|
|
947
947
|
});
|
|
948
948
|
}
|
|
@@ -957,7 +957,7 @@ registerAction2(class extends Action2 {
|
|
|
957
957
|
constructor() {
|
|
958
958
|
super({
|
|
959
959
|
id: 'workbench.files.action.collapseExplorerFolders',
|
|
960
|
-
title: ( localize2(
|
|
960
|
+
title: ( localize2(10242, "Collapse Folders in Explorer")),
|
|
961
961
|
f1: true,
|
|
962
962
|
icon: Codicon.collapseAll,
|
|
963
963
|
menu: {
|
|
@@ -967,7 +967,7 @@ registerAction2(class extends Action2 {
|
|
|
967
967
|
order: 40
|
|
968
968
|
},
|
|
969
969
|
metadata: {
|
|
970
|
-
description: ( localize2(
|
|
970
|
+
description: ( localize2(10243, "Folds all folders in the Explorer."))
|
|
971
971
|
}
|
|
972
972
|
});
|
|
973
973
|
}
|
|
@@ -62,7 +62,7 @@ let OpenEditorsView = class OpenEditorsView extends ViewPane {
|
|
|
62
62
|
static { this.DEFAULT_VISIBLE_OPEN_EDITORS = 9; }
|
|
63
63
|
static { this.DEFAULT_MIN_VISIBLE_OPEN_EDITORS = 0; }
|
|
64
64
|
static { this.ID = 'workbench.explorer.openEditorsView'; }
|
|
65
|
-
static { this.NAME = ( localize2(
|
|
65
|
+
static { this.NAME = ( localize2(5438, "Open Editors")); }
|
|
66
66
|
constructor(options, instantiationService, viewDescriptorService, contextMenuService, editorGroupService, configurationService, keybindingService, contextKeyService, themeService, telemetryService, hoverService, workingCopyService, filesConfigurationService, openerService, fileService) {
|
|
67
67
|
super(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, telemetryService, hoverService);
|
|
68
68
|
this.editorGroupService = editorGroupService;
|
|
@@ -422,7 +422,7 @@ let OpenEditorsView = class OpenEditorsView extends ViewPane {
|
|
|
422
422
|
this.dirtyCountElement.classList.add('hidden');
|
|
423
423
|
}
|
|
424
424
|
else {
|
|
425
|
-
this.dirtyCountElement.textContent = ( localize(
|
|
425
|
+
this.dirtyCountElement.textContent = ( localize(5439, "{0} unsaved", dirty));
|
|
426
426
|
this.dirtyCountElement.classList.remove('hidden');
|
|
427
427
|
}
|
|
428
428
|
}
|
|
@@ -693,7 +693,7 @@ OpenEditorsDragAndDrop.__decorator = ( (__decorate([
|
|
|
693
693
|
], OpenEditorsDragAndDrop.prototype, "dropHandler", null)));
|
|
694
694
|
class OpenEditorsAccessibilityProvider {
|
|
695
695
|
getWidgetAriaLabel() {
|
|
696
|
-
return ( localize(
|
|
696
|
+
return ( localize(5438, "Open Editors"));
|
|
697
697
|
}
|
|
698
698
|
getAriaLabel(element) {
|
|
699
699
|
if (element instanceof OpenEditor) {
|
|
@@ -707,7 +707,7 @@ registerAction2(class extends Action2 {
|
|
|
707
707
|
constructor() {
|
|
708
708
|
super({
|
|
709
709
|
id: 'workbench.action.toggleEditorGroupLayout',
|
|
710
|
-
title: ( localize2(
|
|
710
|
+
title: ( localize2(5440, "Toggle Vertical/Horizontal Editor Layout")),
|
|
711
711
|
f1: true,
|
|
712
712
|
keybinding: {
|
|
713
713
|
primary: 1024 | 512 | 21 ,
|
|
@@ -738,8 +738,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
738
738
|
command: {
|
|
739
739
|
id: toggleEditorGroupLayoutId,
|
|
740
740
|
title: {
|
|
741
|
-
...( localize2(
|
|
742
|
-
mnemonicTitle: ( localize(
|
|
741
|
+
...( localize2(5441, "Flip Layout")),
|
|
742
|
+
mnemonicTitle: ( localize(5442, "Flip &&Layout"))
|
|
743
743
|
}
|
|
744
744
|
},
|
|
745
745
|
order: 1
|
|
@@ -789,7 +789,7 @@ registerAction2(class extends Action2 {
|
|
|
789
789
|
constructor() {
|
|
790
790
|
super({
|
|
791
791
|
id: 'openEditors.newUntitledFile',
|
|
792
|
-
title: ( localize2(
|
|
792
|
+
title: ( localize2(5443, "New Untitled Text File")),
|
|
793
793
|
f1: false,
|
|
794
794
|
icon: Codicon.newFile,
|
|
795
795
|
menu: {
|
|
@@ -59,10 +59,10 @@ let WorkspaceWatcher = class WorkspaceWatcher extends Disposable {
|
|
|
59
59
|
if (msg.indexOf('ENOSPC') >= 0) {
|
|
60
60
|
reason = 'ENOSPC';
|
|
61
61
|
this.notificationService.prompt(Severity$1.Warning, ( localize(
|
|
62
|
-
|
|
62
|
+
9976,
|
|
63
63
|
"Unable to watch for file changes. Please follow the instructions link to resolve this issue."
|
|
64
64
|
)), [{
|
|
65
|
-
label: ( localize(
|
|
65
|
+
label: ( localize(9977, "Instructions")),
|
|
66
66
|
run: () => this.openerService.open(( (URI.parse('https://go.microsoft.com/fwlink/?linkid=867693'))))
|
|
67
67
|
}], {
|
|
68
68
|
sticky: true,
|
|
@@ -72,10 +72,10 @@ let WorkspaceWatcher = class WorkspaceWatcher extends Disposable {
|
|
|
72
72
|
else if (msg.indexOf('EUNKNOWN') >= 0) {
|
|
73
73
|
reason = 'EUNKNOWN';
|
|
74
74
|
this.notificationService.prompt(Severity$1.Warning, ( localize(
|
|
75
|
-
|
|
75
|
+
9978,
|
|
76
76
|
"File changes watcher stopped unexpectedly. A reload of the window may enable the watcher again unless the workspace cannot be watched for file changes."
|
|
77
77
|
)), [{
|
|
78
|
-
label: ( localize(
|
|
78
|
+
label: ( localize(9979, "Reload")),
|
|
79
79
|
run: () => this.hostService.reload()
|
|
80
80
|
}], {
|
|
81
81
|
sticky: true,
|
|
@@ -35,7 +35,7 @@ let DirtyFilesIndicator = class DirtyFilesIndicator extends Disposable {
|
|
|
35
35
|
const dirtyCount = this.lastKnownDirtyCount = this.workingCopyService.dirtyCount;
|
|
36
36
|
if (dirtyCount > 0) {
|
|
37
37
|
this.badgeHandle.value = this.activityService.showViewContainerActivity(VIEWLET_ID, {
|
|
38
|
-
badge: ( (new NumberBadge(dirtyCount, num => num === 1 ? ( localize(
|
|
38
|
+
badge: ( (new NumberBadge(dirtyCount, num => num === 1 ? ( localize(9980, "1 unsaved file")) : ( localize(9981, "{0} unsaved files", dirtyCount))))),
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
41
|
else {
|
|
@@ -16,56 +16,56 @@ const VIEW_ID = 'workbench.explorer.fileView';
|
|
|
16
16
|
const ExplorerViewletVisibleContext = ( (new RawContextKey(
|
|
17
17
|
'explorerViewletVisible',
|
|
18
18
|
true,
|
|
19
|
-
{ type: 'boolean', description: ( localize(
|
|
19
|
+
{ type: 'boolean', description: ( localize(5399, "True when the EXPLORER viewlet is visible.")) }
|
|
20
20
|
)));
|
|
21
21
|
const FoldersViewVisibleContext = ( (new RawContextKey('foldersViewVisible', true, { type: 'boolean', description: ( localize(
|
|
22
|
-
|
|
22
|
+
5400,
|
|
23
23
|
"True when the FOLDERS view (the file tree within the explorer view container) is visible."
|
|
24
24
|
)) })));
|
|
25
25
|
const ExplorerFolderContext = ( (new RawContextKey(
|
|
26
26
|
'explorerResourceIsFolder',
|
|
27
27
|
false,
|
|
28
|
-
{ type: 'boolean', description: ( localize(
|
|
28
|
+
{ type: 'boolean', description: ( localize(5401, "True when the focused item in the EXPLORER is a folder.")) }
|
|
29
29
|
)));
|
|
30
30
|
const ExplorerResourceReadonlyContext = ( (new RawContextKey(
|
|
31
31
|
'explorerResourceReadonly',
|
|
32
32
|
false,
|
|
33
|
-
{ type: 'boolean', description: ( localize(
|
|
33
|
+
{ type: 'boolean', description: ( localize(5402, "True when the focused item in the EXPLORER is read-only.")) }
|
|
34
34
|
)));
|
|
35
35
|
const ExplorerResourceNotReadonlyContext = ( (ExplorerResourceReadonlyContext.toNegated()));
|
|
36
36
|
const ExplorerResourceAvailableEditorIdsContext = ( (new RawContextKey('explorerResourceAvailableEditorIds', '')));
|
|
37
37
|
const ExplorerRootContext = ( (new RawContextKey(
|
|
38
38
|
'explorerResourceIsRoot',
|
|
39
39
|
false,
|
|
40
|
-
{ type: 'boolean', description: ( localize(
|
|
40
|
+
{ type: 'boolean', description: ( localize(5403, "True when the focused item in the EXPLORER is a root folder.")) }
|
|
41
41
|
)));
|
|
42
42
|
const ExplorerResourceCut = ( (new RawContextKey(
|
|
43
43
|
'explorerResourceCut',
|
|
44
44
|
false,
|
|
45
|
-
{ type: 'boolean', description: ( localize(
|
|
45
|
+
{ type: 'boolean', description: ( localize(5404, "True when an item in the EXPLORER has been cut for cut and paste.")) }
|
|
46
46
|
)));
|
|
47
47
|
const ExplorerResourceMoveableToTrash = ( (new RawContextKey(
|
|
48
48
|
'explorerResourceMoveableToTrash',
|
|
49
49
|
false,
|
|
50
|
-
{ type: 'boolean', description: ( localize(
|
|
50
|
+
{ type: 'boolean', description: ( localize(5405, "True when the focused item in the EXPLORER can be moved to trash.")) }
|
|
51
51
|
)));
|
|
52
|
-
const FilesExplorerFocusedContext = ( (new RawContextKey('filesExplorerFocus', true, { type: 'boolean', description: ( localize(
|
|
53
|
-
const OpenEditorsFocusedContext = ( (new RawContextKey('openEditorsFocus', true, { type: 'boolean', description: ( localize(
|
|
52
|
+
const FilesExplorerFocusedContext = ( (new RawContextKey('filesExplorerFocus', true, { type: 'boolean', description: ( localize(5406, "True when the focus is inside the EXPLORER view.")) })));
|
|
53
|
+
const OpenEditorsFocusedContext = ( (new RawContextKey('openEditorsFocus', true, { type: 'boolean', description: ( localize(5407, "True when the focus is inside the OPEN EDITORS view.")) })));
|
|
54
54
|
const ExplorerFocusedContext = ( (new RawContextKey(
|
|
55
55
|
'explorerViewletFocus',
|
|
56
56
|
true,
|
|
57
|
-
{ type: 'boolean', description: ( localize(
|
|
57
|
+
{ type: 'boolean', description: ( localize(5408, "True when the focus is inside the EXPLORER viewlet.")) }
|
|
58
58
|
)));
|
|
59
59
|
const ExplorerCompressedFocusContext = ( (new RawContextKey(
|
|
60
60
|
'explorerViewletCompressedFocus',
|
|
61
61
|
true,
|
|
62
|
-
{ type: 'boolean', description: ( localize(
|
|
62
|
+
{ type: 'boolean', description: ( localize(5409, "True when the focused item in the EXPLORER view is a compact item.")) }
|
|
63
63
|
)));
|
|
64
64
|
const ExplorerCompressedFirstFocusContext = ( (new RawContextKey(
|
|
65
65
|
'explorerViewletCompressedFirstFocus',
|
|
66
66
|
true,
|
|
67
67
|
{ type: 'boolean', description: ( localize(
|
|
68
|
-
|
|
68
|
+
5410,
|
|
69
69
|
"True when the focus is inside a compact item's first part in the EXPLORER view."
|
|
70
70
|
)) }
|
|
71
71
|
)));
|
|
@@ -73,7 +73,7 @@ const ExplorerCompressedLastFocusContext = ( (new RawContextKey(
|
|
|
73
73
|
'explorerViewletCompressedLastFocus',
|
|
74
74
|
true,
|
|
75
75
|
{ type: 'boolean', description: ( localize(
|
|
76
|
-
|
|
76
|
+
5411,
|
|
77
77
|
"True when the focus is inside a compact item's last part in the EXPLORER view."
|
|
78
78
|
)) }
|
|
79
79
|
)));
|
|
@@ -81,7 +81,7 @@ const ViewHasSomeCollapsibleRootItemContext = ( (new RawContextKey(
|
|
|
81
81
|
'viewHasSomeCollapsibleItem',
|
|
82
82
|
false,
|
|
83
83
|
{ type: 'boolean', description: ( localize(
|
|
84
|
-
|
|
84
|
+
5412,
|
|
85
85
|
"True when a workspace in the EXPLORER view has some collapsible root child."
|
|
86
86
|
)) }
|
|
87
87
|
)));
|
|
@@ -30,8 +30,8 @@ let DefaultFoldingRangeProvider = class DefaultFoldingRangeProvider extends Disp
|
|
|
30
30
|
DefaultFoldingRangeProvider_1.extensionItemLabels.length = 0;
|
|
31
31
|
DefaultFoldingRangeProvider_1.extensionDescriptions.length = 0;
|
|
32
32
|
DefaultFoldingRangeProvider_1.extensionIds.push(null);
|
|
33
|
-
DefaultFoldingRangeProvider_1.extensionItemLabels.push(( localize(
|
|
34
|
-
DefaultFoldingRangeProvider_1.extensionDescriptions.push(( localize(
|
|
33
|
+
DefaultFoldingRangeProvider_1.extensionItemLabels.push(( localize(661, 'All')));
|
|
34
|
+
DefaultFoldingRangeProvider_1.extensionDescriptions.push(( localize(662, "All active folding range providers")));
|
|
35
35
|
const languageExtensions = [];
|
|
36
36
|
const otherExtensions = [];
|
|
37
37
|
for (const extension of this._extensionService.extensions) {
|
|
@@ -73,7 +73,7 @@ DefaultFoldingRangeProvider = DefaultFoldingRangeProvider_1 = ( (__decorate([
|
|
|
73
73
|
properties: {
|
|
74
74
|
[DefaultFoldingRangeProvider.configName]: {
|
|
75
75
|
description: ( localize(
|
|
76
|
-
|
|
76
|
+
663,
|
|
77
77
|
"Defines a default folding range provider that takes precedence over all other folding range providers. Must be the identifier of an extension contributing a folding range provider."
|
|
78
78
|
)),
|
|
79
79
|
type: ['string', 'null'],
|
|
@@ -79,8 +79,8 @@ let DefaultFormatter = class DefaultFormatter extends Disposable {
|
|
|
79
79
|
DefaultFormatter_1.extensionItemLabels.length = 0;
|
|
80
80
|
DefaultFormatter_1.extensionDescriptions.length = 0;
|
|
81
81
|
DefaultFormatter_1.extensionIds.push(null);
|
|
82
|
-
DefaultFormatter_1.extensionItemLabels.push(( localize(
|
|
83
|
-
DefaultFormatter_1.extensionDescriptions.push(( localize(
|
|
82
|
+
DefaultFormatter_1.extensionItemLabels.push(( localize(4505, 'None')));
|
|
83
|
+
DefaultFormatter_1.extensionDescriptions.push(( localize(4506, "None")));
|
|
84
84
|
for (const extension of extensions) {
|
|
85
85
|
if (extension.main || extension.browser) {
|
|
86
86
|
DefaultFormatter_1.extensionIds.push(extension.identifier.value);
|
|
@@ -107,13 +107,13 @@ let DefaultFormatter = class DefaultFormatter extends Disposable {
|
|
|
107
107
|
const langName = this._languageService.getLanguageName(document.getLanguageId()) || document.getLanguageId();
|
|
108
108
|
const detail = kind === 1
|
|
109
109
|
? ( localize(
|
|
110
|
-
|
|
110
|
+
4507,
|
|
111
111
|
"Extension '{0}' is configured as formatter but it cannot format '{1}'-files",
|
|
112
112
|
extension.displayName || extension.name,
|
|
113
113
|
langName
|
|
114
114
|
))
|
|
115
115
|
: ( localize(
|
|
116
|
-
|
|
116
|
+
4508,
|
|
117
117
|
"Extension '{0}' is configured as formatter but it can only format '{1}'-files as a whole, not selections or parts of it.",
|
|
118
118
|
extension.displayName || extension.name,
|
|
119
119
|
langName
|
|
@@ -127,12 +127,12 @@ let DefaultFormatter = class DefaultFormatter extends Disposable {
|
|
|
127
127
|
const langName = this._languageService.getLanguageName(document.getLanguageId()) || document.getLanguageId();
|
|
128
128
|
const message = !defaultFormatterId
|
|
129
129
|
? ( localize(
|
|
130
|
-
|
|
130
|
+
4509,
|
|
131
131
|
"There are multiple formatters for '{0}' files. One of them should be configured as default formatter.",
|
|
132
132
|
DefaultFormatter_1._maybeQuotes(langName)
|
|
133
133
|
))
|
|
134
134
|
: ( localize(
|
|
135
|
-
|
|
135
|
+
4510,
|
|
136
136
|
"Extension '{0}' is configured as formatter but not available. Select a different default formatter to continue.",
|
|
137
137
|
defaultFormatterId
|
|
138
138
|
));
|
|
@@ -145,16 +145,16 @@ let DefaultFormatter = class DefaultFormatter extends Disposable {
|
|
|
145
145
|
}
|
|
146
146
|
if (mode !== 2 ) {
|
|
147
147
|
const { confirmed } = await this._dialogService.confirm({
|
|
148
|
-
message: ( localize(
|
|
148
|
+
message: ( localize(4511, "Configure Default Formatter")),
|
|
149
149
|
detail: formatterOrMessage,
|
|
150
|
-
primaryButton: ( localize(
|
|
150
|
+
primaryButton: ( localize(4512, "&&Configure..."))
|
|
151
151
|
});
|
|
152
152
|
if (confirmed) {
|
|
153
153
|
return this._pickAndPersistDefaultFormatter(formatter, document);
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
else {
|
|
157
|
-
this._notificationService.prompt(Severity$1.Info, formatterOrMessage, [{ label: ( localize(
|
|
157
|
+
this._notificationService.prompt(Severity$1.Info, formatterOrMessage, [{ label: ( localize(4513, "Configure...")), run: () => this._pickAndPersistDefaultFormatter(formatter, document) }], { priority: NotificationPriority.SILENT });
|
|
158
158
|
}
|
|
159
159
|
return undefined;
|
|
160
160
|
}
|
|
@@ -168,7 +168,7 @@ let DefaultFormatter = class DefaultFormatter extends Disposable {
|
|
|
168
168
|
})));
|
|
169
169
|
const langName = this._languageService.getLanguageName(document.getLanguageId()) || document.getLanguageId();
|
|
170
170
|
const pick = await this._quickInputService.pick(picks, { placeHolder: ( localize(
|
|
171
|
-
|
|
171
|
+
4514,
|
|
172
172
|
"Select a default formatter for '{0}' files",
|
|
173
173
|
DefaultFormatter_1._maybeQuotes(langName)
|
|
174
174
|
)) });
|
|
@@ -201,14 +201,14 @@ let DefaultFormatter = class DefaultFormatter extends Disposable {
|
|
|
201
201
|
if (typeof result !== 'string') {
|
|
202
202
|
return;
|
|
203
203
|
}
|
|
204
|
-
const command = { id: `formatter/configure/dfl/${generateUuid()}`, title: ( localize(
|
|
204
|
+
const command = { id: `formatter/configure/dfl/${generateUuid()}`, title: ( localize(4515, "Configure...")) };
|
|
205
205
|
this._languageStatusStore.add(CommandsRegistry.registerCommand(command.id, () => this._pickAndPersistDefaultFormatter(formatter, document)));
|
|
206
206
|
this._languageStatusStore.add(this._languageStatusService.addStatus({
|
|
207
207
|
id: 'formatter.conflict',
|
|
208
|
-
name: ( localize(
|
|
208
|
+
name: ( localize(4516, "Formatter Conflicts")),
|
|
209
209
|
selector: { language: document.getLanguageId(), pattern: document.uri.fsPath },
|
|
210
210
|
severity: Severity$1.Error,
|
|
211
|
-
label: ( localize(
|
|
211
|
+
label: ( localize(4517, "Formatting")),
|
|
212
212
|
detail: result,
|
|
213
213
|
busy: false,
|
|
214
214
|
source: '',
|
|
@@ -236,7 +236,7 @@ DefaultFormatter = DefaultFormatter_1 = ( (__decorate([
|
|
|
236
236
|
properties: {
|
|
237
237
|
[DefaultFormatter.configName]: {
|
|
238
238
|
description: ( localize(
|
|
239
|
-
|
|
239
|
+
4518,
|
|
240
240
|
"Defines a default formatter which takes precedence over all other formatter settings. Must be the identifier of an extension contributing a formatter."
|
|
241
241
|
)),
|
|
242
242
|
type: ['string', 'null'],
|
|
@@ -269,7 +269,7 @@ async function showFormatterPick(accessor, model, formatters) {
|
|
|
269
269
|
const pick = {
|
|
270
270
|
index,
|
|
271
271
|
label: provider.displayName || '',
|
|
272
|
-
description: isDefault ? ( localize(
|
|
272
|
+
description: isDefault ? ( localize(4519, "(default)")) : undefined,
|
|
273
273
|
};
|
|
274
274
|
if (isDefault) {
|
|
275
275
|
defaultFormatterPick = pick;
|
|
@@ -277,10 +277,10 @@ async function showFormatterPick(accessor, model, formatters) {
|
|
|
277
277
|
return pick;
|
|
278
278
|
})));
|
|
279
279
|
const configurePick = {
|
|
280
|
-
label: ( localize(
|
|
280
|
+
label: ( localize(4520, "Configure Default Formatter..."))
|
|
281
281
|
};
|
|
282
282
|
const pick = await quickPickService.pick([...picks, { type: 'separator' }, configurePick], {
|
|
283
|
-
placeHolder: ( localize(
|
|
283
|
+
placeHolder: ( localize(4521, "Select a formatter")),
|
|
284
284
|
activeItem: defaultFormatterPick
|
|
285
285
|
});
|
|
286
286
|
if (!pick) {
|
|
@@ -289,7 +289,7 @@ async function showFormatterPick(accessor, model, formatters) {
|
|
|
289
289
|
else if (pick === configurePick) {
|
|
290
290
|
const langName = languageService.getLanguageName(model.getLanguageId()) || model.getLanguageId();
|
|
291
291
|
const pick = await quickPickService.pick(picks, { placeHolder: ( localize(
|
|
292
|
-
|
|
292
|
+
4514,
|
|
293
293
|
"Select a default formatter for '{0}' files",
|
|
294
294
|
DefaultFormatter._maybeQuotes(langName)
|
|
295
295
|
)) });
|
|
@@ -306,7 +306,7 @@ registerEditorAction(class FormatDocumentMultipleAction extends EditorAction {
|
|
|
306
306
|
constructor() {
|
|
307
307
|
super({
|
|
308
308
|
id: 'editor.action.formatDocument.multiple',
|
|
309
|
-
label: ( localize(
|
|
309
|
+
label: ( localize(4522, "Format Document With...")),
|
|
310
310
|
alias: 'Format Document...',
|
|
311
311
|
precondition: ( (ContextKeyExpr.and(
|
|
312
312
|
EditorContextKeys.writable,
|
|
@@ -338,7 +338,7 @@ registerEditorAction(class FormatSelectionMultipleAction extends EditorAction {
|
|
|
338
338
|
constructor() {
|
|
339
339
|
super({
|
|
340
340
|
id: 'editor.action.formatSelection.multiple',
|
|
341
|
-
label: ( localize(
|
|
341
|
+
label: ( localize(4523, "Format Selection With...")),
|
|
342
342
|
alias: 'Format Code...',
|
|
343
343
|
precondition: ( (ContextKeyExpr.and(
|
|
344
344
|
(ContextKeyExpr.and(EditorContextKeys.writable)),
|
|
@@ -12,7 +12,7 @@ registerEditorAction(class FormatDocumentMultipleAction extends EditorAction {
|
|
|
12
12
|
constructor() {
|
|
13
13
|
super({
|
|
14
14
|
id: 'editor.action.formatDocument.none',
|
|
15
|
-
label: ( localize(
|
|
15
|
+
label: ( localize(4524, "Format Document")),
|
|
16
16
|
alias: 'Format Document',
|
|
17
17
|
precondition: ( (ContextKeyExpr.and(
|
|
18
18
|
EditorContextKeys.writable,
|
|
@@ -44,14 +44,14 @@ registerEditorAction(class FormatDocumentMultipleAction extends EditorAction {
|
|
|
44
44
|
return commandService.executeCommand('editor.action.formatDocument');
|
|
45
45
|
}
|
|
46
46
|
else if (model.isTooLargeForSyncing()) {
|
|
47
|
-
notificationService.warn(( localize(
|
|
47
|
+
notificationService.warn(( localize(4525, "This file cannot be formatted because it is too large")));
|
|
48
48
|
}
|
|
49
49
|
else {
|
|
50
50
|
const langName = model.getLanguageId();
|
|
51
|
-
const message = ( localize(
|
|
51
|
+
const message = ( localize(4526, "There is no formatter for '{0}' files installed.", langName));
|
|
52
52
|
const { confirmed } = await dialogService.confirm({
|
|
53
53
|
message,
|
|
54
|
-
primaryButton: ( localize(
|
|
54
|
+
primaryButton: ( localize(4527, "&&Install Formatter..."))
|
|
55
55
|
});
|
|
56
56
|
if (confirmed) {
|
|
57
57
|
extensionsWorkbenchService.openSearch(`category:formatters ${langName}`);
|
|
@@ -18,7 +18,7 @@ registerEditorAction(class FormatModifiedAction extends EditorAction {
|
|
|
18
18
|
constructor() {
|
|
19
19
|
super({
|
|
20
20
|
id: 'editor.action.formatChanges',
|
|
21
|
-
label: ( localize(
|
|
21
|
+
label: ( localize(4498, "Format Modified Lines")),
|
|
22
22
|
alias: 'Format Modified Lines',
|
|
23
23
|
precondition: ( (ContextKeyExpr.and(
|
|
24
24
|
EditorContextKeys.writable,
|
|
@@ -21,7 +21,7 @@ let InlayHintsAccessibility = class InlayHintsAccessibility {
|
|
|
21
21
|
static { this.IsReading = ( (new RawContextKey(
|
|
22
22
|
'isReadingLineWithInlayHints',
|
|
23
23
|
false,
|
|
24
|
-
{ type: 'boolean', description: ( localize(
|
|
24
|
+
{ type: 'boolean', description: ( localize(664, "Whether the current line and its inlay hints are currently focused")) }
|
|
25
25
|
))); }
|
|
26
26
|
static { this.ID = 'editor.contrib.InlayHintsAccessibility'; }
|
|
27
27
|
static get(editor) {
|
|
@@ -36,7 +36,7 @@ let InlayHintsAccessibility = class InlayHintsAccessibility {
|
|
|
36
36
|
this._ariaElement.style.position = 'fixed';
|
|
37
37
|
this._ariaElement.className = 'inlayhint-accessibility-element';
|
|
38
38
|
this._ariaElement.tabIndex = 0;
|
|
39
|
-
this._ariaElement.setAttribute('aria-description', ( localize(
|
|
39
|
+
this._ariaElement.setAttribute('aria-description', ( localize(665, "Code with Inlay Hint Information")));
|
|
40
40
|
this._ctxIsReading = InlayHintsAccessibility_1.IsReading.bindTo(contextKeyService);
|
|
41
41
|
}
|
|
42
42
|
dispose() {
|
|
@@ -136,7 +136,7 @@ registerAction2(class StartReadHints extends EditorAction2 {
|
|
|
136
136
|
constructor() {
|
|
137
137
|
super({
|
|
138
138
|
id: 'inlayHints.startReadingLineWithHint',
|
|
139
|
-
title: ( localize2(
|
|
139
|
+
title: ( localize2(666, "Read Line With Inline Hints")),
|
|
140
140
|
precondition: EditorContextKeys.hasInlayHintsProvider,
|
|
141
141
|
f1: true
|
|
142
142
|
});
|
|
@@ -150,7 +150,7 @@ registerAction2(class StopReadHints extends EditorAction2 {
|
|
|
150
150
|
constructor() {
|
|
151
151
|
super({
|
|
152
152
|
id: 'inlayHints.stopReadingLineWithHint',
|
|
153
|
-
title: ( localize2(
|
|
153
|
+
title: ( localize2(667, "Stop Inlay Hints Reading")),
|
|
154
154
|
precondition: InlayHintsAccessibility.IsReading,
|
|
155
155
|
f1: true,
|
|
156
156
|
keybinding: {
|
|
@@ -24,12 +24,12 @@ import { IChatWidgetService } from '../../chat/browser/chat.service.js';
|
|
|
24
24
|
|
|
25
25
|
CommandsRegistry.registerCommandAlias('interactiveEditor.start', 'inlineChat.start');
|
|
26
26
|
CommandsRegistry.registerCommandAlias('interactive.acceptChanges', ACTION_ACCEPT_CHANGES);
|
|
27
|
-
const START_INLINE_CHAT = registerIcon('start-inline-chat', Codicon.sparkle, ( localize(
|
|
27
|
+
const START_INLINE_CHAT = registerIcon('start-inline-chat', Codicon.sparkle, ( localize(7680, 'Icon which spawns the inline chat from the editor toolbar.')));
|
|
28
28
|
class StartSessionAction extends EditorAction2 {
|
|
29
29
|
constructor() {
|
|
30
30
|
super({
|
|
31
31
|
id: 'inlineChat.start',
|
|
32
|
-
title: ( localize2(
|
|
32
|
+
title: ( localize2(7681, 'Editor Inline Chat')),
|
|
33
33
|
category: AbstractInlineChatAction.category,
|
|
34
34
|
f1: true,
|
|
35
35
|
precondition: ( (ContextKeyExpr.and(
|
|
@@ -68,7 +68,7 @@ class UnstashSessionAction extends EditorAction2 {
|
|
|
68
68
|
constructor() {
|
|
69
69
|
super({
|
|
70
70
|
id: 'inlineChat.unstash',
|
|
71
|
-
title: ( localize2(
|
|
71
|
+
title: ( localize2(7682, "Resume Last Dismissed Inline Chat")),
|
|
72
72
|
category: AbstractInlineChatAction.category,
|
|
73
73
|
precondition: ( (ContextKeyExpr.and(CTX_INLINE_CHAT_HAS_STASHED_SESSION, EditorContextKeys.writable))),
|
|
74
74
|
keybinding: {
|
|
@@ -91,7 +91,7 @@ class UnstashSessionAction extends EditorAction2 {
|
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
class AbstractInlineChatAction extends EditorAction2 {
|
|
94
|
-
static { this.category = ( localize2(
|
|
94
|
+
static { this.category = ( localize2(7683, "Inline Chat")); }
|
|
95
95
|
constructor(desc) {
|
|
96
96
|
super({
|
|
97
97
|
...desc,
|
|
@@ -137,7 +137,7 @@ class ArrowOutUpAction extends AbstractInlineChatAction {
|
|
|
137
137
|
constructor() {
|
|
138
138
|
super({
|
|
139
139
|
id: 'inlineChat.arrowOutUp',
|
|
140
|
-
title: ( localize(
|
|
140
|
+
title: ( localize(7684, 'Cursor Up')),
|
|
141
141
|
precondition: ( (ContextKeyExpr.and(
|
|
142
142
|
CTX_INLINE_CHAT_FOCUSED,
|
|
143
143
|
CTX_INLINE_CHAT_INNER_CURSOR_FIRST,
|
|
@@ -158,7 +158,7 @@ class ArrowOutDownAction extends AbstractInlineChatAction {
|
|
|
158
158
|
constructor() {
|
|
159
159
|
super({
|
|
160
160
|
id: 'inlineChat.arrowOutDown',
|
|
161
|
-
title: ( localize(
|
|
161
|
+
title: ( localize(7685, 'Cursor Down')),
|
|
162
162
|
precondition: ( (ContextKeyExpr.and(
|
|
163
163
|
CTX_INLINE_CHAT_FOCUSED,
|
|
164
164
|
CTX_INLINE_CHAT_INNER_CURSOR_LAST,
|
|
@@ -179,7 +179,7 @@ class FocusInlineChat extends EditorAction2 {
|
|
|
179
179
|
constructor() {
|
|
180
180
|
super({
|
|
181
181
|
id: 'inlineChat.focus',
|
|
182
|
-
title: ( localize2(
|
|
182
|
+
title: ( localize2(7686, "Focus Input")),
|
|
183
183
|
f1: true,
|
|
184
184
|
category: AbstractInlineChatAction.category,
|
|
185
185
|
precondition: ( (ContextKeyExpr.and(
|
|
@@ -213,8 +213,8 @@ class AcceptChanges extends AbstractInlineChatAction {
|
|
|
213
213
|
constructor() {
|
|
214
214
|
super({
|
|
215
215
|
id: ACTION_ACCEPT_CHANGES,
|
|
216
|
-
title: ( localize2(
|
|
217
|
-
shortTitle: ( localize(
|
|
216
|
+
title: ( localize2(7687, "Accept Changes")),
|
|
217
|
+
shortTitle: ( localize(7688, 'Accept')),
|
|
218
218
|
icon: Codicon.check,
|
|
219
219
|
f1: true,
|
|
220
220
|
precondition: ( (ContextKeyExpr.and(CTX_INLINE_CHAT_VISIBLE, (ContextKeyExpr.or(
|
|
@@ -249,7 +249,7 @@ class DiscardHunkAction extends AbstractInlineChatAction {
|
|
|
249
249
|
constructor() {
|
|
250
250
|
super({
|
|
251
251
|
id: ACTION_DISCARD_CHANGES,
|
|
252
|
-
title: ( localize(
|
|
252
|
+
title: ( localize(7689, 'Discard')),
|
|
253
253
|
icon: Codicon.chromeClose,
|
|
254
254
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
255
255
|
menu: [{
|
|
@@ -282,8 +282,8 @@ class RerunAction extends AbstractInlineChatAction {
|
|
|
282
282
|
constructor() {
|
|
283
283
|
super({
|
|
284
284
|
id: ACTION_REGENERATE_RESPONSE,
|
|
285
|
-
title: ( localize2(
|
|
286
|
-
shortTitle: ( localize(
|
|
285
|
+
title: ( localize2(7690, "Rerun Request")),
|
|
286
|
+
shortTitle: ( localize(7691, 'Rerun')),
|
|
287
287
|
f1: false,
|
|
288
288
|
icon: Codicon.refresh,
|
|
289
289
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
@@ -326,7 +326,7 @@ class CloseAction extends AbstractInlineChatAction {
|
|
|
326
326
|
constructor() {
|
|
327
327
|
super({
|
|
328
328
|
id: 'inlineChat.close',
|
|
329
|
-
title: ( localize(
|
|
329
|
+
title: ( localize(7692, 'Close')),
|
|
330
330
|
icon: Codicon.close,
|
|
331
331
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
332
332
|
keybinding: {
|
|
@@ -355,7 +355,7 @@ class ConfigureInlineChatAction extends AbstractInlineChatAction {
|
|
|
355
355
|
constructor() {
|
|
356
356
|
super({
|
|
357
357
|
id: 'inlineChat.configure',
|
|
358
|
-
title: ( localize2(
|
|
358
|
+
title: ( localize2(7693, 'Configure Inline Chat')),
|
|
359
359
|
icon: Codicon.settingsGear,
|
|
360
360
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
361
361
|
f1: true,
|
|
@@ -374,7 +374,7 @@ class MoveToNextHunk extends AbstractInlineChatAction {
|
|
|
374
374
|
constructor() {
|
|
375
375
|
super({
|
|
376
376
|
id: 'inlineChat.moveToNextHunk',
|
|
377
|
-
title: ( localize2(
|
|
377
|
+
title: ( localize2(7694, 'Move to Next Change')),
|
|
378
378
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
379
379
|
f1: true,
|
|
380
380
|
keybinding: {
|
|
@@ -391,7 +391,7 @@ class MoveToPreviousHunk extends AbstractInlineChatAction {
|
|
|
391
391
|
constructor() {
|
|
392
392
|
super({
|
|
393
393
|
id: 'inlineChat.moveToPreviousHunk',
|
|
394
|
-
title: ( localize2(
|
|
394
|
+
title: ( localize2(7695, 'Move to Previous Change')),
|
|
395
395
|
f1: true,
|
|
396
396
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
397
397
|
keybinding: {
|
|
@@ -408,7 +408,7 @@ class ViewInChatAction extends AbstractInlineChatAction {
|
|
|
408
408
|
constructor() {
|
|
409
409
|
super({
|
|
410
410
|
id: ACTION_VIEW_IN_CHAT,
|
|
411
|
-
title: ( localize(
|
|
411
|
+
title: ( localize(7696, 'View in Chat')),
|
|
412
412
|
icon: Codicon.commentDiscussion,
|
|
413
413
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
414
414
|
menu: [{
|
|
@@ -446,7 +446,7 @@ class ToggleDiffForChange extends AbstractInlineChatAction {
|
|
|
446
446
|
(CTX_INLINE_CHAT_EDIT_MODE.isEqualTo("live" )),
|
|
447
447
|
CTX_INLINE_CHAT_CHANGE_HAS_DIFF
|
|
448
448
|
))),
|
|
449
|
-
title: ( localize2(
|
|
449
|
+
title: ( localize2(7697, 'Toggle Changes')),
|
|
450
450
|
icon: Codicon.diffSingle,
|
|
451
451
|
toggled: {
|
|
452
452
|
condition: CTX_INLINE_CHAT_CHANGE_SHOWS_DIFF,
|