@codingame/monaco-vscode-api 10.0.1 → 10.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/findinput/findInputToggles.js +3 -3
- 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/toolbar/toolbar.js +1 -1
- package/vscode/src/vs/base/common/jsonErrorMessages.js +9 -9
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +1 -1
- package/vscode/src/vs/editor/browser/coreCommands.js +3 -3
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +7 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +3 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +1 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +23 -23
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +30 -30
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.js +10 -10
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +11 -11
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +45 -26
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- 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/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
- 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/quickinput/browser/quickPickPin.js +2 -2
- package/vscode/src/vs/platform/terminal/common/terminalProfiles.js +1 -1
- 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/tokenClassificationRegistry.js +42 -42
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- 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/browser/actions/developerActions.js +31 -31
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +129 -129
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +25 -25
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +131 -131
- 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/textDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +17 -17
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +9 -9
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +13 -13
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +34 -34
- 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/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
- 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/chat/browser/actions/chatExecuteActions.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAgentHover.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatAttachmentsContentPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCodeCitationContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCommandContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatConfirmationContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatReferencesContentPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTextEditContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatToolInvocationPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTreeContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDragAndDrop.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditingService.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImagePaste.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInlineAnchorWidget.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputCompletions.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatColors.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +21 -21
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +13 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.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/comments/browser/commentReply.js +4 -4
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +5 -5
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +65 -65
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugExpressionRenderer.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.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/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/views/emptyView.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +11 -9
- 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/inlineChat/browser/inlineChatActions.js +19 -19
- 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/inlineChat/common/inlineChat.js +41 -41
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- 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/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/controller/cellOperations.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +28 -28
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +15 -15
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +21 -21
- 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/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/tasks.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +28 -28
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChat.js +7 -7
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatController.js +1 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
- 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/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/textMate/common/TMGrammars.js +9 -9
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +3 -3
|
@@ -22,9 +22,9 @@ import '../../theme/common/colors/minimapColors.js';
|
|
|
22
22
|
import '../../theme/common/colors/miscColors.js';
|
|
23
23
|
import '../../theme/common/colors/quickpickColors.js';
|
|
24
24
|
import '../../theme/common/colors/searchColors.js';
|
|
25
|
-
registerColor('actionBar.toggledBackground', inputActiveOptionBackground, ( localize(
|
|
25
|
+
registerColor('actionBar.toggledBackground', inputActiveOptionBackground, ( localize(9978, 'Background color for toggled action items in action bar.')));
|
|
26
26
|
const ActionWidgetContextKeys = {
|
|
27
|
-
Visible: ( (new RawContextKey('codeActionMenuVisible', false, ( localize(
|
|
27
|
+
Visible: ( (new RawContextKey('codeActionMenuVisible', false, ( localize(9979, "Whether the action widget list is visible")))))
|
|
28
28
|
};
|
|
29
29
|
const IActionWidgetService = ( (createDecorator('actionWidgetService')));
|
|
30
30
|
let ActionWidgetService = class ActionWidgetService extends Disposable {
|
|
@@ -129,7 +129,7 @@ registerAction2(class extends Action2 {
|
|
|
129
129
|
constructor() {
|
|
130
130
|
super({
|
|
131
131
|
id: 'hideCodeActionWidget',
|
|
132
|
-
title: ( localize2(
|
|
132
|
+
title: ( localize2(9980, "Hide action widget")),
|
|
133
133
|
precondition: ActionWidgetContextKeys.Visible,
|
|
134
134
|
keybinding: {
|
|
135
135
|
weight,
|
|
@@ -146,7 +146,7 @@ registerAction2(class extends Action2 {
|
|
|
146
146
|
constructor() {
|
|
147
147
|
super({
|
|
148
148
|
id: 'selectPrevCodeAction',
|
|
149
|
-
title: ( localize2(
|
|
149
|
+
title: ( localize2(9981, "Select previous action")),
|
|
150
150
|
precondition: ActionWidgetContextKeys.Visible,
|
|
151
151
|
keybinding: {
|
|
152
152
|
weight,
|
|
@@ -167,7 +167,7 @@ registerAction2(class extends Action2 {
|
|
|
167
167
|
constructor() {
|
|
168
168
|
super({
|
|
169
169
|
id: 'selectNextCodeAction',
|
|
170
|
-
title: ( localize2(
|
|
170
|
+
title: ( localize2(9982, "Select next action")),
|
|
171
171
|
precondition: ActionWidgetContextKeys.Visible,
|
|
172
172
|
keybinding: {
|
|
173
173
|
weight,
|
|
@@ -188,7 +188,7 @@ registerAction2(class extends Action2 {
|
|
|
188
188
|
constructor() {
|
|
189
189
|
super({
|
|
190
190
|
id: acceptSelectedActionCommand,
|
|
191
|
-
title: ( localize2(
|
|
191
|
+
title: ( localize2(9983, "Accept selected action")),
|
|
192
192
|
precondition: ActionWidgetContextKeys.Visible,
|
|
193
193
|
keybinding: {
|
|
194
194
|
weight,
|
|
@@ -208,7 +208,7 @@ registerAction2(class extends Action2 {
|
|
|
208
208
|
constructor() {
|
|
209
209
|
super({
|
|
210
210
|
id: previewSelectedActionCommand,
|
|
211
|
-
title: ( localize2(
|
|
211
|
+
title: ( localize2(9984, "Preview selected action")),
|
|
212
212
|
precondition: ActionWidgetContextKeys.Visible,
|
|
213
213
|
keybinding: {
|
|
214
214
|
weight,
|
|
@@ -28,13 +28,13 @@ class AbstractDialogHandler {
|
|
|
28
28
|
buttons.push(confirmationDialog.primaryButton);
|
|
29
29
|
}
|
|
30
30
|
else {
|
|
31
|
-
buttons.push(( localize(
|
|
31
|
+
buttons.push(( localize(5658, "&&Yes")));
|
|
32
32
|
}
|
|
33
33
|
if (confirmationDialog.cancelButton) {
|
|
34
34
|
buttons.push(confirmationDialog.cancelButton);
|
|
35
35
|
}
|
|
36
36
|
else {
|
|
37
|
-
buttons.push(( localize(
|
|
37
|
+
buttons.push(( localize(5659, "Cancel")));
|
|
38
38
|
}
|
|
39
39
|
break;
|
|
40
40
|
}
|
|
@@ -45,7 +45,7 @@ class AbstractDialogHandler {
|
|
|
45
45
|
}
|
|
46
46
|
if (promptDialog.cancelButton) {
|
|
47
47
|
if (promptDialog.cancelButton === true) {
|
|
48
|
-
buttons.push(( localize(
|
|
48
|
+
buttons.push(( localize(5659, "Cancel")));
|
|
49
49
|
}
|
|
50
50
|
else if (typeof promptDialog.cancelButton === 'string') {
|
|
51
51
|
buttons.push(promptDialog.cancelButton);
|
|
@@ -55,12 +55,12 @@ class AbstractDialogHandler {
|
|
|
55
55
|
buttons.push(promptDialog.cancelButton.label);
|
|
56
56
|
}
|
|
57
57
|
else {
|
|
58
|
-
buttons.push(( localize(
|
|
58
|
+
buttons.push(( localize(5659, "Cancel")));
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
if (buttons.length === 0) {
|
|
63
|
-
buttons.push(( localize(
|
|
63
|
+
buttons.push(( localize(5660, "&&OK")));
|
|
64
64
|
}
|
|
65
65
|
break;
|
|
66
66
|
}
|
|
@@ -70,13 +70,13 @@ class AbstractDialogHandler {
|
|
|
70
70
|
buttons.push(inputDialog.primaryButton);
|
|
71
71
|
}
|
|
72
72
|
else {
|
|
73
|
-
buttons.push(( localize(
|
|
73
|
+
buttons.push(( localize(5660, "&&OK")));
|
|
74
74
|
}
|
|
75
75
|
if (inputDialog.cancelButton) {
|
|
76
76
|
buttons.push(inputDialog.cancelButton);
|
|
77
77
|
}
|
|
78
78
|
else {
|
|
79
|
-
buttons.push(( localize(
|
|
79
|
+
buttons.push(( localize(5659, "Cancel")));
|
|
80
80
|
}
|
|
81
81
|
break;
|
|
82
82
|
}
|
|
@@ -118,11 +118,11 @@ function getFileNamesMessage(fileNamesOrResources) {
|
|
|
118
118
|
))));
|
|
119
119
|
if (fileNamesOrResources.length > MAX_CONFIRM_FILES) {
|
|
120
120
|
if (fileNamesOrResources.length - MAX_CONFIRM_FILES === 1) {
|
|
121
|
-
message.push(( localize(
|
|
121
|
+
message.push(( localize(5661, "...1 additional file not shown")));
|
|
122
122
|
}
|
|
123
123
|
else {
|
|
124
124
|
message.push(( localize(
|
|
125
|
-
|
|
125
|
+
5662,
|
|
126
126
|
"...{0} additional files not shown",
|
|
127
127
|
fileNamesOrResources.length - MAX_CONFIRM_FILES
|
|
128
128
|
)));
|
|
@@ -178,7 +178,7 @@ async function extractFileListData(accessor, files) {
|
|
|
178
178
|
if (file) {
|
|
179
179
|
if (file.size > 100 * ByteSize.MB) {
|
|
180
180
|
dialogService.warn(( localize(
|
|
181
|
-
|
|
181
|
+
5731,
|
|
182
182
|
"File is too large to open as untitled editor. Please upload it first into the file explorer and then try again."
|
|
183
183
|
)));
|
|
184
184
|
continue;
|
|
@@ -26,7 +26,7 @@ function replaceNLStrings(logger, extensionManifest, messages, originalMessages)
|
|
|
26
26
|
const originalMessage = typeof original === 'string' ? original : original?.message;
|
|
27
27
|
if (!message) {
|
|
28
28
|
if (!originalMessage) {
|
|
29
|
-
logger.warn(`[${extensionManifest.name}]: ${( localize(
|
|
29
|
+
logger.warn(`[${extensionManifest.name}]: ${( localize(1629, "Couldn't find message for key {0}.", messageKey))}`);
|
|
30
30
|
}
|
|
31
31
|
return;
|
|
32
32
|
}
|
|
@@ -169,16 +169,16 @@ function isValidVersion(_inputVersion, _inputDate, _desiredVersion) {
|
|
|
169
169
|
function validateExtensionManifest(productVersion, productDate, extensionLocation, extensionManifest, extensionIsBuiltin, validateApiVersion) {
|
|
170
170
|
const validations = [];
|
|
171
171
|
if (typeof extensionManifest.publisher !== 'undefined' && typeof extensionManifest.publisher !== 'string') {
|
|
172
|
-
validations.push([Severity$1.Error, ( localize(
|
|
172
|
+
validations.push([Severity$1.Error, ( localize(1609, "property publisher must be of type `string`."))]);
|
|
173
173
|
return validations;
|
|
174
174
|
}
|
|
175
175
|
if (typeof extensionManifest.name !== 'string') {
|
|
176
|
-
validations.push([Severity$1.Error, ( localize(
|
|
176
|
+
validations.push([Severity$1.Error, ( localize(1610, "property `{0}` is mandatory and must be of type `string`", 'name'))]);
|
|
177
177
|
return validations;
|
|
178
178
|
}
|
|
179
179
|
if (typeof extensionManifest.version !== 'string') {
|
|
180
180
|
validations.push([Severity$1.Error, ( localize(
|
|
181
|
-
|
|
181
|
+
1611,
|
|
182
182
|
"property `{0}` is mandatory and must be of type `string`",
|
|
183
183
|
'version'
|
|
184
184
|
))]);
|
|
@@ -186,7 +186,7 @@ function validateExtensionManifest(productVersion, productDate, extensionLocatio
|
|
|
186
186
|
}
|
|
187
187
|
if (!extensionManifest.engines) {
|
|
188
188
|
validations.push([Severity$1.Error, ( localize(
|
|
189
|
-
|
|
189
|
+
1612,
|
|
190
190
|
"property `{0}` is mandatory and must be of type `object`",
|
|
191
191
|
'engines'
|
|
192
192
|
))]);
|
|
@@ -194,7 +194,7 @@ function validateExtensionManifest(productVersion, productDate, extensionLocatio
|
|
|
194
194
|
}
|
|
195
195
|
if (typeof extensionManifest.engines.vscode !== 'string') {
|
|
196
196
|
validations.push([Severity$1.Error, ( localize(
|
|
197
|
-
|
|
197
|
+
1613,
|
|
198
198
|
"property `{0}` is mandatory and must be of type `string`",
|
|
199
199
|
'engines.vscode'
|
|
200
200
|
))]);
|
|
@@ -203,7 +203,7 @@ function validateExtensionManifest(productVersion, productDate, extensionLocatio
|
|
|
203
203
|
if (typeof extensionManifest.extensionDependencies !== 'undefined') {
|
|
204
204
|
if (!isStringArray(extensionManifest.extensionDependencies)) {
|
|
205
205
|
validations.push([Severity$1.Error, ( localize(
|
|
206
|
-
|
|
206
|
+
1614,
|
|
207
207
|
"property `{0}` can be omitted or must be of type `string[]`",
|
|
208
208
|
'extensionDependencies'
|
|
209
209
|
))]);
|
|
@@ -213,7 +213,7 @@ function validateExtensionManifest(productVersion, productDate, extensionLocatio
|
|
|
213
213
|
if (typeof extensionManifest.activationEvents !== 'undefined') {
|
|
214
214
|
if (!isStringArray(extensionManifest.activationEvents)) {
|
|
215
215
|
validations.push([Severity$1.Error, ( localize(
|
|
216
|
-
|
|
216
|
+
1615,
|
|
217
217
|
"property `{0}` can be omitted or must be of type `string[]`",
|
|
218
218
|
'activationEvents'
|
|
219
219
|
))]);
|
|
@@ -221,7 +221,7 @@ function validateExtensionManifest(productVersion, productDate, extensionLocatio
|
|
|
221
221
|
}
|
|
222
222
|
if (typeof extensionManifest.main === 'undefined' && typeof extensionManifest.browser === 'undefined') {
|
|
223
223
|
validations.push([Severity$1.Error, ( localize(
|
|
224
|
-
|
|
224
|
+
1616,
|
|
225
225
|
"property `{0}` should be omitted if the extension doesn't have a `{1}` or `{2}` property.",
|
|
226
226
|
'activationEvents',
|
|
227
227
|
'main',
|
|
@@ -233,7 +233,7 @@ function validateExtensionManifest(productVersion, productDate, extensionLocatio
|
|
|
233
233
|
if (typeof extensionManifest.extensionKind !== 'undefined') {
|
|
234
234
|
if (typeof extensionManifest.main === 'undefined') {
|
|
235
235
|
validations.push([Severity$1.Warning, ( localize(
|
|
236
|
-
|
|
236
|
+
1617,
|
|
237
237
|
"property `{0}` can be defined only if property `main` is also defined.",
|
|
238
238
|
'extensionKind'
|
|
239
239
|
))]);
|
|
@@ -241,14 +241,14 @@ function validateExtensionManifest(productVersion, productDate, extensionLocatio
|
|
|
241
241
|
}
|
|
242
242
|
if (typeof extensionManifest.main !== 'undefined') {
|
|
243
243
|
if (typeof extensionManifest.main !== 'string') {
|
|
244
|
-
validations.push([Severity$1.Error, ( localize(
|
|
244
|
+
validations.push([Severity$1.Error, ( localize(1618, "property `{0}` can be omitted or must be of type `string`", 'main'))]);
|
|
245
245
|
return validations;
|
|
246
246
|
}
|
|
247
247
|
else {
|
|
248
248
|
const mainLocation = joinPath(extensionLocation, extensionManifest.main);
|
|
249
249
|
if (!isEqualOrParent(mainLocation, extensionLocation)) {
|
|
250
250
|
validations.push([Severity$1.Warning, ( localize(
|
|
251
|
-
|
|
251
|
+
1619,
|
|
252
252
|
"Expected `main` ({0}) to be included inside extension's folder ({1}). This might make the extension non-portable.",
|
|
253
253
|
mainLocation.path,
|
|
254
254
|
extensionLocation.path
|
|
@@ -259,7 +259,7 @@ function validateExtensionManifest(productVersion, productDate, extensionLocatio
|
|
|
259
259
|
if (typeof extensionManifest.browser !== 'undefined') {
|
|
260
260
|
if (typeof extensionManifest.browser !== 'string') {
|
|
261
261
|
validations.push([Severity$1.Error, ( localize(
|
|
262
|
-
|
|
262
|
+
1620,
|
|
263
263
|
"property `{0}` can be omitted or must be of type `string`",
|
|
264
264
|
'browser'
|
|
265
265
|
))]);
|
|
@@ -269,7 +269,7 @@ function validateExtensionManifest(productVersion, productDate, extensionLocatio
|
|
|
269
269
|
const browserLocation = joinPath(extensionLocation, extensionManifest.browser);
|
|
270
270
|
if (!isEqualOrParent(browserLocation, extensionLocation)) {
|
|
271
271
|
validations.push([Severity$1.Warning, ( localize(
|
|
272
|
-
|
|
272
|
+
1621,
|
|
273
273
|
"Expected `browser` ({0}) to be included inside extension's folder ({1}). This might make the extension non-portable.",
|
|
274
274
|
browserLocation.path,
|
|
275
275
|
extensionLocation.path
|
|
@@ -278,7 +278,7 @@ function validateExtensionManifest(productVersion, productDate, extensionLocatio
|
|
|
278
278
|
}
|
|
279
279
|
}
|
|
280
280
|
if (!semverExports.valid(extensionManifest.version)) {
|
|
281
|
-
validations.push([Severity$1.Error, ( localize(
|
|
281
|
+
validations.push([Severity$1.Error, ( localize(1622, "Extension version is not semver compatible."))]);
|
|
282
282
|
return validations;
|
|
283
283
|
}
|
|
284
284
|
const notices = [];
|
|
@@ -331,14 +331,14 @@ function areApiProposalsCompatible(apiProposals, arg1) {
|
|
|
331
331
|
if (notices) {
|
|
332
332
|
if (incompatibleProposals.length === 1) {
|
|
333
333
|
notices.push(( localize(
|
|
334
|
-
|
|
334
|
+
1623,
|
|
335
335
|
"This extension is using the API proposal '{0}' that is not compatible with the current version of VS Code.",
|
|
336
336
|
incompatibleProposals[0]
|
|
337
337
|
)));
|
|
338
338
|
}
|
|
339
339
|
else {
|
|
340
340
|
notices.push(( localize(
|
|
341
|
-
|
|
341
|
+
1624,
|
|
342
342
|
"This extension is using the API proposals {0} and '{1}' that are not compatible with the current version of VS Code.",
|
|
343
343
|
( (incompatibleProposals.slice(0, incompatibleProposals.length - 1).map(p => `'${p}'`))).join(', '),
|
|
344
344
|
incompatibleProposals[incompatibleProposals.length - 1]
|
|
@@ -353,7 +353,7 @@ function isVersionValid(currentVersion, date, requestedVersion, notices = []) {
|
|
|
353
353
|
const desiredVersion = normalizeVersion(parseVersion(requestedVersion));
|
|
354
354
|
if (!desiredVersion) {
|
|
355
355
|
notices.push(( localize(
|
|
356
|
-
|
|
356
|
+
1625,
|
|
357
357
|
"Could not parse `engines.vscode` value {0}. Please use, for example: ^1.22.0, ^1.22.x, etc.",
|
|
358
358
|
requestedVersion
|
|
359
359
|
)));
|
|
@@ -362,7 +362,7 @@ function isVersionValid(currentVersion, date, requestedVersion, notices = []) {
|
|
|
362
362
|
if (desiredVersion.majorBase === 0) {
|
|
363
363
|
if (!desiredVersion.majorMustEqual || !desiredVersion.minorMustEqual) {
|
|
364
364
|
notices.push(( localize(
|
|
365
|
-
|
|
365
|
+
1626,
|
|
366
366
|
"Version specified in `engines.vscode` ({0}) is not specific enough. For vscode versions before 1.0.0, please define at a minimum the major and minor desired version. E.g. ^0.10.0, 0.10.x, 0.11.0, etc.",
|
|
367
367
|
requestedVersion
|
|
368
368
|
)));
|
|
@@ -372,7 +372,7 @@ function isVersionValid(currentVersion, date, requestedVersion, notices = []) {
|
|
|
372
372
|
else {
|
|
373
373
|
if (!desiredVersion.majorMustEqual) {
|
|
374
374
|
notices.push(( localize(
|
|
375
|
-
|
|
375
|
+
1627,
|
|
376
376
|
"Version specified in `engines.vscode` ({0}) is not specific enough. For vscode versions after 1.0.0, please define at a minimum the major desired version. E.g. ^1.10.0, 1.10.x, 1.x.x, 2.x.x, etc.",
|
|
377
377
|
requestedVersion
|
|
378
378
|
)));
|
|
@@ -381,7 +381,7 @@ function isVersionValid(currentVersion, date, requestedVersion, notices = []) {
|
|
|
381
381
|
}
|
|
382
382
|
if (!isValidVersion(currentVersion, date, desiredVersion)) {
|
|
383
383
|
notices.push(( localize(
|
|
384
|
-
|
|
384
|
+
1628,
|
|
385
385
|
"Extension is not compatible with Code {0}. Extension requires: {1}.",
|
|
386
386
|
currentVersion,
|
|
387
387
|
requestedVersion
|
|
@@ -203,7 +203,7 @@ class HTMLFileSystemProvider {
|
|
|
203
203
|
await this.delete(from, { recursive: false, useTrash: false, atomic: false });
|
|
204
204
|
}
|
|
205
205
|
else {
|
|
206
|
-
throw this.createFileSystemProviderError(from, localize(
|
|
206
|
+
throw this.createFileSystemProviderError(from, localize(738, "Rename is only supported for files."), FileSystemProviderErrorCode.Unavailable);
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
209
|
catch (error) {
|
|
@@ -333,7 +333,7 @@ class HTMLFileSystemProvider {
|
|
|
333
333
|
}
|
|
334
334
|
let code = FileSystemProviderErrorCode.Unknown;
|
|
335
335
|
if (error.name === 'NotAllowedError') {
|
|
336
|
-
error = ( (new Error(( localize(
|
|
336
|
+
error = ( (new Error(( localize(739, "Insufficient permissions. Please retry and allow the operation.")))));
|
|
337
337
|
code = FileSystemProviderErrorCode.Unavailable;
|
|
338
338
|
}
|
|
339
339
|
return createFileSystemProviderError(error, code);
|
|
@@ -8,7 +8,7 @@ import { KeybindingsRegistry } from '../../keybinding/common/keybindingsRegistry
|
|
|
8
8
|
import { localize } from '../../../nls.js';
|
|
9
9
|
import { toDisposable, DisposableStore } from '../../../base/common/lifecycle.js';
|
|
10
10
|
import { isActiveElement } from '../../../base/browser/dom.js';
|
|
11
|
-
const historyNavigationVisible = ( (new RawContextKey('suggestWidgetVisible', false, ( localize(
|
|
11
|
+
const historyNavigationVisible = ( (new RawContextKey('suggestWidgetVisible', false, ( localize(9988, "Whether suggestion are visible")))));
|
|
12
12
|
const HistoryNavigationWidgetFocusContext = 'historyNavigationWidgetFocus';
|
|
13
13
|
const HistoryNavigationForwardsEnablementContext = 'historyNavigationForwardsEnabled';
|
|
14
14
|
const HistoryNavigationBackwardsEnablementContext = 'historyNavigationBackwardsEnabled';
|
|
@@ -13,7 +13,7 @@ const defaultCommandAndKeybindingRule = {
|
|
|
13
13
|
inQuickInputContext
|
|
14
14
|
))),
|
|
15
15
|
metadata: { description: ( localize(
|
|
16
|
-
|
|
16
|
+
10089,
|
|
17
17
|
"Used while in the context of the quick pick. If you change one keybinding for this command, you should change all of the other keybindings (modifier variants) of this command as well."
|
|
18
18
|
)) }
|
|
19
19
|
};
|
|
@@ -68,11 +68,11 @@ registerQuickPickCommandAndKeybindingRule({ id: 'quickInput.last', primary: ctrl
|
|
|
68
68
|
registerQuickPickCommandAndKeybindingRule({ id: 'quickInput.next', primary: 18 , handler: focusHandler(QuickPickFocus.Next) }, { withCtrlMod: true });
|
|
69
69
|
registerQuickPickCommandAndKeybindingRule({ id: 'quickInput.previous', primary: 16 , handler: focusHandler(QuickPickFocus.Previous) }, { withCtrlMod: true });
|
|
70
70
|
const nextSeparatorFallbackDesc = ( localize(
|
|
71
|
-
|
|
71
|
+
10090,
|
|
72
72
|
"If we're in quick access mode, this will navigate to the next item. If we are not in quick access mode, this will navigate to the next separator."
|
|
73
73
|
));
|
|
74
74
|
const prevSeparatorFallbackDesc = ( localize(
|
|
75
|
-
|
|
75
|
+
10091,
|
|
76
76
|
"If we're in quick access mode, this will navigate to the previous item. If we are not in quick access mode, this will navigate to the previous separator."
|
|
77
77
|
));
|
|
78
78
|
if (isMacintosh) {
|
|
@@ -183,7 +183,7 @@ class QuickInputItemDelegate {
|
|
|
183
183
|
}
|
|
184
184
|
class QuickInputAccessibilityProvider {
|
|
185
185
|
getWidgetAriaLabel() {
|
|
186
|
-
return ( localize(
|
|
186
|
+
return ( localize(10088, "Quick Input"));
|
|
187
187
|
}
|
|
188
188
|
getAriaLabel(element) {
|
|
189
189
|
return element.separator?.label
|
|
@@ -53,7 +53,7 @@ function renderQuickInputDescription(description, container, actionHandler) {
|
|
|
53
53
|
let title = node.title;
|
|
54
54
|
if (!title && node.href.startsWith('command:')) {
|
|
55
55
|
title = ( localize(
|
|
56
|
-
|
|
56
|
+
10086,
|
|
57
57
|
"Click to execute command '{0}'",
|
|
58
58
|
node.href.substring('command:'.length)
|
|
59
59
|
));
|
|
@@ -39,7 +39,7 @@ function _formatPinnedItems(storageKey, quickPick, storageService, changedItem,
|
|
|
39
39
|
pinnedItems = getPinnedItems(storageKey, storageService);
|
|
40
40
|
}
|
|
41
41
|
if (pinnedItems.length) {
|
|
42
|
-
formattedItems.push({ type: 'separator', label: ( localize(
|
|
42
|
+
formattedItems.push({ type: 'separator', label: ( localize(11571, 'pinned')) });
|
|
43
43
|
}
|
|
44
44
|
const pinnedIds = ( (new Set()));
|
|
45
45
|
for (const itemToFind of pinnedItems) {
|
|
@@ -70,7 +70,7 @@ function updateButtons(item, removePin) {
|
|
|
70
70
|
const newButtons = item.buttons?.filter(button => button.iconClass && !buttonClasses.includes(button.iconClass)) ?? [];
|
|
71
71
|
newButtons.unshift({
|
|
72
72
|
iconClass: removePin ? pinButtonClass : pinnedButtonClass,
|
|
73
|
-
tooltip: removePin ? ( localize(
|
|
73
|
+
tooltip: removePin ? ( localize(11572, "Pin command")) : ( localize(11573, "Pinned command")),
|
|
74
74
|
alwaysVisible: false
|
|
75
75
|
});
|
|
76
76
|
item.buttons = newButtons;
|
|
@@ -5,7 +5,7 @@ import { ThemeIcon } from '../../../base/common/themables.js';
|
|
|
5
5
|
function createProfileSchemaEnums(detectedProfiles, extensionProfiles) {
|
|
6
6
|
const result = [{
|
|
7
7
|
name: null,
|
|
8
|
-
description: ( localize(
|
|
8
|
+
description: ( localize(9077, 'Automatically detect the default'))
|
|
9
9
|
}];
|
|
10
10
|
result.push(...( (detectedProfiles.map(e => {
|
|
11
11
|
return {
|
|
@@ -4,93 +4,93 @@ import { registerColor, ifDefinedThenElse, darken, lighten, transparent } from '
|
|
|
4
4
|
import { focusBorder, activeContrastBorder, iconForeground, contrastBorder, foreground } from './baseColors.js';
|
|
5
5
|
import { editorWidgetBackground, widgetShadow, editorFindMatchHighlight, editorFindMatchHighlightBorder, editorWidgetForeground } from './editorColors.js';
|
|
6
6
|
const listFocusBackground = registerColor('list.focusBackground', null, ( localize(
|
|
7
|
-
|
|
7
|
+
1878,
|
|
8
8
|
"List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not."
|
|
9
9
|
)));
|
|
10
10
|
const listFocusForeground = registerColor('list.focusForeground', null, ( localize(
|
|
11
|
-
|
|
11
|
+
1879,
|
|
12
12
|
"List/Tree foreground color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not."
|
|
13
13
|
)));
|
|
14
14
|
const listFocusOutline = registerColor('list.focusOutline', { dark: focusBorder, light: focusBorder, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(
|
|
15
|
-
|
|
15
|
+
1880,
|
|
16
16
|
"List/Tree outline color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not."
|
|
17
17
|
)));
|
|
18
18
|
const listFocusAndSelectionOutline = registerColor('list.focusAndSelectionOutline', null, ( localize(
|
|
19
|
-
|
|
19
|
+
1881,
|
|
20
20
|
"List/Tree outline color for the focused item when the list/tree is active and selected. An active list/tree has keyboard focus, an inactive does not."
|
|
21
21
|
)));
|
|
22
22
|
const listActiveSelectionBackground = registerColor('list.activeSelectionBackground', { dark: '#04395E', light: '#0060C0', hcDark: null, hcLight: ( (( (Color.fromHex('#0F4A85'))).transparent(0.1))) }, ( localize(
|
|
23
|
-
|
|
23
|
+
1882,
|
|
24
24
|
"List/Tree background color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not."
|
|
25
25
|
)));
|
|
26
26
|
const listActiveSelectionForeground = registerColor('list.activeSelectionForeground', { dark: Color.white, light: Color.white, hcDark: null, hcLight: null }, ( localize(
|
|
27
|
-
|
|
27
|
+
1883,
|
|
28
28
|
"List/Tree foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not."
|
|
29
29
|
)));
|
|
30
30
|
const listActiveSelectionIconForeground = registerColor('list.activeSelectionIconForeground', null, ( localize(
|
|
31
|
-
|
|
31
|
+
1884,
|
|
32
32
|
"List/Tree icon foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not."
|
|
33
33
|
)));
|
|
34
34
|
const listInactiveSelectionBackground = registerColor('list.inactiveSelectionBackground', { dark: '#37373D', light: '#E4E6F1', hcDark: null, hcLight: ( (( (Color.fromHex('#0F4A85'))).transparent(0.1))) }, ( localize(
|
|
35
|
-
|
|
35
|
+
1885,
|
|
36
36
|
"List/Tree background color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not."
|
|
37
37
|
)));
|
|
38
38
|
const listInactiveSelectionForeground = registerColor('list.inactiveSelectionForeground', null, ( localize(
|
|
39
|
-
|
|
39
|
+
1886,
|
|
40
40
|
"List/Tree foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not."
|
|
41
41
|
)));
|
|
42
42
|
const listInactiveSelectionIconForeground = registerColor('list.inactiveSelectionIconForeground', null, ( localize(
|
|
43
|
-
|
|
43
|
+
1887,
|
|
44
44
|
"List/Tree icon foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not."
|
|
45
45
|
)));
|
|
46
46
|
const listInactiveFocusBackground = registerColor('list.inactiveFocusBackground', null, ( localize(
|
|
47
|
-
|
|
47
|
+
1888,
|
|
48
48
|
"List/Tree background color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not."
|
|
49
49
|
)));
|
|
50
50
|
const listInactiveFocusOutline = registerColor('list.inactiveFocusOutline', null, ( localize(
|
|
51
|
-
|
|
51
|
+
1889,
|
|
52
52
|
"List/Tree outline color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not."
|
|
53
53
|
)));
|
|
54
|
-
const listHoverBackground = registerColor('list.hoverBackground', { dark: '#2A2D2E', light: '#F0F0F0', hcDark: ( (Color.white.transparent(0.1))), hcLight: ( (( (Color.fromHex('#0F4A85'))).transparent(0.1))) }, ( localize(
|
|
55
|
-
const listHoverForeground = registerColor('list.hoverForeground', null, ( localize(
|
|
54
|
+
const listHoverBackground = registerColor('list.hoverBackground', { dark: '#2A2D2E', light: '#F0F0F0', hcDark: ( (Color.white.transparent(0.1))), hcLight: ( (( (Color.fromHex('#0F4A85'))).transparent(0.1))) }, ( localize(1890, "List/Tree background when hovering over items using the mouse.")));
|
|
55
|
+
const listHoverForeground = registerColor('list.hoverForeground', null, ( localize(1891, "List/Tree foreground when hovering over items using the mouse.")));
|
|
56
56
|
const listDropOverBackground = registerColor('list.dropBackground', { dark: '#062F4A', light: '#D6EBFF', hcDark: null, hcLight: null }, ( localize(
|
|
57
|
-
|
|
57
|
+
1892,
|
|
58
58
|
"List/Tree drag and drop background when moving items over other items when using the mouse."
|
|
59
59
|
)));
|
|
60
60
|
const listDropBetweenBackground = registerColor('list.dropBetweenBackground', { dark: iconForeground, light: iconForeground, hcDark: null, hcLight: null }, ( localize(
|
|
61
|
-
|
|
61
|
+
1893,
|
|
62
62
|
"List/Tree drag and drop border color when moving items between items when using the mouse."
|
|
63
63
|
)));
|
|
64
64
|
const listHighlightForeground = registerColor('list.highlightForeground', { dark: '#2AAAFF', light: '#0066BF', hcDark: focusBorder, hcLight: focusBorder }, ( localize(
|
|
65
|
-
|
|
65
|
+
1894,
|
|
66
66
|
'List/Tree foreground color of the match highlights when searching inside the list/tree.'
|
|
67
67
|
)));
|
|
68
68
|
const listFocusHighlightForeground = registerColor('list.focusHighlightForeground', { dark: listHighlightForeground, light: ifDefinedThenElse(listActiveSelectionBackground, listHighlightForeground, '#BBE7FF'), hcDark: listHighlightForeground, hcLight: listHighlightForeground }, ( localize(
|
|
69
|
-
|
|
69
|
+
1895,
|
|
70
70
|
'List/Tree foreground color of the match highlights on actively focused items when searching inside the list/tree.'
|
|
71
71
|
)));
|
|
72
72
|
const listInvalidItemForeground = registerColor('list.invalidItemForeground', { dark: '#B89500', light: '#B89500', hcDark: '#B89500', hcLight: '#B5200D' }, ( localize(
|
|
73
|
-
|
|
73
|
+
1896,
|
|
74
74
|
'List/Tree foreground color for invalid items, for example an unresolved root in explorer.'
|
|
75
75
|
)));
|
|
76
|
-
const listErrorForeground = registerColor('list.errorForeground', { dark: '#F88070', light: '#B01011', hcDark: null, hcLight: null }, ( localize(
|
|
77
|
-
const listWarningForeground = registerColor('list.warningForeground', { dark: '#CCA700', light: '#855F00', hcDark: null, hcLight: null }, ( localize(
|
|
78
|
-
const listFilterWidgetBackground = registerColor('listFilterWidget.background', { light: ( (darken(editorWidgetBackground, 0))), dark: ( (lighten(editorWidgetBackground, 0))), hcDark: editorWidgetBackground, hcLight: editorWidgetBackground }, ( localize(
|
|
79
|
-
const listFilterWidgetOutline = registerColor('listFilterWidget.outline', { dark: Color.transparent, light: Color.transparent, hcDark: '#f38518', hcLight: '#007ACC' }, ( localize(
|
|
76
|
+
const listErrorForeground = registerColor('list.errorForeground', { dark: '#F88070', light: '#B01011', hcDark: null, hcLight: null }, ( localize(1897, 'Foreground color of list items containing errors.')));
|
|
77
|
+
const listWarningForeground = registerColor('list.warningForeground', { dark: '#CCA700', light: '#855F00', hcDark: null, hcLight: null }, ( localize(1898, 'Foreground color of list items containing warnings.')));
|
|
78
|
+
const listFilterWidgetBackground = registerColor('listFilterWidget.background', { light: ( (darken(editorWidgetBackground, 0))), dark: ( (lighten(editorWidgetBackground, 0))), hcDark: editorWidgetBackground, hcLight: editorWidgetBackground }, ( localize(1899, 'Background color of the type filter widget in lists and trees.')));
|
|
79
|
+
const listFilterWidgetOutline = registerColor('listFilterWidget.outline', { dark: Color.transparent, light: Color.transparent, hcDark: '#f38518', hcLight: '#007ACC' }, ( localize(1900, 'Outline color of the type filter widget in lists and trees.')));
|
|
80
80
|
const listFilterWidgetNoMatchesOutline = registerColor('listFilterWidget.noMatchesOutline', { dark: '#BE1100', light: '#BE1100', hcDark: contrastBorder, hcLight: contrastBorder }, ( localize(
|
|
81
|
-
|
|
81
|
+
1901,
|
|
82
82
|
'Outline color of the type filter widget in lists and trees, when there are no matches.'
|
|
83
83
|
)));
|
|
84
|
-
const listFilterWidgetShadow = registerColor('listFilterWidget.shadow', widgetShadow, ( localize(
|
|
85
|
-
registerColor('list.filterMatchBackground', { dark: editorFindMatchHighlight, light: editorFindMatchHighlight, hcDark: null, hcLight: null }, ( localize(
|
|
86
|
-
registerColor('list.filterMatchBorder', { dark: editorFindMatchHighlightBorder, light: editorFindMatchHighlightBorder, hcDark: contrastBorder, hcLight: activeContrastBorder }, ( localize(
|
|
87
|
-
const listDeemphasizedForeground = registerColor('list.deemphasizedForeground', { dark: '#8C8C8C', light: '#8E8E90', hcDark: '#A7A8A9', hcLight: '#666666' }, ( localize(
|
|
88
|
-
const treeIndentGuidesStroke = registerColor('tree.indentGuidesStroke', { dark: '#585858', light: '#a9a9a9', hcDark: '#a9a9a9', hcLight: '#a5a5a5' }, ( localize(
|
|
89
|
-
const treeInactiveIndentGuidesStroke = registerColor('tree.inactiveIndentGuidesStroke', ( (transparent(treeIndentGuidesStroke, 0.4))), ( localize(
|
|
90
|
-
const tableColumnsBorder = registerColor('tree.tableColumnsBorder', { dark: '#CCCCCC20', light: '#61616120', hcDark: null, hcLight: null }, ( localize(
|
|
91
|
-
const tableOddRowsBackgroundColor = registerColor('tree.tableOddRowsBackground', { dark: ( (transparent(foreground, 0.04))), light: ( (transparent(foreground, 0.04))), hcDark: null, hcLight: null }, ( localize(
|
|
92
|
-
registerColor('editorActionList.background', editorWidgetBackground, ( localize(
|
|
93
|
-
registerColor('editorActionList.foreground', editorWidgetForeground, ( localize(
|
|
94
|
-
registerColor('editorActionList.focusForeground', listActiveSelectionForeground, ( localize(
|
|
95
|
-
registerColor('editorActionList.focusBackground', listActiveSelectionBackground, ( localize(
|
|
84
|
+
const listFilterWidgetShadow = registerColor('listFilterWidget.shadow', widgetShadow, ( localize(1902, 'Shadow color of the type filter widget in lists and trees.')));
|
|
85
|
+
registerColor('list.filterMatchBackground', { dark: editorFindMatchHighlight, light: editorFindMatchHighlight, hcDark: null, hcLight: null }, ( localize(1903, 'Background color of the filtered match.')));
|
|
86
|
+
registerColor('list.filterMatchBorder', { dark: editorFindMatchHighlightBorder, light: editorFindMatchHighlightBorder, hcDark: contrastBorder, hcLight: activeContrastBorder }, ( localize(1904, 'Border color of the filtered match.')));
|
|
87
|
+
const listDeemphasizedForeground = registerColor('list.deemphasizedForeground', { dark: '#8C8C8C', light: '#8E8E90', hcDark: '#A7A8A9', hcLight: '#666666' }, ( localize(1905, "List/Tree foreground color for items that are deemphasized.")));
|
|
88
|
+
const treeIndentGuidesStroke = registerColor('tree.indentGuidesStroke', { dark: '#585858', light: '#a9a9a9', hcDark: '#a9a9a9', hcLight: '#a5a5a5' }, ( localize(1906, "Tree stroke color for the indentation guides.")));
|
|
89
|
+
const treeInactiveIndentGuidesStroke = registerColor('tree.inactiveIndentGuidesStroke', ( (transparent(treeIndentGuidesStroke, 0.4))), ( localize(1907, "Tree stroke color for the indentation guides that are not active.")));
|
|
90
|
+
const tableColumnsBorder = registerColor('tree.tableColumnsBorder', { dark: '#CCCCCC20', light: '#61616120', hcDark: null, hcLight: null }, ( localize(1908, "Table border color between columns.")));
|
|
91
|
+
const tableOddRowsBackgroundColor = registerColor('tree.tableOddRowsBackground', { dark: ( (transparent(foreground, 0.04))), light: ( (transparent(foreground, 0.04))), hcDark: null, hcLight: null }, ( localize(1909, "Background color for odd table rows.")));
|
|
92
|
+
registerColor('editorActionList.background', editorWidgetBackground, ( localize(1910, "Action List background color.")));
|
|
93
|
+
registerColor('editorActionList.foreground', editorWidgetForeground, ( localize(1911, "Action List foreground color.")));
|
|
94
|
+
registerColor('editorActionList.focusForeground', listActiveSelectionForeground, ( localize(1912, "Action List foreground color for the focused item.")));
|
|
95
|
+
registerColor('editorActionList.focusBackground', listActiveSelectionBackground, ( localize(1913, "Action List background color for the focused item.")));
|
|
96
96
|
export { listActiveSelectionBackground, listActiveSelectionForeground, listActiveSelectionIconForeground, listDeemphasizedForeground, listDropBetweenBackground, listDropOverBackground, listErrorForeground, listFilterWidgetBackground, listFilterWidgetNoMatchesOutline, listFilterWidgetOutline, listFilterWidgetShadow, listFocusAndSelectionOutline, listFocusBackground, listFocusForeground, listFocusHighlightForeground, listFocusOutline, listHighlightForeground, listHoverBackground, listHoverForeground, listInactiveFocusBackground, listInactiveFocusOutline, listInactiveSelectionBackground, listInactiveSelectionForeground, listInactiveSelectionIconForeground, listInvalidItemForeground, listWarningForeground, tableColumnsBorder, tableOddRowsBackgroundColor, treeInactiveIndentGuidesStroke, treeIndentGuidesStroke };
|
|
@@ -3,11 +3,11 @@ import { registerColor } from '../colorUtils.js';
|
|
|
3
3
|
import { contrastBorder, activeContrastBorder } from './baseColors.js';
|
|
4
4
|
import { selectForeground, selectBackground } from './inputColors.js';
|
|
5
5
|
import { listActiveSelectionForeground, listActiveSelectionBackground } from './listColors.js';
|
|
6
|
-
const menuBorder = registerColor('menu.border', { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, ( localize(
|
|
7
|
-
const menuForeground = registerColor('menu.foreground', selectForeground, ( localize(
|
|
8
|
-
const menuBackground = registerColor('menu.background', selectBackground, ( localize(
|
|
9
|
-
const menuSelectionForeground = registerColor('menu.selectionForeground', listActiveSelectionForeground, ( localize(
|
|
10
|
-
const menuSelectionBackground = registerColor('menu.selectionBackground', listActiveSelectionBackground, ( localize(
|
|
11
|
-
const menuSelectionBorder = registerColor('menu.selectionBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(
|
|
12
|
-
const menuSeparatorBackground = registerColor('menu.separatorBackground', { dark: '#606060', light: '#D4D4D4', hcDark: contrastBorder, hcLight: contrastBorder }, ( localize(
|
|
6
|
+
const menuBorder = registerColor('menu.border', { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, ( localize(1914, "Border color of menus.")));
|
|
7
|
+
const menuForeground = registerColor('menu.foreground', selectForeground, ( localize(1915, "Foreground color of menu items.")));
|
|
8
|
+
const menuBackground = registerColor('menu.background', selectBackground, ( localize(1916, "Background color of menu items.")));
|
|
9
|
+
const menuSelectionForeground = registerColor('menu.selectionForeground', listActiveSelectionForeground, ( localize(1917, "Foreground color of the selected menu item in menus.")));
|
|
10
|
+
const menuSelectionBackground = registerColor('menu.selectionBackground', listActiveSelectionBackground, ( localize(1918, "Background color of the selected menu item in menus.")));
|
|
11
|
+
const menuSelectionBorder = registerColor('menu.selectionBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(1919, "Border color of the selected menu item in menus.")));
|
|
12
|
+
const menuSeparatorBackground = registerColor('menu.separatorBackground', { dark: '#606060', light: '#D4D4D4', hcDark: contrastBorder, hcLight: contrastBorder }, ( localize(1920, "Color of a separator menu item in menus.")));
|
|
13
13
|
export { menuBackground, menuBorder, menuForeground, menuSelectionBackground, menuSelectionBorder, menuSelectionForeground, menuSeparatorBackground };
|