@codingame/monaco-vscode-api 9.0.2 → 9.0.3
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/package.json +8 -8
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +1 -1
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +6 -6
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +1 -1
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +2 -2
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +6 -6
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +8 -8
- package/vscode/src/vs/base/common/jsonErrorMessages.js +9 -9
- package/vscode/src/vs/editor/browser/coreCommands.js +3 -3
- package/vscode/src/vs/editor/browser/editorExtensions.js +6 -6
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +12 -12
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +7 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.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 +1 -1
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +50 -50
- 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/standaloneStrings.js +32 -32
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/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/codeActionCommands.js +28 -28
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorHoverParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions.js +7 -7
- 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/copyPasteController.js +7 -7
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +1 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +27 -27
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.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/hover/browser/markerHoverParticipant.js +5 -5
- 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/inlayHints/browser/inlayHintsHover.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +11 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/commands.js +6 -6
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/consts.js +2 -2
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +30 -30
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.js +10 -10
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +17 -17
- 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/rename/browser/renameWidget.js +6 -6
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +16 -16
- 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/highlightDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +19 -19
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/list/browser/listService.js +27 -27
- package/vscode/src/vs/platform/markers/common/markers.js +3 -3
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +25 -25
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +16 -16
- 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/globalCompositeBar.js +15 -15
- 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/titlebar/menubarControl.js +18 -18
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +1 -1
- 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/contrib/chat/browser/chatAgentHover.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatAttachmentsContentPart.js +7 -7
- 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/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/debug/browser/baseDebugView.js +1 -1
- 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/browser/linkDetector.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 +166 -166
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +18 -18
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +14 -14
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +84 -84
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +33 -33
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +7 -7
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +14 -14
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +28 -28
- 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/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/tasks/common/taskService.js +5 -5
- 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/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
|
@@ -12,129 +12,129 @@ import { DEFAULT_EDITOR_ASSOCIATION } from './editor.js';
|
|
|
12
12
|
import { isLinux } from '../../base/common/platform.js';
|
|
13
13
|
var ResourceContextKey_1;
|
|
14
14
|
const WorkbenchStateContext = ( (new RawContextKey('workbenchState', undefined, { type: 'string', description: ( localize(
|
|
15
|
-
|
|
15
|
+
491,
|
|
16
16
|
"The kind of workspace opened in the window, either 'empty' (no workspace), 'folder' (single folder) or 'workspace' (multi-root workspace)"
|
|
17
17
|
)) })));
|
|
18
|
-
const WorkspaceFolderCountContext = ( (new RawContextKey('workspaceFolderCount', 0, ( localize(
|
|
18
|
+
const WorkspaceFolderCountContext = ( (new RawContextKey('workspaceFolderCount', 0, ( localize(492, "The number of root folders in the workspace")))));
|
|
19
19
|
const OpenFolderWorkspaceSupportContext = ( (new RawContextKey('openFolderWorkspaceSupport', true, true)));
|
|
20
20
|
const EnterMultiRootWorkspaceSupportContext = ( (new RawContextKey('enterMultiRootWorkspaceSupport', true, true)));
|
|
21
21
|
const EmptyWorkspaceSupportContext = ( (new RawContextKey('emptyWorkspaceSupport', true, true)));
|
|
22
|
-
const DirtyWorkingCopiesContext = ( (new RawContextKey('dirtyWorkingCopies', false, ( localize(
|
|
22
|
+
const DirtyWorkingCopiesContext = ( (new RawContextKey('dirtyWorkingCopies', false, ( localize(493, "Whether there are any working copies with unsaved changes")))));
|
|
23
23
|
const RemoteNameContext = ( (new RawContextKey('remoteName', '', ( localize(
|
|
24
|
-
|
|
24
|
+
494,
|
|
25
25
|
"The name of the remote the window is connected to or an empty string if not connected to any remote"
|
|
26
26
|
)))));
|
|
27
27
|
const VirtualWorkspaceContext = ( (new RawContextKey('virtualWorkspace', '', ( localize(
|
|
28
|
-
|
|
28
|
+
495,
|
|
29
29
|
"The scheme of the current workspace is from a virtual file system or an empty string."
|
|
30
30
|
)))));
|
|
31
31
|
const TemporaryWorkspaceContext = ( (new RawContextKey('temporaryWorkspace', false, ( localize(
|
|
32
|
-
|
|
32
|
+
496,
|
|
33
33
|
"The scheme of the current workspace is from a temporary file system."
|
|
34
34
|
)))));
|
|
35
|
-
const IsMainWindowFullscreenContext = ( (new RawContextKey('isFullscreen', false, ( localize(
|
|
36
|
-
const IsAuxiliaryWindowFocusedContext = ( (new RawContextKey('isAuxiliaryWindowFocusedContext', false, ( localize(
|
|
35
|
+
const IsMainWindowFullscreenContext = ( (new RawContextKey('isFullscreen', false, ( localize(497, "Whether the main window is in fullscreen mode")))));
|
|
36
|
+
const IsAuxiliaryWindowFocusedContext = ( (new RawContextKey('isAuxiliaryWindowFocusedContext', false, ( localize(498, "Whether an auxiliary window is focused")))));
|
|
37
37
|
const HasWebFileSystemAccess = ( (new RawContextKey('hasWebFileSystemAccess', false, true)));
|
|
38
38
|
const EmbedderIdentifierContext = ( (new RawContextKey('embedderIdentifier', undefined, ( localize(
|
|
39
|
-
|
|
39
|
+
499,
|
|
40
40
|
'The identifier of the embedder according to the product service, if one is defined'
|
|
41
41
|
)))));
|
|
42
|
-
const ActiveEditorDirtyContext = ( (new RawContextKey('activeEditorIsDirty', false, ( localize(
|
|
43
|
-
const ActiveEditorPinnedContext = ( (new RawContextKey('activeEditorIsNotPreview', false, ( localize(
|
|
44
|
-
const ActiveEditorFirstInGroupContext = ( (new RawContextKey('activeEditorIsFirstInGroup', false, ( localize(
|
|
45
|
-
const ActiveEditorLastInGroupContext = ( (new RawContextKey('activeEditorIsLastInGroup', false, ( localize(
|
|
46
|
-
const ActiveEditorStickyContext = ( (new RawContextKey('activeEditorIsPinned', false, ( localize(
|
|
47
|
-
const ActiveEditorReadonlyContext = ( (new RawContextKey('activeEditorIsReadonly', false, ( localize(
|
|
48
|
-
const ActiveCompareEditorCanSwapContext = ( (new RawContextKey('activeCompareEditorCanSwap', false, ( localize(
|
|
42
|
+
const ActiveEditorDirtyContext = ( (new RawContextKey('activeEditorIsDirty', false, ( localize(500, "Whether the active editor has unsaved changes")))));
|
|
43
|
+
const ActiveEditorPinnedContext = ( (new RawContextKey('activeEditorIsNotPreview', false, ( localize(501, "Whether the active editor is not in preview mode")))));
|
|
44
|
+
const ActiveEditorFirstInGroupContext = ( (new RawContextKey('activeEditorIsFirstInGroup', false, ( localize(502, "Whether the active editor is the first one in its group")))));
|
|
45
|
+
const ActiveEditorLastInGroupContext = ( (new RawContextKey('activeEditorIsLastInGroup', false, ( localize(503, "Whether the active editor is the last one in its group")))));
|
|
46
|
+
const ActiveEditorStickyContext = ( (new RawContextKey('activeEditorIsPinned', false, ( localize(504, "Whether the active editor is pinned")))));
|
|
47
|
+
const ActiveEditorReadonlyContext = ( (new RawContextKey('activeEditorIsReadonly', false, ( localize(505, "Whether the active editor is read-only")))));
|
|
48
|
+
const ActiveCompareEditorCanSwapContext = ( (new RawContextKey('activeCompareEditorCanSwap', false, ( localize(506, "Whether the active compare editor can swap sides")))));
|
|
49
49
|
const ActiveEditorCanToggleReadonlyContext = ( (new RawContextKey('activeEditorCanToggleReadonly', true, ( localize(
|
|
50
|
-
|
|
50
|
+
507,
|
|
51
51
|
"Whether the active editor can toggle between being read-only or writeable"
|
|
52
52
|
)))));
|
|
53
|
-
const ActiveEditorCanRevertContext = ( (new RawContextKey('activeEditorCanRevert', false, ( localize(
|
|
53
|
+
const ActiveEditorCanRevertContext = ( (new RawContextKey('activeEditorCanRevert', false, ( localize(508, "Whether the active editor can revert")))));
|
|
54
54
|
const ActiveEditorCanSplitInGroupContext = ( (new RawContextKey('activeEditorCanSplitInGroup', true)));
|
|
55
|
-
const ActiveEditorContext = ( (new RawContextKey('activeEditor', null, { type: 'string', description: ( localize(
|
|
55
|
+
const ActiveEditorContext = ( (new RawContextKey('activeEditor', null, { type: 'string', description: ( localize(509, "The identifier of the active editor")) })));
|
|
56
56
|
const ActiveEditorAvailableEditorIdsContext = ( (new RawContextKey('activeEditorAvailableEditorIds', '', ( localize(
|
|
57
|
-
|
|
57
|
+
510,
|
|
58
58
|
"The available editor identifiers that are usable for the active editor"
|
|
59
59
|
)))));
|
|
60
|
-
const TextCompareEditorVisibleContext = ( (new RawContextKey('textCompareEditorVisible', false, ( localize(
|
|
61
|
-
const TextCompareEditorActiveContext = ( (new RawContextKey('textCompareEditorActive', false, ( localize(
|
|
62
|
-
const SideBySideEditorActiveContext = ( (new RawContextKey('sideBySideEditorActive', false, ( localize(
|
|
63
|
-
const EditorGroupEditorsCountContext = ( (new RawContextKey('groupEditorsCount', 0, ( localize(
|
|
64
|
-
const ActiveEditorGroupEmptyContext = ( (new RawContextKey('activeEditorGroupEmpty', false, ( localize(
|
|
65
|
-
const ActiveEditorGroupIndexContext = ( (new RawContextKey('activeEditorGroupIndex', 0, ( localize(
|
|
66
|
-
const ActiveEditorGroupLastContext = ( (new RawContextKey('activeEditorGroupLast', false, ( localize(
|
|
67
|
-
const ActiveEditorGroupLockedContext = ( (new RawContextKey('activeEditorGroupLocked', false, ( localize(
|
|
68
|
-
const MultipleEditorGroupsContext = ( (new RawContextKey('multipleEditorGroups', false, ( localize(
|
|
69
|
-
const MultipleEditorsSelectedInGroupContext = ( (new RawContextKey('multipleEditorsSelectedInGroup', false, ( localize(
|
|
70
|
-
const TwoEditorsSelectedInGroupContext = ( (new RawContextKey('twoEditorsSelectedInGroup', false, ( localize(
|
|
60
|
+
const TextCompareEditorVisibleContext = ( (new RawContextKey('textCompareEditorVisible', false, ( localize(511, "Whether a text compare editor is visible")))));
|
|
61
|
+
const TextCompareEditorActiveContext = ( (new RawContextKey('textCompareEditorActive', false, ( localize(512, "Whether a text compare editor is active")))));
|
|
62
|
+
const SideBySideEditorActiveContext = ( (new RawContextKey('sideBySideEditorActive', false, ( localize(513, "Whether a side by side editor is active")))));
|
|
63
|
+
const EditorGroupEditorsCountContext = ( (new RawContextKey('groupEditorsCount', 0, ( localize(514, "The number of opened editor groups")))));
|
|
64
|
+
const ActiveEditorGroupEmptyContext = ( (new RawContextKey('activeEditorGroupEmpty', false, ( localize(515, "Whether the active editor group is empty")))));
|
|
65
|
+
const ActiveEditorGroupIndexContext = ( (new RawContextKey('activeEditorGroupIndex', 0, ( localize(516, "The index of the active editor group")))));
|
|
66
|
+
const ActiveEditorGroupLastContext = ( (new RawContextKey('activeEditorGroupLast', false, ( localize(517, "Whether the active editor group is the last group")))));
|
|
67
|
+
const ActiveEditorGroupLockedContext = ( (new RawContextKey('activeEditorGroupLocked', false, ( localize(518, "Whether the active editor group is locked")))));
|
|
68
|
+
const MultipleEditorGroupsContext = ( (new RawContextKey('multipleEditorGroups', false, ( localize(519, "Whether there are multiple editor groups opened")))));
|
|
69
|
+
const MultipleEditorsSelectedInGroupContext = ( (new RawContextKey('multipleEditorsSelectedInGroup', false, ( localize(520, "Whether multiple editors have been selected in an editor group")))));
|
|
70
|
+
const TwoEditorsSelectedInGroupContext = ( (new RawContextKey('twoEditorsSelectedInGroup', false, ( localize(521, "Whether exactly two editors have been selected in an editor group")))));
|
|
71
71
|
const SelectedEditorsInGroupFileOrUntitledResourceContextKey = ( (new RawContextKey(
|
|
72
72
|
'SelectedEditorsInGroupFileOrUntitledResourceContextKey',
|
|
73
73
|
true,
|
|
74
74
|
( localize(
|
|
75
|
-
|
|
75
|
+
522,
|
|
76
76
|
"Whether all selected editors in a group have a file or untitled resource associated"
|
|
77
77
|
))
|
|
78
78
|
)));
|
|
79
|
-
const EditorPartMultipleEditorGroupsContext = ( (new RawContextKey('editorPartMultipleEditorGroups', false, ( localize(
|
|
80
|
-
const EditorPartMaximizedEditorGroupContext = ( (new RawContextKey('editorPartMaximizedEditorGroup', false, ( localize(
|
|
81
|
-
const IsAuxiliaryEditorPartContext = ( (new RawContextKey('isAuxiliaryEditorPart', false, ( localize(
|
|
82
|
-
const EditorsVisibleContext = ( (new RawContextKey('editorIsOpen', false, ( localize(
|
|
83
|
-
const InEditorZenModeContext = ( (new RawContextKey('inZenMode', false, ( localize(
|
|
84
|
-
const IsMainEditorCenteredLayoutContext = ( (new RawContextKey('isCenteredLayout', false, ( localize(
|
|
85
|
-
const SplitEditorsVertically = ( (new RawContextKey('splitEditorsVertically', false, ( localize(
|
|
86
|
-
const MainEditorAreaVisibleContext = ( (new RawContextKey('mainEditorAreaVisible', true, ( localize(
|
|
87
|
-
const EditorTabsVisibleContext = ( (new RawContextKey('editorTabsVisible', true, ( localize(
|
|
88
|
-
const SideBarVisibleContext = ( (new RawContextKey('sideBarVisible', false, ( localize(
|
|
89
|
-
const SidebarFocusContext = ( (new RawContextKey('sideBarFocus', false, ( localize(
|
|
90
|
-
const ActiveViewletContext = ( (new RawContextKey('activeViewlet', '', ( localize(
|
|
91
|
-
const StatusBarFocused = ( (new RawContextKey('statusBarFocused', false, ( localize(
|
|
92
|
-
const TitleBarStyleContext = ( (new RawContextKey('titleBarStyle', isLinux ? 'native' : 'custom', ( localize(
|
|
93
|
-
const TitleBarVisibleContext = ( (new RawContextKey('titleBarVisible', false, ( localize(
|
|
94
|
-
const BannerFocused = ( (new RawContextKey('bannerFocused', false, ( localize(
|
|
95
|
-
const NotificationFocusedContext = ( (new RawContextKey('notificationFocus', true, ( localize(
|
|
96
|
-
const NotificationsCenterVisibleContext = ( (new RawContextKey('notificationCenterVisible', false, ( localize(
|
|
97
|
-
const NotificationsToastsVisibleContext = ( (new RawContextKey('notificationToastsVisible', false, ( localize(
|
|
98
|
-
const ActiveAuxiliaryContext = ( (new RawContextKey('activeAuxiliary', '', ( localize(
|
|
99
|
-
const AuxiliaryBarFocusContext = ( (new RawContextKey('auxiliaryBarFocus', false, ( localize(
|
|
100
|
-
const AuxiliaryBarVisibleContext = ( (new RawContextKey('auxiliaryBarVisible', false, ( localize(
|
|
101
|
-
const ActivePanelContext = ( (new RawContextKey('activePanel', '', ( localize(
|
|
102
|
-
const PanelFocusContext = ( (new RawContextKey('panelFocus', false, ( localize(
|
|
103
|
-
const PanelPositionContext = ( (new RawContextKey('panelPosition', 'bottom', ( localize(
|
|
79
|
+
const EditorPartMultipleEditorGroupsContext = ( (new RawContextKey('editorPartMultipleEditorGroups', false, ( localize(523, "Whether there are multiple editor groups opened in an editor part")))));
|
|
80
|
+
const EditorPartMaximizedEditorGroupContext = ( (new RawContextKey('editorPartMaximizedEditorGroup', false, ( localize(524, "Editor Part has a maximized group")))));
|
|
81
|
+
const IsAuxiliaryEditorPartContext = ( (new RawContextKey('isAuxiliaryEditorPart', false, ( localize(525, "Editor Part is in an auxiliary window")))));
|
|
82
|
+
const EditorsVisibleContext = ( (new RawContextKey('editorIsOpen', false, ( localize(526, "Whether an editor is open")))));
|
|
83
|
+
const InEditorZenModeContext = ( (new RawContextKey('inZenMode', false, ( localize(527, "Whether Zen mode is enabled")))));
|
|
84
|
+
const IsMainEditorCenteredLayoutContext = ( (new RawContextKey('isCenteredLayout', false, ( localize(528, "Whether centered layout is enabled for the main editor")))));
|
|
85
|
+
const SplitEditorsVertically = ( (new RawContextKey('splitEditorsVertically', false, ( localize(529, "Whether editors split vertically")))));
|
|
86
|
+
const MainEditorAreaVisibleContext = ( (new RawContextKey('mainEditorAreaVisible', true, ( localize(530, "Whether the editor area in the main window is visible")))));
|
|
87
|
+
const EditorTabsVisibleContext = ( (new RawContextKey('editorTabsVisible', true, ( localize(531, "Whether editor tabs are visible")))));
|
|
88
|
+
const SideBarVisibleContext = ( (new RawContextKey('sideBarVisible', false, ( localize(532, "Whether the sidebar is visible")))));
|
|
89
|
+
const SidebarFocusContext = ( (new RawContextKey('sideBarFocus', false, ( localize(533, "Whether the sidebar has keyboard focus")))));
|
|
90
|
+
const ActiveViewletContext = ( (new RawContextKey('activeViewlet', '', ( localize(534, "The identifier of the active viewlet")))));
|
|
91
|
+
const StatusBarFocused = ( (new RawContextKey('statusBarFocused', false, ( localize(535, "Whether the status bar has keyboard focus")))));
|
|
92
|
+
const TitleBarStyleContext = ( (new RawContextKey('titleBarStyle', isLinux ? 'native' : 'custom', ( localize(536, "Style of the window title bar")))));
|
|
93
|
+
const TitleBarVisibleContext = ( (new RawContextKey('titleBarVisible', false, ( localize(537, "Whether the title bar is visible")))));
|
|
94
|
+
const BannerFocused = ( (new RawContextKey('bannerFocused', false, ( localize(538, "Whether the banner has keyboard focus")))));
|
|
95
|
+
const NotificationFocusedContext = ( (new RawContextKey('notificationFocus', true, ( localize(539, "Whether a notification has keyboard focus")))));
|
|
96
|
+
const NotificationsCenterVisibleContext = ( (new RawContextKey('notificationCenterVisible', false, ( localize(540, "Whether the notifications center is visible")))));
|
|
97
|
+
const NotificationsToastsVisibleContext = ( (new RawContextKey('notificationToastsVisible', false, ( localize(541, "Whether a notification toast is visible")))));
|
|
98
|
+
const ActiveAuxiliaryContext = ( (new RawContextKey('activeAuxiliary', '', ( localize(542, "The identifier of the active auxiliary panel")))));
|
|
99
|
+
const AuxiliaryBarFocusContext = ( (new RawContextKey('auxiliaryBarFocus', false, ( localize(543, "Whether the auxiliary bar has keyboard focus")))));
|
|
100
|
+
const AuxiliaryBarVisibleContext = ( (new RawContextKey('auxiliaryBarVisible', false, ( localize(544, "Whether the auxiliary bar is visible")))));
|
|
101
|
+
const ActivePanelContext = ( (new RawContextKey('activePanel', '', ( localize(545, "The identifier of the active panel")))));
|
|
102
|
+
const PanelFocusContext = ( (new RawContextKey('panelFocus', false, ( localize(546, "Whether the panel has keyboard focus")))));
|
|
103
|
+
const PanelPositionContext = ( (new RawContextKey('panelPosition', 'bottom', ( localize(547, "The position of the panel, always 'bottom'")))));
|
|
104
104
|
const PanelAlignmentContext = ( (new RawContextKey('panelAlignment', 'center', ( localize(
|
|
105
|
-
|
|
105
|
+
548,
|
|
106
106
|
"The alignment of the panel, either 'center', 'left', 'right' or 'justify'"
|
|
107
107
|
)))));
|
|
108
|
-
const PanelVisibleContext = ( (new RawContextKey('panelVisible', false, ( localize(
|
|
109
|
-
const PanelMaximizedContext = ( (new RawContextKey('panelMaximized', false, ( localize(
|
|
110
|
-
const FocusedViewContext = ( (new RawContextKey('focusedView', '', ( localize(
|
|
108
|
+
const PanelVisibleContext = ( (new RawContextKey('panelVisible', false, ( localize(549, "Whether the panel is visible")))));
|
|
109
|
+
const PanelMaximizedContext = ( (new RawContextKey('panelMaximized', false, ( localize(550, "Whether the panel is maximized")))));
|
|
110
|
+
const FocusedViewContext = ( (new RawContextKey('focusedView', '', ( localize(551, "The identifier of the view that has keyboard focus")))));
|
|
111
111
|
function getVisbileViewContextKey(viewId) { return `view.${viewId}.visible`; }
|
|
112
112
|
let ResourceContextKey = class ResourceContextKey {
|
|
113
113
|
static { ResourceContextKey_1 = this; }
|
|
114
|
-
static { this.Scheme = ( (new RawContextKey('resourceScheme', undefined, { type: 'string', description: ( localize(
|
|
114
|
+
static { this.Scheme = ( (new RawContextKey('resourceScheme', undefined, { type: 'string', description: ( localize(552, "The scheme of the resource")) }))); }
|
|
115
115
|
static { this.Filename = ( (new RawContextKey(
|
|
116
116
|
'resourceFilename',
|
|
117
117
|
undefined,
|
|
118
|
-
{ type: 'string', description: ( localize(
|
|
118
|
+
{ type: 'string', description: ( localize(553, "The file name of the resource")) }
|
|
119
119
|
))); }
|
|
120
120
|
static { this.Dirname = ( (new RawContextKey(
|
|
121
121
|
'resourceDirname',
|
|
122
122
|
undefined,
|
|
123
|
-
{ type: 'string', description: ( localize(
|
|
123
|
+
{ type: 'string', description: ( localize(554, "The folder name the resource is contained in")) }
|
|
124
124
|
))); }
|
|
125
|
-
static { this.Path = ( (new RawContextKey('resourcePath', undefined, { type: 'string', description: ( localize(
|
|
126
|
-
static { this.LangId = ( (new RawContextKey('resourceLangId', undefined, { type: 'string', description: ( localize(
|
|
127
|
-
static { this.Resource = ( (new RawContextKey('resource', undefined, { type: 'URI', description: ( localize(
|
|
125
|
+
static { this.Path = ( (new RawContextKey('resourcePath', undefined, { type: 'string', description: ( localize(555, "The full path of the resource")) }))); }
|
|
126
|
+
static { this.LangId = ( (new RawContextKey('resourceLangId', undefined, { type: 'string', description: ( localize(556, "The language identifier of the resource")) }))); }
|
|
127
|
+
static { this.Resource = ( (new RawContextKey('resource', undefined, { type: 'URI', description: ( localize(557, "The full value of the resource including scheme and path")) }))); }
|
|
128
128
|
static { this.Extension = ( (new RawContextKey(
|
|
129
129
|
'resourceExtname',
|
|
130
130
|
undefined,
|
|
131
|
-
{ type: 'string', description: ( localize(
|
|
131
|
+
{ type: 'string', description: ( localize(558, "The extension name of the resource")) }
|
|
132
132
|
))); }
|
|
133
|
-
static { this.HasResource = ( (new RawContextKey('resourceSet', undefined, { type: 'boolean', description: ( localize(
|
|
133
|
+
static { this.HasResource = ( (new RawContextKey('resourceSet', undefined, { type: 'boolean', description: ( localize(559, "Whether a resource is present or not")) }))); }
|
|
134
134
|
static { this.IsFileSystemResource = ( (new RawContextKey(
|
|
135
135
|
'isFileSystemResource',
|
|
136
136
|
undefined,
|
|
137
|
-
{ type: 'boolean', description: ( localize(
|
|
137
|
+
{ type: 'boolean', description: ( localize(560, "Whether the resource is backed by a file system provider")) }
|
|
138
138
|
))); }
|
|
139
139
|
constructor(_contextKeyService, _fileService, _languageService, _modelService) {
|
|
140
140
|
this._contextKeyService = _contextKeyService;
|
|
@@ -42,7 +42,7 @@ let DiffEditorInput = class DiffEditorInput extends SideBySideEditorInput {
|
|
|
42
42
|
else {
|
|
43
43
|
const originalName = this.original.getName();
|
|
44
44
|
const modifiedName = this.modified.getName();
|
|
45
|
-
name = ( localize(
|
|
45
|
+
name = ( localize(8726, "{0} ↔ {1}", originalName, modifiedName));
|
|
46
46
|
forceDescription = originalName === modifiedName;
|
|
47
47
|
}
|
|
48
48
|
let shortDescription;
|
|
@@ -47,7 +47,7 @@ let ChatAgentHover = class ChatAgentHover extends Disposable {
|
|
|
47
47
|
this.publisherName = $('span.chat-agent-hover-publisher-name');
|
|
48
48
|
append(hoverElement.publisher, verifiedBadge, this.publisherName);
|
|
49
49
|
hoverElement.warning.appendChild(renderIcon(Codicon.warning));
|
|
50
|
-
hoverElement.warning.appendChild($('span', undefined, ( localize(
|
|
50
|
+
hoverElement.warning.appendChild($('span', undefined, ( localize(10603, "This chat extension is using a reserved name."))));
|
|
51
51
|
}
|
|
52
52
|
setAgent(id) {
|
|
53
53
|
const agent = this.chatAgentService.getAgent(id);
|
|
@@ -97,7 +97,7 @@ function getChatAgentHoverOptions(getAgent, commandService) {
|
|
|
97
97
|
actions: [
|
|
98
98
|
{
|
|
99
99
|
commandId: showExtensionsWithIdsCommandId,
|
|
100
|
-
label: ( localize(
|
|
100
|
+
label: ( localize(10604, "View Extension")),
|
|
101
101
|
run: () => {
|
|
102
102
|
const agent = getAgent();
|
|
103
103
|
if (agent) {
|
package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatAttachmentsContentPart.js
CHANGED
|
@@ -43,30 +43,30 @@ let ChatAttachmentsContentPart = class ChatAttachmentsContentPart extends Dispos
|
|
|
43
43
|
let ariaLabel;
|
|
44
44
|
if (isAttachmentOmitted) {
|
|
45
45
|
ariaLabel = range ? ( localize(
|
|
46
|
-
|
|
46
|
+
10605,
|
|
47
47
|
"Omitted: {0}, line {1} to line {2}.",
|
|
48
48
|
friendlyName,
|
|
49
49
|
range.startLineNumber,
|
|
50
50
|
range.endLineNumber
|
|
51
|
-
)) : ( localize(
|
|
51
|
+
)) : ( localize(10606, "Omitted: {0}.", friendlyName));
|
|
52
52
|
}
|
|
53
53
|
else if (isAttachmentPartialOrOmitted) {
|
|
54
54
|
ariaLabel = range ? ( localize(
|
|
55
|
-
|
|
55
|
+
10607,
|
|
56
56
|
"Partially attached: {0}, line {1} to line {2}.",
|
|
57
57
|
friendlyName,
|
|
58
58
|
range.startLineNumber,
|
|
59
59
|
range.endLineNumber
|
|
60
|
-
)) : ( localize(
|
|
60
|
+
)) : ( localize(10608, "Partially attached: {0}.", friendlyName));
|
|
61
61
|
}
|
|
62
62
|
else {
|
|
63
63
|
ariaLabel = range ? ( localize(
|
|
64
|
-
|
|
64
|
+
10609,
|
|
65
65
|
"Attached: {0}, line {1} to line {2}.",
|
|
66
66
|
friendlyName,
|
|
67
67
|
range.startLineNumber,
|
|
68
68
|
range.endLineNumber
|
|
69
|
-
)) : ( localize(
|
|
69
|
+
)) : ( localize(10610, "Attached: {0}.", friendlyName));
|
|
70
70
|
}
|
|
71
71
|
label.setFile(file, {
|
|
72
72
|
fileKind: FileKind.FILE,
|
|
@@ -93,7 +93,7 @@ let ChatAttachmentsContentPart = class ChatAttachmentsContentPart extends Dispos
|
|
|
93
93
|
const attachmentLabel = attachment.fullName ?? attachment.name;
|
|
94
94
|
const withIcon = attachment.icon?.id ? `$(${attachment.icon.id}) ${attachmentLabel}` : attachmentLabel;
|
|
95
95
|
label.setLabel(withIcon, correspondingContentReference?.options?.status?.description);
|
|
96
|
-
widget.ariaLabel = ( localize(
|
|
96
|
+
widget.ariaLabel = ( localize(10611, "Attached context: {0}.", attachment.name));
|
|
97
97
|
widget.tabIndex = 0;
|
|
98
98
|
}
|
|
99
99
|
if (isAttachmentPartialOrOmitted) {
|
|
@@ -12,7 +12,7 @@ import { EditorInput } from '../../../common/editor/editorInput.js';
|
|
|
12
12
|
import { ChatAgentLocation } from '../common/chatAgents.js';
|
|
13
13
|
import { IChatService } from '../common/chatService.service.js';
|
|
14
14
|
var ChatEditorInput_1;
|
|
15
|
-
const ChatEditorIcon = registerIcon('chat-editor-label-icon', Codicon.commentDiscussion, ( localize(
|
|
15
|
+
const ChatEditorIcon = registerIcon('chat-editor-label-icon', Codicon.commentDiscussion, ( localize(7159, 'Icon of the chat editor label.')));
|
|
16
16
|
let ChatEditorInput = class ChatEditorInput extends EditorInput {
|
|
17
17
|
static { ChatEditorInput_1 = this; }
|
|
18
18
|
static { this.countsInUse = ( (new Set())); }
|
|
@@ -58,7 +58,7 @@ let ChatEditorInput = class ChatEditorInput extends EditorInput {
|
|
|
58
58
|
return ChatEditorInput_1.TypeID;
|
|
59
59
|
}
|
|
60
60
|
getName() {
|
|
61
|
-
return this.model?.title || ( localize(
|
|
61
|
+
return this.model?.title || ( localize(7160, "Chat")) + (this.inputCount > 0 ? ` ${this.inputCount + 1}` : '');
|
|
62
62
|
}
|
|
63
63
|
getIcon() {
|
|
64
64
|
return ChatEditorIcon;
|
|
@@ -38,7 +38,7 @@ let ChatFollowups = class ChatFollowups extends Disposable {
|
|
|
38
38
|
else if (followup.kind === 'command') {
|
|
39
39
|
button.element.classList.add('interactive-followup-command');
|
|
40
40
|
}
|
|
41
|
-
button.element.ariaLabel = ( localize(
|
|
41
|
+
button.element.ariaLabel = ( localize(10602, "Follow up question: {0}", baseTitle));
|
|
42
42
|
button.label = ( (new MarkdownString(baseTitle)));
|
|
43
43
|
this._register(button.onDidClick(() => this.clickHandler(followup)));
|
|
44
44
|
}
|
|
@@ -16,17 +16,17 @@ const createCodeActionsAutoSave = (description) => {
|
|
|
16
16
|
enum: ['always', 'explicit', 'never', true, false],
|
|
17
17
|
enumDescriptions: [
|
|
18
18
|
( localize(
|
|
19
|
-
|
|
19
|
+
4517,
|
|
20
20
|
'Triggers Code Actions on explicit saves and auto saves triggered by window or focus changes.'
|
|
21
21
|
)),
|
|
22
|
-
( localize(
|
|
23
|
-
( localize(
|
|
22
|
+
( localize(4518, 'Triggers Code Actions only when explicitly saved')),
|
|
23
|
+
( localize(4519, 'Never triggers Code Actions on save')),
|
|
24
24
|
( localize(
|
|
25
|
-
|
|
25
|
+
4520,
|
|
26
26
|
'Triggers Code Actions only when explicitly saved. This value will be deprecated in favor of "explicit".'
|
|
27
27
|
)),
|
|
28
28
|
( localize(
|
|
29
|
-
|
|
29
|
+
4521,
|
|
30
30
|
'Never triggers Code Actions on save. This value will be deprecated in favor of "never".'
|
|
31
31
|
))
|
|
32
32
|
],
|
|
@@ -39,14 +39,14 @@ const createNotebookCodeActionsAutoSave = (description) => {
|
|
|
39
39
|
type: ['string', 'boolean'],
|
|
40
40
|
enum: ['explicit', 'never', true, false],
|
|
41
41
|
enumDescriptions: [
|
|
42
|
-
( localize(
|
|
43
|
-
( localize(
|
|
42
|
+
( localize(4522, 'Triggers Code Actions only when explicitly saved.')),
|
|
43
|
+
( localize(4523, 'Never triggers Code Actions on save.')),
|
|
44
44
|
( localize(
|
|
45
|
-
|
|
45
|
+
4524,
|
|
46
46
|
'Triggers Code Actions only when explicitly saved. This value will be deprecated in favor of "explicit".'
|
|
47
47
|
)),
|
|
48
48
|
( localize(
|
|
49
|
-
|
|
49
|
+
4525,
|
|
50
50
|
'Triggers Code Actions only when explicitly saved. This value will be deprecated in favor of "never".'
|
|
51
51
|
))
|
|
52
52
|
],
|
|
@@ -68,7 +68,7 @@ const codeActionsOnSaveSchema = {
|
|
|
68
68
|
}
|
|
69
69
|
],
|
|
70
70
|
markdownDescription: ( localize(
|
|
71
|
-
|
|
71
|
+
4526,
|
|
72
72
|
'Run Code Actions for the editor on save. Code Actions must be specified and the editor must not be shutting down. Example: `"source.organizeImports": "explicit" `'
|
|
73
73
|
)),
|
|
74
74
|
type: ['object', 'array'],
|
|
@@ -99,7 +99,7 @@ const notebookCodeActionsOnSaveSchema = {
|
|
|
99
99
|
}
|
|
100
100
|
],
|
|
101
101
|
markdownDescription: ( localize(
|
|
102
|
-
|
|
102
|
+
4527,
|
|
103
103
|
'Run a series of Code Actions for a notebook on save. Code Actions must be specified, the file must not be saved after delay, and the editor must not be shutting down. Example: `"notebook.source.organizeImports": "explicit"`'
|
|
104
104
|
)),
|
|
105
105
|
type: 'object',
|
|
@@ -154,12 +154,12 @@ let CodeActionsContribution = class CodeActionsContribution extends Disposable {
|
|
|
154
154
|
for (const [sourceAction, props] of this.getSourceActions(codeActionContributions)) {
|
|
155
155
|
this.settings.add(sourceAction);
|
|
156
156
|
newProperties[sourceAction] = createCodeActionsAutoSave(( localize(
|
|
157
|
-
|
|
157
|
+
4528,
|
|
158
158
|
"Controls whether '{0}' actions should be run on file save.",
|
|
159
159
|
props.title
|
|
160
160
|
)));
|
|
161
161
|
newNotebookProperties[sourceAction] = createNotebookCodeActionsAutoSave(( localize(
|
|
162
|
-
|
|
162
|
+
4528,
|
|
163
163
|
"Controls whether '{0}' actions should be run on file save.",
|
|
164
164
|
props.title
|
|
165
165
|
)));
|
|
@@ -175,12 +175,12 @@ let CodeActionsContribution = class CodeActionsContribution extends Disposable {
|
|
|
175
175
|
for (const codeActionKind of this.settings) {
|
|
176
176
|
if (!properties[codeActionKind]) {
|
|
177
177
|
properties[codeActionKind] = createCodeActionsAutoSave(( localize(
|
|
178
|
-
|
|
178
|
+
4528,
|
|
179
179
|
"Controls whether '{0}' actions should be run on file save.",
|
|
180
180
|
codeActionKind
|
|
181
181
|
)));
|
|
182
182
|
notebookProperties[codeActionKind] = createNotebookCodeActionsAutoSave(( localize(
|
|
183
|
-
|
|
183
|
+
4528,
|
|
184
184
|
"Controls whether '{0}' actions should be run on file save.",
|
|
185
185
|
codeActionKind
|
|
186
186
|
)));
|
|
@@ -15,14 +15,14 @@ var CodeActionExtensionPointFields;
|
|
|
15
15
|
})(CodeActionExtensionPointFields || (CodeActionExtensionPointFields = {}))));
|
|
16
16
|
const codeActionsExtensionPointSchema = ( (Object.freeze({
|
|
17
17
|
type: 'array',
|
|
18
|
-
markdownDescription: ( localize(
|
|
18
|
+
markdownDescription: ( localize(4501, "Configure which editor to use for a resource.")),
|
|
19
19
|
items: {
|
|
20
20
|
type: 'object',
|
|
21
21
|
required: [CodeActionExtensionPointFields.languages, CodeActionExtensionPointFields.actions],
|
|
22
22
|
properties: {
|
|
23
23
|
[CodeActionExtensionPointFields.languages]: {
|
|
24
24
|
type: 'array',
|
|
25
|
-
description: ( localize(
|
|
25
|
+
description: ( localize(4502, "Language modes that the code actions are enabled for.")),
|
|
26
26
|
items: { type: 'string' }
|
|
27
27
|
},
|
|
28
28
|
[CodeActionExtensionPointFields.actions]: {
|
|
@@ -31,15 +31,15 @@ const codeActionsExtensionPointSchema = ( (Object.freeze({
|
|
|
31
31
|
properties: {
|
|
32
32
|
[CodeActionExtensionPointFields.kind]: {
|
|
33
33
|
type: 'string',
|
|
34
|
-
markdownDescription: ( localize(
|
|
34
|
+
markdownDescription: ( localize(4503, "`CodeActionKind` of the contributed code action.")),
|
|
35
35
|
},
|
|
36
36
|
[CodeActionExtensionPointFields.title]: {
|
|
37
37
|
type: 'string',
|
|
38
|
-
description: ( localize(
|
|
38
|
+
description: ( localize(4504, "Label for the code action used in the UI.")),
|
|
39
39
|
},
|
|
40
40
|
[CodeActionExtensionPointFields.description]: {
|
|
41
41
|
type: 'string',
|
|
42
|
-
description: ( localize(
|
|
42
|
+
description: ( localize(4505, "Description of what the code action does.")),
|
|
43
43
|
},
|
|
44
44
|
}
|
|
45
45
|
}
|
|
@@ -68,10 +68,10 @@ class CodeActionsTableRenderer extends Disposable {
|
|
|
68
68
|
contribution => ( (contribution.actions.map(action => ({ ...action, languages: contribution.languages }))))
|
|
69
69
|
))).flat();
|
|
70
70
|
const headers = [
|
|
71
|
-
( localize(
|
|
72
|
-
( localize(
|
|
73
|
-
( localize(
|
|
74
|
-
( localize(
|
|
71
|
+
( localize(4506, "Title")),
|
|
72
|
+
( localize(4507, "Kind")),
|
|
73
|
+
( localize(4508, "Description")),
|
|
74
|
+
( localize(4509, "Languages"))
|
|
75
75
|
];
|
|
76
76
|
const rows = ( (flatActions.sort((a, b) => a.title.localeCompare(b.title))
|
|
77
77
|
.map(action => {
|
|
@@ -93,7 +93,7 @@ class CodeActionsTableRenderer extends Disposable {
|
|
|
93
93
|
}
|
|
94
94
|
( (Registry.as(Extensions.ExtensionFeaturesRegistry))).registerExtensionFeature({
|
|
95
95
|
id: 'codeActions',
|
|
96
|
-
label: ( localize(
|
|
96
|
+
label: ( localize(4510, "Code Actions")),
|
|
97
97
|
access: {
|
|
98
98
|
canToggle: false,
|
|
99
99
|
},
|
|
@@ -10,14 +10,14 @@ var DocumentationExtensionPointFields;
|
|
|
10
10
|
)));
|
|
11
11
|
const documentationExtensionPointSchema = ( (Object.freeze({
|
|
12
12
|
type: 'object',
|
|
13
|
-
description: ( localize(
|
|
13
|
+
description: ( localize(4511, "Contributed documentation.")),
|
|
14
14
|
properties: {
|
|
15
15
|
'refactoring': {
|
|
16
16
|
type: 'array',
|
|
17
|
-
description: ( localize(
|
|
17
|
+
description: ( localize(4512, "Contributed documentation for refactorings.")),
|
|
18
18
|
items: {
|
|
19
19
|
type: 'object',
|
|
20
|
-
description: ( localize(
|
|
20
|
+
description: ( localize(4513, "Contributed documentation for refactoring.")),
|
|
21
21
|
required: [
|
|
22
22
|
DocumentationExtensionPointFields.title,
|
|
23
23
|
DocumentationExtensionPointFields.when,
|
|
@@ -26,15 +26,15 @@ const documentationExtensionPointSchema = ( (Object.freeze({
|
|
|
26
26
|
properties: {
|
|
27
27
|
[DocumentationExtensionPointFields.title]: {
|
|
28
28
|
type: 'string',
|
|
29
|
-
description: ( localize(
|
|
29
|
+
description: ( localize(4514, "Label for the documentation used in the UI.")),
|
|
30
30
|
},
|
|
31
31
|
[DocumentationExtensionPointFields.when]: {
|
|
32
32
|
type: 'string',
|
|
33
|
-
description: ( localize(
|
|
33
|
+
description: ( localize(4515, "When clause.")),
|
|
34
34
|
},
|
|
35
35
|
[DocumentationExtensionPointFields.command]: {
|
|
36
36
|
type: 'string',
|
|
37
|
-
description: ( localize(
|
|
37
|
+
description: ( localize(4516, "Command executed.")),
|
|
38
38
|
},
|
|
39
39
|
},
|
|
40
40
|
}
|
|
@@ -27,12 +27,12 @@ import { ThemeIcon } from '../../../../../base/common/themables.js';
|
|
|
27
27
|
import { isWindows } from '../../../../../base/common/platform.js';
|
|
28
28
|
var EditorDictation_1;
|
|
29
29
|
const EDITOR_DICTATION_IN_PROGRESS = ( (new RawContextKey('editorDictation.inProgress', false)));
|
|
30
|
-
const VOICE_CATEGORY = ( localize2(
|
|
30
|
+
const VOICE_CATEGORY = ( localize2(10466, "Voice"));
|
|
31
31
|
class EditorDictationStartAction extends EditorAction2 {
|
|
32
32
|
constructor() {
|
|
33
33
|
super({
|
|
34
34
|
id: 'workbench.action.editorDictation.start',
|
|
35
|
-
title: ( localize2(
|
|
35
|
+
title: ( localize2(10467, "Start Dictation in Editor")),
|
|
36
36
|
category: VOICE_CATEGORY,
|
|
37
37
|
precondition: ( (ContextKeyExpr.and(
|
|
38
38
|
HasSpeechProvider,
|
|
@@ -72,7 +72,7 @@ class EditorDictationStopAction extends EditorAction2 {
|
|
|
72
72
|
constructor() {
|
|
73
73
|
super({
|
|
74
74
|
id: EditorDictationStopAction.ID,
|
|
75
|
-
title: ( localize2(
|
|
75
|
+
title: ( localize2(10468, "Stop Dictation in Editor")),
|
|
76
76
|
category: VOICE_CATEGORY,
|
|
77
77
|
precondition: EDITOR_DICTATION_IN_PROGRESS,
|
|
78
78
|
f1: true,
|
|
@@ -97,7 +97,7 @@ class DictationWidget extends Disposable {
|
|
|
97
97
|
const stopActionKeybinding = keybindingService.lookupKeybinding(EditorDictationStopAction.ID)?.getLabel();
|
|
98
98
|
actionBar.push(toAction({
|
|
99
99
|
id: EditorDictationStopAction.ID,
|
|
100
|
-
label: stopActionKeybinding ? ( localize(
|
|
100
|
+
label: stopActionKeybinding ? ( localize(10469, "Stop Dictation ({0})", stopActionKeybinding)) : ( localize(10470, "Stop Dictation")),
|
|
101
101
|
class: ThemeIcon.asClassName(Codicon.micFilled),
|
|
102
102
|
run: () => EditorDictation.get(editor)?.stop()
|
|
103
103
|
}), { icon: true, label: false, keybinding: stopActionKeybinding });
|
|
@@ -176,7 +176,7 @@ let AbstractExpressionsRenderer = class AbstractExpressionsRenderer {
|
|
|
176
176
|
const name = append(expression, $('span.name'));
|
|
177
177
|
const lazyButton = append(expression, $('span.lazy-button'));
|
|
178
178
|
lazyButton.classList.add(...ThemeIcon.asClassNameArray(Codicon.eye));
|
|
179
|
-
templateDisposable.add(this.hoverService.setupManagedHover(getDefaultHoverDelegate('mouse'), lazyButton, ( localize(
|
|
179
|
+
templateDisposable.add(this.hoverService.setupManagedHover(getDefaultHoverDelegate('mouse'), lazyButton, ( localize(10282, "Click to expand"))));
|
|
180
180
|
const type = append(expression, $('span.type'));
|
|
181
181
|
const value = append(expression, $('span.value'));
|
|
182
182
|
const label = templateDisposable.add(( (new HighlightedLabel(name))));
|