@codingame/monaco-vscode-api 10.0.0 → 10.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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/editor/browser/controller/editContext/textArea/textAreaEditContext.js +1 -1
- 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/multiDiffEditor/colors.js +3 -3
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- 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/codeAction/browser/codeAction.js +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- 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/gotoError/browser/gotoError.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- 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/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/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/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/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +2 -2
- 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/list/browser/listService.js +27 -27
- package/vscode/src/vs/platform/markers/common/markers.js +3 -3
- 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/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/iconRegistry.js +5 -5
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -42
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
- 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/extHostTreeViews.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/editor.js +2 -2
- 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/diffEditorCommands.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +131 -131
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +7 -7
- 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/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/views/treeView.js +7 -7
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +1 -1
- package/vscode/src/vs/workbench/common/configuration.js +10 -10
- package/vscode/src/vs/workbench/common/contextkeys.js +70 -70
- 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/views.js +4 -4
- 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/chatContextKeys.js +21 -21
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +3 -3
- 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/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/commentReply.js +4 -4
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +29 -29
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +14 -14
- 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/debugColors.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +34 -34
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +3 -3
- 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/debug/common/disassemblyViewInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.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/editors/textFileSaveErrorHandler.js +18 -18
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +84 -84
- 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/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/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 +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/listResizeColumnAction.js +2 -2
- 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/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/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/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/cellParts/collapsedCellOutput.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +2 -2
- 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/browser/preferencesIcons.js +12 -12
- 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/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/terminalContrib/chat/browser/terminalChat.js +7 -7
- 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/configurationResolver/common/configurationResolverSchema.js +16 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
- 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/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/common/preferencesEditorInput.js +2 -2
- 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/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/workingCopy/common/storedFileWorkingCopy.js +17 -17
|
@@ -503,7 +503,7 @@ CommandsRegistry.registerCommand({
|
|
|
503
503
|
return [...RawContextKey.all()].sort((a, b) => a.key.localeCompare(b.key));
|
|
504
504
|
},
|
|
505
505
|
metadata: {
|
|
506
|
-
description: ( localize(
|
|
506
|
+
description: ( localize(1288, "A command that returns information about context keys")),
|
|
507
507
|
args: []
|
|
508
508
|
}
|
|
509
509
|
});
|
|
@@ -25,17 +25,17 @@ const hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
|
25
25
|
const defaultConfig = {
|
|
26
26
|
regexParsingWithErrorRecovery: true
|
|
27
27
|
};
|
|
28
|
-
const errorEmptyString = ( localize(
|
|
28
|
+
const errorEmptyString = ( localize(484, "Empty context key expression"));
|
|
29
29
|
const hintEmptyString = ( localize(
|
|
30
|
-
|
|
30
|
+
485,
|
|
31
31
|
"Did you forget to write an expression? You can also put 'false' or 'true' to always evaluate to false or true, respectively."
|
|
32
32
|
));
|
|
33
|
-
const errorNoInAfterNot = ( localize(
|
|
34
|
-
const errorClosingParenthesis = ( localize(
|
|
35
|
-
const errorUnexpectedToken = ( localize(
|
|
36
|
-
const hintUnexpectedToken = ( localize(
|
|
37
|
-
const errorUnexpectedEOF = ( localize(
|
|
38
|
-
const hintUnexpectedEOF = ( localize(
|
|
33
|
+
const errorNoInAfterNot = ( localize(486, "'in' after 'not'."));
|
|
34
|
+
const errorClosingParenthesis = ( localize(487, "closing parenthesis ')'"));
|
|
35
|
+
const errorUnexpectedToken = ( localize(488, "Unexpected token"));
|
|
36
|
+
const hintUnexpectedToken = ( localize(489, "Did you forget to put && or || before the token?"));
|
|
37
|
+
const errorUnexpectedEOF = ( localize(490, "Unexpected end of expression"));
|
|
38
|
+
const hintUnexpectedEOF = ( localize(491, "Did you forget to put a context key?"));
|
|
39
39
|
class Parser {
|
|
40
40
|
static { this._parseError = ( (new Error())); }
|
|
41
41
|
get lexingErrors() {
|
|
@@ -367,7 +367,7 @@ class Parser {
|
|
|
367
367
|
throw this._errExpectedButGot(message, this._peek());
|
|
368
368
|
}
|
|
369
369
|
_errExpectedButGot(expected, got, additionalInfo) {
|
|
370
|
-
const message = ( localize(
|
|
370
|
+
const message = ( localize(492, "Expected: {0}\nReceived: '{1}'.", expected, Scanner.getLexeme(got)));
|
|
371
371
|
const offset = got.offset;
|
|
372
372
|
const lexeme = Scanner.getLexeme(got);
|
|
373
373
|
this._parsingErrors.push({ message, offset, lexeme, additionalInfo });
|
|
@@ -451,8 +451,8 @@ function validateWhenClauses(whenClauses) {
|
|
|
451
451
|
return (
|
|
452
452
|
(parser.lexingErrors.map((se) => ({
|
|
453
453
|
errorMessage: se.additionalInfo ?
|
|
454
|
-
( localize(
|
|
455
|
-
( localize(
|
|
454
|
+
( localize(493, "Unexpected token. Hint: {0}", se.additionalInfo)) :
|
|
455
|
+
( localize(494, "Unexpected token.")),
|
|
456
456
|
offset: se.offset,
|
|
457
457
|
length: se.lexeme.length,
|
|
458
458
|
})))
|
|
@@ -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
|
+
5610,
|
|
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;
|
|
@@ -152,6 +152,6 @@ class ExtensionManagementError extends Error {
|
|
|
152
152
|
}
|
|
153
153
|
const DISABLED_EXTENSIONS_STORAGE_PATH = 'extensionsIdentifiers/disabled';
|
|
154
154
|
const ENABLED_EXTENSIONS_STORAGE_PATH = 'extensionsIdentifiers/enabled';
|
|
155
|
-
const ExtensionsLocalizedLabel = ( localize2(
|
|
156
|
-
const PreferencesLocalizedLabel = ( localize2(
|
|
155
|
+
const ExtensionsLocalizedLabel = ( localize2(1176, "Extensions"));
|
|
156
|
+
const PreferencesLocalizedLabel = ( localize2(1177, 'Preferences'));
|
|
157
157
|
export { DISABLED_EXTENSIONS_STORAGE_PATH, ENABLED_EXTENSIONS_STORAGE_PATH, EXTENSION_IDENTIFIER_PATTERN, EXTENSION_IDENTIFIER_REGEX, EXTENSION_INSTALL_DEP_PACK_CONTEXT, EXTENSION_INSTALL_SKIP_WALKTHROUGH_CONTEXT, EXTENSION_INSTALL_SOURCE_CONTEXT, ExtensionGalleryError, ExtensionManagementError, ExtensionSignatureVerificationCode, ExtensionsLocalizedLabel, PreferencesLocalizedLabel, TargetPlatformToString, WEB_EXTENSION_TAG, getTargetPlatform, isIExtensionIdentifier, isNotWebExtensionInWebTargetPlatform, isTargetPlatformCompatible, toTargetPlatform };
|
|
@@ -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(744, "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(745, "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(9980, "Whether suggestion are visible")))));
|
|
12
12
|
const HistoryNavigationWidgetFocusContext = 'historyNavigationWidgetFocus';
|
|
13
13
|
const HistoryNavigationForwardsEnablementContext = 'historyNavigationForwardsEnabled';
|
|
14
14
|
const HistoryNavigationBackwardsEnablementContext = 'historyNavigationBackwardsEnabled';
|
|
@@ -951,19 +951,19 @@ const configurationRegistry = ( (Registry.as(Extensions.Configuration)));
|
|
|
951
951
|
configurationRegistry.registerConfiguration({
|
|
952
952
|
id: 'workbench',
|
|
953
953
|
order: 7,
|
|
954
|
-
title: ( localize(
|
|
954
|
+
title: ( localize(1289, "Workbench")),
|
|
955
955
|
type: 'object',
|
|
956
956
|
properties: {
|
|
957
957
|
[multiSelectModifierSettingKey]: {
|
|
958
958
|
type: 'string',
|
|
959
959
|
enum: ['ctrlCmd', 'alt'],
|
|
960
960
|
markdownEnumDescriptions: [
|
|
961
|
-
( localize(
|
|
962
|
-
( localize(
|
|
961
|
+
( localize(1290, "Maps to `Control` on Windows and Linux and to `Command` on macOS.")),
|
|
962
|
+
( localize(1291, "Maps to `Alt` on Windows and Linux and to `Option` on macOS."))
|
|
963
963
|
],
|
|
964
964
|
default: 'ctrlCmd',
|
|
965
965
|
description: ( localize(
|
|
966
|
-
|
|
966
|
+
1292,
|
|
967
967
|
"The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier."
|
|
968
968
|
))
|
|
969
969
|
},
|
|
@@ -972,7 +972,7 @@ configurationRegistry.registerConfiguration({
|
|
|
972
972
|
enum: ['singleClick', 'doubleClick'],
|
|
973
973
|
default: 'singleClick',
|
|
974
974
|
description: ( localize(
|
|
975
|
-
|
|
975
|
+
1293,
|
|
976
976
|
"Controls how to open items in trees and lists using the mouse (if supported). Note that some trees and lists might choose to ignore this setting if it is not applicable."
|
|
977
977
|
))
|
|
978
978
|
},
|
|
@@ -980,59 +980,59 @@ configurationRegistry.registerConfiguration({
|
|
|
980
980
|
type: 'boolean',
|
|
981
981
|
default: false,
|
|
982
982
|
description: ( localize(
|
|
983
|
-
|
|
983
|
+
1294,
|
|
984
984
|
"Controls whether lists and trees support horizontal scrolling in the workbench. Warning: turning on this setting has a performance implication."
|
|
985
985
|
))
|
|
986
986
|
},
|
|
987
987
|
[scrollByPageKey]: {
|
|
988
988
|
type: 'boolean',
|
|
989
989
|
default: false,
|
|
990
|
-
description: ( localize(
|
|
990
|
+
description: ( localize(1295, "Controls whether clicks in the scrollbar scroll page by page."))
|
|
991
991
|
},
|
|
992
992
|
[treeIndentKey]: {
|
|
993
993
|
type: 'number',
|
|
994
994
|
default: 8,
|
|
995
995
|
minimum: 4,
|
|
996
996
|
maximum: 40,
|
|
997
|
-
description: ( localize(
|
|
997
|
+
description: ( localize(1296, "Controls tree indentation in pixels."))
|
|
998
998
|
},
|
|
999
999
|
[treeRenderIndentGuidesKey]: {
|
|
1000
1000
|
type: 'string',
|
|
1001
1001
|
enum: ['none', 'onHover', 'always'],
|
|
1002
1002
|
default: 'onHover',
|
|
1003
|
-
description: ( localize(
|
|
1003
|
+
description: ( localize(1297, "Controls whether the tree should render indent guides."))
|
|
1004
1004
|
},
|
|
1005
1005
|
[listSmoothScrolling]: {
|
|
1006
1006
|
type: 'boolean',
|
|
1007
1007
|
default: false,
|
|
1008
|
-
description: ( localize(
|
|
1008
|
+
description: ( localize(1298, "Controls whether lists and trees have smooth scrolling.")),
|
|
1009
1009
|
},
|
|
1010
1010
|
[mouseWheelScrollSensitivityKey]: {
|
|
1011
1011
|
type: 'number',
|
|
1012
1012
|
default: 1,
|
|
1013
1013
|
markdownDescription: ( localize(
|
|
1014
|
-
|
|
1014
|
+
1299,
|
|
1015
1015
|
"A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events."
|
|
1016
1016
|
))
|
|
1017
1017
|
},
|
|
1018
1018
|
[fastScrollSensitivityKey]: {
|
|
1019
1019
|
type: 'number',
|
|
1020
1020
|
default: 5,
|
|
1021
|
-
markdownDescription: ( localize(
|
|
1021
|
+
markdownDescription: ( localize(1300, "Scrolling speed multiplier when pressing `Alt`."))
|
|
1022
1022
|
},
|
|
1023
1023
|
[defaultFindModeSettingKey]: {
|
|
1024
1024
|
type: 'string',
|
|
1025
1025
|
enum: ['highlight', 'filter'],
|
|
1026
1026
|
enumDescriptions: [
|
|
1027
1027
|
( localize(
|
|
1028
|
-
|
|
1028
|
+
1301,
|
|
1029
1029
|
"Highlight elements when searching. Further up and down navigation will traverse only the highlighted elements."
|
|
1030
1030
|
)),
|
|
1031
|
-
( localize(
|
|
1031
|
+
( localize(1302, "Filter elements when searching."))
|
|
1032
1032
|
],
|
|
1033
1033
|
default: 'highlight',
|
|
1034
1034
|
description: ( localize(
|
|
1035
|
-
|
|
1035
|
+
1303,
|
|
1036
1036
|
"Controls the default find mode for lists and trees in the workbench."
|
|
1037
1037
|
))
|
|
1038
1038
|
},
|
|
@@ -1041,26 +1041,26 @@ configurationRegistry.registerConfiguration({
|
|
|
1041
1041
|
enum: ['simple', 'highlight', 'filter'],
|
|
1042
1042
|
enumDescriptions: [
|
|
1043
1043
|
( localize(
|
|
1044
|
-
|
|
1044
|
+
1304,
|
|
1045
1045
|
"Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."
|
|
1046
1046
|
)),
|
|
1047
1047
|
( localize(
|
|
1048
|
-
|
|
1048
|
+
1305,
|
|
1049
1049
|
"Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."
|
|
1050
1050
|
)),
|
|
1051
1051
|
( localize(
|
|
1052
|
-
|
|
1052
|
+
1306,
|
|
1053
1053
|
"Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input."
|
|
1054
1054
|
))
|
|
1055
1055
|
],
|
|
1056
1056
|
default: 'highlight',
|
|
1057
1057
|
description: ( localize(
|
|
1058
|
-
|
|
1058
|
+
1307,
|
|
1059
1059
|
"Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter."
|
|
1060
1060
|
)),
|
|
1061
1061
|
deprecated: true,
|
|
1062
1062
|
deprecationMessage: ( localize(
|
|
1063
|
-
|
|
1063
|
+
1308,
|
|
1064
1064
|
"Please use 'workbench.list.defaultFindMode' and 'workbench.list.typeNavigationMode' instead."
|
|
1065
1065
|
))
|
|
1066
1066
|
},
|
|
@@ -1068,12 +1068,12 @@ configurationRegistry.registerConfiguration({
|
|
|
1068
1068
|
type: 'string',
|
|
1069
1069
|
enum: ['fuzzy', 'contiguous'],
|
|
1070
1070
|
enumDescriptions: [
|
|
1071
|
-
( localize(
|
|
1072
|
-
( localize(
|
|
1071
|
+
( localize(1309, "Use fuzzy matching when searching.")),
|
|
1072
|
+
( localize(1310, "Use contiguous matching when searching."))
|
|
1073
1073
|
],
|
|
1074
1074
|
default: 'fuzzy',
|
|
1075
1075
|
description: ( localize(
|
|
1076
|
-
|
|
1076
|
+
1311,
|
|
1077
1077
|
"Controls the type of matching used when searching lists and trees in the workbench."
|
|
1078
1078
|
))
|
|
1079
1079
|
},
|
|
@@ -1082,21 +1082,21 @@ configurationRegistry.registerConfiguration({
|
|
|
1082
1082
|
enum: ['singleClick', 'doubleClick'],
|
|
1083
1083
|
default: 'singleClick',
|
|
1084
1084
|
description: ( localize(
|
|
1085
|
-
|
|
1085
|
+
1312,
|
|
1086
1086
|
"Controls how tree folders are expanded when clicking the folder names. Note that some trees and lists might choose to ignore this setting if it is not applicable."
|
|
1087
1087
|
)),
|
|
1088
1088
|
},
|
|
1089
1089
|
[treeStickyScroll]: {
|
|
1090
1090
|
type: 'boolean',
|
|
1091
1091
|
default: true,
|
|
1092
|
-
description: ( localize(
|
|
1092
|
+
description: ( localize(1313, "Controls whether sticky scrolling is enabled in trees.")),
|
|
1093
1093
|
},
|
|
1094
1094
|
[treeStickyScrollMaxElements]: {
|
|
1095
1095
|
type: 'number',
|
|
1096
1096
|
minimum: 1,
|
|
1097
1097
|
default: 7,
|
|
1098
1098
|
markdownDescription: ( localize(
|
|
1099
|
-
|
|
1099
|
+
1314,
|
|
1100
1100
|
"Controls the number of sticky elements displayed in the tree when {0} is enabled.",
|
|
1101
1101
|
'`#workbench.tree.enableStickyScroll#`'
|
|
1102
1102
|
)),
|
|
@@ -1106,7 +1106,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1106
1106
|
enum: ['automatic', 'trigger'],
|
|
1107
1107
|
default: 'automatic',
|
|
1108
1108
|
markdownDescription: ( localize(
|
|
1109
|
-
|
|
1109
|
+
1315,
|
|
1110
1110
|
"Controls how type navigation works in lists and trees in the workbench. When set to `trigger`, type navigation begins once the `list.triggerTypeNavigation` command is run."
|
|
1111
1111
|
)),
|
|
1112
1112
|
}
|
|
@@ -13,9 +13,9 @@ var MarkerSeverity;
|
|
|
13
13
|
}
|
|
14
14
|
MarkerSeverity.compare = compare;
|
|
15
15
|
const _displayStrings = Object.create(null);
|
|
16
|
-
_displayStrings[MarkerSeverity.Error] = ( localize(
|
|
17
|
-
_displayStrings[MarkerSeverity.Warning] = ( localize(
|
|
18
|
-
_displayStrings[MarkerSeverity.Info] = ( localize(
|
|
16
|
+
_displayStrings[MarkerSeverity.Error] = ( localize(4572, "Error"));
|
|
17
|
+
_displayStrings[MarkerSeverity.Warning] = ( localize(4573, "Warning"));
|
|
18
|
+
_displayStrings[MarkerSeverity.Info] = ( localize(4574, "Info"));
|
|
19
19
|
function toString(a) {
|
|
20
20
|
return _displayStrings[a] || '';
|
|
21
21
|
}
|
|
@@ -13,7 +13,7 @@ const defaultCommandAndKeybindingRule = {
|
|
|
13
13
|
inQuickInputContext
|
|
14
14
|
))),
|
|
15
15
|
metadata: { description: ( localize(
|
|
16
|
-
|
|
16
|
+
10084,
|
|
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
|
+
10085,
|
|
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
|
+
10086,
|
|
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(10083, "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
|
+
10081,
|
|
57
57
|
"Click to execute command '{0}'",
|
|
58
58
|
node.href.substring('command:'.length)
|
|
59
59
|
));
|
|
@@ -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
|
+
1885,
|
|
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
|
+
1886,
|
|
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
|
+
1887,
|
|
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
|
+
1888,
|
|
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
|
+
1889,
|
|
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
|
+
1890,
|
|
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
|
+
1891,
|
|
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
|
+
1892,
|
|
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
|
+
1893,
|
|
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
|
+
1894,
|
|
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
|
+
1895,
|
|
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
|
+
1896,
|
|
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(1897, "List/Tree background when hovering over items using the mouse.")));
|
|
55
|
+
const listHoverForeground = registerColor('list.hoverForeground', null, ( localize(1898, "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
|
+
1899,
|
|
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
|
+
1900,
|
|
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
|
+
1901,
|
|
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
|
+
1902,
|
|
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
|
+
1903,
|
|
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(1904, 'Foreground color of list items containing errors.')));
|
|
77
|
+
const listWarningForeground = registerColor('list.warningForeground', { dark: '#CCA700', light: '#855F00', hcDark: null, hcLight: null }, ( localize(1905, '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(1906, '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(1907, '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
|
+
1908,
|
|
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(1909, 'Shadow color of the type filter widget in lists and trees.')));
|
|
85
|
+
registerColor('list.filterMatchBackground', { dark: editorFindMatchHighlight, light: editorFindMatchHighlight, hcDark: null, hcLight: null }, ( localize(1910, 'Background color of the filtered match.')));
|
|
86
|
+
registerColor('list.filterMatchBorder', { dark: editorFindMatchHighlightBorder, light: editorFindMatchHighlightBorder, hcDark: contrastBorder, hcLight: activeContrastBorder }, ( localize(1911, 'Border color of the filtered match.')));
|
|
87
|
+
const listDeemphasizedForeground = registerColor('list.deemphasizedForeground', { dark: '#8C8C8C', light: '#8E8E90', hcDark: '#A7A8A9', hcLight: '#666666' }, ( localize(1912, "List/Tree foreground color for items that are deemphasized.")));
|
|
88
|
+
const treeIndentGuidesStroke = registerColor('tree.indentGuidesStroke', { dark: '#585858', light: '#a9a9a9', hcDark: '#a9a9a9', hcLight: '#a5a5a5' }, ( localize(1913, "Tree stroke color for the indentation guides.")));
|
|
89
|
+
const treeInactiveIndentGuidesStroke = registerColor('tree.inactiveIndentGuidesStroke', ( (transparent(treeIndentGuidesStroke, 0.4))), ( localize(1914, "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(1915, "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(1916, "Background color for odd table rows.")));
|
|
92
|
+
registerColor('editorActionList.background', editorWidgetBackground, ( localize(1917, "Action List background color.")));
|
|
93
|
+
registerColor('editorActionList.foreground', editorWidgetForeground, ( localize(1918, "Action List foreground color.")));
|
|
94
|
+
registerColor('editorActionList.focusForeground', listActiveSelectionForeground, ( localize(1919, "Action List foreground color for the focused item.")));
|
|
95
|
+
registerColor('editorActionList.focusBackground', listActiveSelectionBackground, ( localize(1920, "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(1878, "Border color of menus.")));
|
|
7
|
+
const menuForeground = registerColor('menu.foreground', selectForeground, ( localize(1879, "Foreground color of menu items.")));
|
|
8
|
+
const menuBackground = registerColor('menu.background', selectBackground, ( localize(1880, "Background color of menu items.")));
|
|
9
|
+
const menuSelectionForeground = registerColor('menu.selectionForeground', listActiveSelectionForeground, ( localize(1881, "Foreground color of the selected menu item in menus.")));
|
|
10
|
+
const menuSelectionBackground = registerColor('menu.selectionBackground', listActiveSelectionBackground, ( localize(1882, "Background color of the selected menu item in menus.")));
|
|
11
|
+
const menuSelectionBorder = registerColor('menu.selectionBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(1883, "Border color of the selected menu item in menus.")));
|
|
12
|
+
const menuSeparatorBackground = registerColor('menu.separatorBackground', { dark: '#606060', light: '#D4D4D4', hcDark: contrastBorder, hcLight: contrastBorder }, ( localize(1884, "Color of a separator menu item in menus.")));
|
|
13
13
|
export { menuBackground, menuBorder, menuForeground, menuSelectionBackground, menuSelectionBorder, menuSelectionForeground, menuSeparatorBackground };
|
|
@@ -48,10 +48,10 @@ class IconRegistry {
|
|
|
48
48
|
type: 'object',
|
|
49
49
|
properties: {
|
|
50
50
|
fontId: { type: 'string', description: ( localize(
|
|
51
|
-
|
|
51
|
+
4473,
|
|
52
52
|
'The id of the font to use. If not set, the font that is defined first is used.'
|
|
53
53
|
)) },
|
|
54
|
-
fontCharacter: { type: 'string', description: ( localize(
|
|
54
|
+
fontCharacter: { type: 'string', description: ( localize(4474, 'The font character associated with the icon definition.')) }
|
|
55
55
|
},
|
|
56
56
|
additionalProperties: false,
|
|
57
57
|
defaultSnippets: [{ body: { fontCharacter: '\\\\e030' } }]
|
|
@@ -182,9 +182,9 @@ iconRegistry.onDidChange(() => {
|
|
|
182
182
|
delayer.schedule();
|
|
183
183
|
}
|
|
184
184
|
});
|
|
185
|
-
const widgetClose = registerIcon('widget-close', Codicon.close, ( localize(
|
|
186
|
-
const gotoPreviousLocation = registerIcon('goto-previous-location', Codicon.arrowUp, ( localize(
|
|
187
|
-
const gotoNextLocation = registerIcon('goto-next-location', Codicon.arrowDown, ( localize(
|
|
185
|
+
const widgetClose = registerIcon('widget-close', Codicon.close, ( localize(4475, 'Icon for the close action in widgets.')));
|
|
186
|
+
const gotoPreviousLocation = registerIcon('goto-previous-location', Codicon.arrowUp, ( localize(4476, 'Icon for goto previous editor location.')));
|
|
187
|
+
const gotoNextLocation = registerIcon('goto-next-location', Codicon.arrowDown, ( localize(4477, 'Icon for goto next editor location.')));
|
|
188
188
|
const syncing = ThemeIcon.modify(Codicon.sync, 'spin');
|
|
189
189
|
const spinningLoading = ThemeIcon.modify(Codicon.loading, 'spin');
|
|
190
190
|
export { Extensions, IconFontDefinition, getIconRegistry, gotoNextLocation, gotoPreviousLocation, iconsSchemaId, registerIcon, spinningLoading, syncing, widgetClose };
|