@codingame/monaco-vscode-api 10.1.1 → 10.1.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/README.md +137 -332
- package/package.json +9 -9
- package/vscode/src/vs/base/browser/ui/splitview/paneview.js +1 -1
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +1 -1
- package/vscode/src/vs/base/common/date.js +61 -61
- package/vscode/src/vs/base/common/errorMessage.js +6 -15
- package/vscode/src/vs/base/common/jsonErrorMessages.js +9 -9
- package/vscode/src/vs/base/common/worker/simpleWorkerBootstrap.js +23 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +1 -1
- package/vscode/src/vs/editor/browser/controller/editContext/screenReaderUtils.js +4 -4
- 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/diffEditor.contribution.js +5 -5
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +51 -51
- package/vscode/src/vs/editor/common/config/editorOptions.js +368 -368
- package/vscode/src/vs/editor/common/services/editorWorkerBootstrap.js +3 -8
- package/vscode/src/vs/editor/common/standaloneStrings.js +32 -32
- 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/codeAction/browser/codeAction.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/referencesTree.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- 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/quickAccess/browser/gotoLineQuickAccess.js +5 -5
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- 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/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +49 -49
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actions/browser/buttonbar.js +3 -3
- package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +2 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +11 -7
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/files/common/files.js +6 -6
- 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/log/common/log.js +6 -6
- package/vscode/src/vs/platform/markers/common/markers.js +3 -3
- package/vscode/src/vs/platform/request/common/request.js +14 -14
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +5 -5
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -42
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- 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/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/labels.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +41 -41
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +16 -16
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +61 -61
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +1 -1
- package/vscode/src/vs/workbench/browser/quickaccess.js +1 -1
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +217 -217
- package/vscode/src/vs/workbench/common/configuration.js +10 -10
- package/vscode/src/vs/workbench/common/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/editor/textEditorModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +131 -131
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +16 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatConstants.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAgentHover.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatAttachmentsContentPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCodeCitationContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCommandContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatConfirmationContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatReferencesContentPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTextEditContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatToolInvocationPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTreeContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDragAndDrop.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditingService.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImagePaste.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInlineAnchorWidget.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputCompletions.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatColors.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +21 -21
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +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/quickaccess/gotoSymbolQuickAccess.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +29 -29
- 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/common/debug.js +63 -63
- 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/replModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
- 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/files.contribution._configuration.js +52 -52
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +8 -8
- package/vscode/src/vs/workbench/contrib/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/inlineChatWidget.js +3 -3
- 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/view/conflictActions.js +21 -21
- package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +8 -8
- 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/cellOperations.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +5 -5
- 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/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/scm/browser/dirtyDiffSwitcher.js +2 -2
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +23 -23
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistory.js +13 -13
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +10 -10
- 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/terminal/browser/terminalEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +7 -7
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +16 -16
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +15 -15
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +1 -1
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +5 -5
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +9 -9
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +11 -11
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +7 -7
- package/workers/editor.worker.js +1 -1
|
@@ -19,7 +19,7 @@ import '../../../../platform/theme/common/colors/searchColors.js';
|
|
|
19
19
|
properties: {
|
|
20
20
|
["inlineChat.mode" ]: {
|
|
21
21
|
description: ( localize(
|
|
22
|
-
|
|
22
|
+
7203,
|
|
23
23
|
"Configure if changes crafted with inline chat are applied directly to the document or are previewed first."
|
|
24
24
|
)),
|
|
25
25
|
default: "live" ,
|
|
@@ -27,11 +27,11 @@ import '../../../../platform/theme/common/colors/searchColors.js';
|
|
|
27
27
|
enum: ["live" , "preview" ],
|
|
28
28
|
markdownEnumDescriptions: [
|
|
29
29
|
( localize(
|
|
30
|
-
|
|
30
|
+
7204,
|
|
31
31
|
"Changes are applied directly to the document, can be highlighted via inline diffs, and accepted/discarded by hunks. Ending a session will keep the changes."
|
|
32
32
|
)),
|
|
33
33
|
( localize(
|
|
34
|
-
|
|
34
|
+
7205,
|
|
35
35
|
"Changes are previewed only and need to be accepted via the apply button. Ending a session will discard the changes."
|
|
36
36
|
)),
|
|
37
37
|
],
|
|
@@ -39,20 +39,20 @@ import '../../../../platform/theme/common/colors/searchColors.js';
|
|
|
39
39
|
},
|
|
40
40
|
["inlineChat.finishOnType" ]: {
|
|
41
41
|
description: ( localize(
|
|
42
|
-
|
|
42
|
+
7206,
|
|
43
43
|
"Whether to finish an inline chat session when typing outside of changed regions."
|
|
44
44
|
)),
|
|
45
45
|
default: false,
|
|
46
46
|
type: 'boolean'
|
|
47
47
|
},
|
|
48
48
|
["inlineChat.acceptedOrDiscardBeforeSave" ]: {
|
|
49
|
-
description: ( localize(
|
|
49
|
+
description: ( localize(7207, "Whether pending inline chat sessions prevent saving.")),
|
|
50
50
|
default: true,
|
|
51
51
|
type: 'boolean'
|
|
52
52
|
},
|
|
53
53
|
["inlineChat.holdToSpeech" ]: {
|
|
54
54
|
description: ( localize(
|
|
55
|
-
|
|
55
|
+
7208,
|
|
56
56
|
"Whether holding the inline chat keybinding will automatically enable speech recognition."
|
|
57
57
|
)),
|
|
58
58
|
default: true,
|
|
@@ -60,7 +60,7 @@ import '../../../../platform/theme/common/colors/searchColors.js';
|
|
|
60
60
|
},
|
|
61
61
|
["inlineChat.accessibleDiffView" ]: {
|
|
62
62
|
description: ( localize(
|
|
63
|
-
|
|
63
|
+
7209,
|
|
64
64
|
"Whether the inline chat also renders an accessible diff viewer for its changes."
|
|
65
65
|
)),
|
|
66
66
|
default: 'auto',
|
|
@@ -68,16 +68,16 @@ import '../../../../platform/theme/common/colors/searchColors.js';
|
|
|
68
68
|
enum: ['auto', 'on', 'off'],
|
|
69
69
|
markdownEnumDescriptions: [
|
|
70
70
|
( localize(
|
|
71
|
-
|
|
71
|
+
7210,
|
|
72
72
|
"The accessible diff viewer is based on screen reader mode being enabled."
|
|
73
73
|
)),
|
|
74
|
-
( localize(
|
|
75
|
-
( localize(
|
|
74
|
+
( localize(7211, "The accessible diff viewer is always enabled.")),
|
|
75
|
+
( localize(7212, "The accessible diff viewer is never enabled.")),
|
|
76
76
|
],
|
|
77
77
|
},
|
|
78
78
|
["inlineChat.experimental.enableZoneToolbar" ]: {
|
|
79
79
|
description: ( localize(
|
|
80
|
-
|
|
80
|
+
7213,
|
|
81
81
|
"Whether to show a toolbar to accept or reject changes in the inline chat changes view."
|
|
82
82
|
)),
|
|
83
83
|
default: false,
|
|
@@ -88,42 +88,42 @@ import '../../../../platform/theme/common/colors/searchColors.js';
|
|
|
88
88
|
});
|
|
89
89
|
const INLINE_CHAT_ID = 'interactiveEditor';
|
|
90
90
|
const CTX_INLINE_CHAT_POSSIBLE = ( (new RawContextKey('inlineChatPossible', false, ( localize(
|
|
91
|
-
|
|
91
|
+
7214,
|
|
92
92
|
"Whether a provider for inline chat exists and whether an editor for inline chat is open"
|
|
93
93
|
)))));
|
|
94
|
-
const CTX_INLINE_CHAT_HAS_AGENT = ( (new RawContextKey('inlineChatHasProvider', false, ( localize(
|
|
95
|
-
const CTX_INLINE_CHAT_VISIBLE = ( (new RawContextKey('inlineChatVisible', false, ( localize(
|
|
96
|
-
const CTX_INLINE_CHAT_FOCUSED = ( (new RawContextKey('inlineChatFocused', false, ( localize(
|
|
94
|
+
const CTX_INLINE_CHAT_HAS_AGENT = ( (new RawContextKey('inlineChatHasProvider', false, ( localize(7215, "Whether a provider for interactive editors exists")))));
|
|
95
|
+
const CTX_INLINE_CHAT_VISIBLE = ( (new RawContextKey('inlineChatVisible', false, ( localize(7216, "Whether the interactive editor input is visible")))));
|
|
96
|
+
const CTX_INLINE_CHAT_FOCUSED = ( (new RawContextKey('inlineChatFocused', false, ( localize(7217, "Whether the interactive editor input is focused")))));
|
|
97
97
|
const CTX_INLINE_CHAT_EDITING = ( (new RawContextKey('inlineChatEditing', true, ( localize(
|
|
98
|
-
|
|
98
|
+
7218,
|
|
99
99
|
"Whether the user is currently editing or generating code in the inline chat"
|
|
100
100
|
)))));
|
|
101
|
-
const CTX_INLINE_CHAT_RESPONSE_FOCUSED = ( (new RawContextKey('inlineChatResponseFocused', false, ( localize(
|
|
102
|
-
const CTX_INLINE_CHAT_EMPTY = ( (new RawContextKey('inlineChatEmpty', false, ( localize(
|
|
101
|
+
const CTX_INLINE_CHAT_RESPONSE_FOCUSED = ( (new RawContextKey('inlineChatResponseFocused', false, ( localize(7219, "Whether the interactive widget's response is focused")))));
|
|
102
|
+
const CTX_INLINE_CHAT_EMPTY = ( (new RawContextKey('inlineChatEmpty', false, ( localize(7220, "Whether the interactive editor input is empty")))));
|
|
103
103
|
const CTX_INLINE_CHAT_INNER_CURSOR_FIRST = ( (new RawContextKey('inlineChatInnerCursorFirst', false, ( localize(
|
|
104
|
-
|
|
104
|
+
7221,
|
|
105
105
|
"Whether the cursor of the iteractive editor input is on the first line"
|
|
106
106
|
)))));
|
|
107
107
|
const CTX_INLINE_CHAT_INNER_CURSOR_LAST = ( (new RawContextKey('inlineChatInnerCursorLast', false, ( localize(
|
|
108
|
-
|
|
108
|
+
7222,
|
|
109
109
|
"Whether the cursor of the iteractive editor input is on the last line"
|
|
110
110
|
)))));
|
|
111
111
|
const CTX_INLINE_CHAT_OUTER_CURSOR_POSITION = ( (new RawContextKey('inlineChatOuterCursorPosition', '', ( localize(
|
|
112
|
-
|
|
112
|
+
7225,
|
|
113
113
|
"Whether the cursor of the outer editor is above or below the interactive editor input"
|
|
114
114
|
)))));
|
|
115
|
-
const CTX_INLINE_CHAT_HAS_STASHED_SESSION = ( (new RawContextKey('inlineChatHasStashedSession', false, ( localize(
|
|
116
|
-
const CTX_INLINE_CHAT_USER_DID_EDIT = ( (new RawContextKey('inlineChatUserDidEdit', undefined, ( localize(
|
|
117
|
-
const CTX_INLINE_CHAT_DOCUMENT_CHANGED = ( (new RawContextKey('inlineChatDocumentChanged', false, ( localize(
|
|
118
|
-
const CTX_INLINE_CHAT_CHANGE_HAS_DIFF = ( (new RawContextKey('inlineChatChangeHasDiff', false, ( localize(
|
|
119
|
-
const CTX_INLINE_CHAT_CHANGE_SHOWS_DIFF = ( (new RawContextKey('inlineChatChangeShowsDiff', false, ( localize(
|
|
115
|
+
const CTX_INLINE_CHAT_HAS_STASHED_SESSION = ( (new RawContextKey('inlineChatHasStashedSession', false, ( localize(7226, "Whether interactive editor has kept a session for quick restore")))));
|
|
116
|
+
const CTX_INLINE_CHAT_USER_DID_EDIT = ( (new RawContextKey('inlineChatUserDidEdit', undefined, ( localize(7227, "Whether the user did changes ontop of the inline chat")))));
|
|
117
|
+
const CTX_INLINE_CHAT_DOCUMENT_CHANGED = ( (new RawContextKey('inlineChatDocumentChanged', false, ( localize(7228, "Whether the document has changed concurrently")))));
|
|
118
|
+
const CTX_INLINE_CHAT_CHANGE_HAS_DIFF = ( (new RawContextKey('inlineChatChangeHasDiff', false, ( localize(7229, "Whether the current change supports showing a diff")))));
|
|
119
|
+
const CTX_INLINE_CHAT_CHANGE_SHOWS_DIFF = ( (new RawContextKey('inlineChatChangeShowsDiff', false, ( localize(7230, "Whether the current change showing a diff")))));
|
|
120
120
|
const CTX_INLINE_CHAT_EDIT_MODE = ( (new RawContextKey('config.inlineChat.mode', "live" )));
|
|
121
|
-
const CTX_INLINE_CHAT_REQUEST_IN_PROGRESS = ( (new RawContextKey('inlineChatRequestInProgress', false, ( localize(
|
|
121
|
+
const CTX_INLINE_CHAT_REQUEST_IN_PROGRESS = ( (new RawContextKey('inlineChatRequestInProgress', false, ( localize(7231, "Whether an inline chat request is currently in progress")))));
|
|
122
122
|
const CTX_INLINE_CHAT_RESPONSE_TYPE = ( (new RawContextKey(
|
|
123
123
|
'inlineChatResponseType',
|
|
124
124
|
"none" ,
|
|
125
125
|
( localize(
|
|
126
|
-
|
|
126
|
+
7232,
|
|
127
127
|
"What type was the responses have been receieved, nothing yet, just messages, or messaged and local edits"
|
|
128
128
|
))
|
|
129
129
|
)));
|
|
@@ -136,17 +136,17 @@ const ACTION_REPORT_ISSUE = 'inlineChat.reportIssue';
|
|
|
136
136
|
const MENU_INLINE_CHAT_WIDGET_STATUS = MenuId.for('inlineChatWidget.status');
|
|
137
137
|
const MENU_INLINE_CHAT_WIDGET_SECONDARY = MenuId.for('inlineChatWidget.secondary');
|
|
138
138
|
const MENU_INLINE_CHAT_ZONE = MenuId.for('inlineChatWidget.changesZone');
|
|
139
|
-
const inlineChatForeground = registerColor('inlineChat.foreground', editorWidgetForeground, ( localize(
|
|
140
|
-
const inlineChatBackground = registerColor('inlineChat.background', editorWidgetBackground, ( localize(
|
|
141
|
-
registerColor('inlineChat.border', editorWidgetBorder, ( localize(
|
|
142
|
-
registerColor('inlineChat.shadow', widgetShadow, ( localize(
|
|
143
|
-
registerColor('inlineChatInput.border', editorWidgetBorder, ( localize(
|
|
144
|
-
registerColor('inlineChatInput.focusBorder', focusBorder, ( localize(
|
|
145
|
-
registerColor('inlineChatInput.placeholderForeground', inputPlaceholderForeground, ( localize(
|
|
146
|
-
registerColor('inlineChatInput.background', inputBackground, ( localize(
|
|
147
|
-
registerColor('inlineChatDiff.inserted', ( (transparent(diffInserted, .5))), ( localize(
|
|
148
|
-
const overviewRulerInlineChatDiffInserted = registerColor('editorOverviewRuler.inlineChatInserted', { dark: ( (transparent(diffInserted, 0.6))), light: ( (transparent(diffInserted, 0.8))), hcDark: ( (transparent(diffInserted, 0.6))), hcLight: ( (transparent(diffInserted, 0.8))) }, ( localize(
|
|
149
|
-
const minimapInlineChatDiffInserted = registerColor('editorOverviewRuler.inlineChatInserted', { dark: ( (transparent(diffInserted, 0.6))), light: ( (transparent(diffInserted, 0.8))), hcDark: ( (transparent(diffInserted, 0.6))), hcLight: ( (transparent(diffInserted, 0.8))) }, ( localize(
|
|
150
|
-
registerColor('inlineChatDiff.removed', ( (transparent(diffRemoved, .5))), ( localize(
|
|
151
|
-
registerColor('editorOverviewRuler.inlineChatRemoved', { dark: ( (transparent(diffRemoved, 0.6))), light: ( (transparent(diffRemoved, 0.8))), hcDark: ( (transparent(diffRemoved, 0.6))), hcLight: ( (transparent(diffRemoved, 0.8))) }, ( localize(
|
|
139
|
+
const inlineChatForeground = registerColor('inlineChat.foreground', editorWidgetForeground, ( localize(7233, "Foreground color of the interactive editor widget")));
|
|
140
|
+
const inlineChatBackground = registerColor('inlineChat.background', editorWidgetBackground, ( localize(7234, "Background color of the interactive editor widget")));
|
|
141
|
+
registerColor('inlineChat.border', editorWidgetBorder, ( localize(7235, "Border color of the interactive editor widget")));
|
|
142
|
+
registerColor('inlineChat.shadow', widgetShadow, ( localize(7236, "Shadow color of the interactive editor widget")));
|
|
143
|
+
registerColor('inlineChatInput.border', editorWidgetBorder, ( localize(7237, "Border color of the interactive editor input")));
|
|
144
|
+
registerColor('inlineChatInput.focusBorder', focusBorder, ( localize(7238, "Border color of the interactive editor input when focused")));
|
|
145
|
+
registerColor('inlineChatInput.placeholderForeground', inputPlaceholderForeground, ( localize(7239, "Foreground color of the interactive editor input placeholder")));
|
|
146
|
+
registerColor('inlineChatInput.background', inputBackground, ( localize(7240, "Background color of the interactive editor input")));
|
|
147
|
+
registerColor('inlineChatDiff.inserted', ( (transparent(diffInserted, .5))), ( localize(7241, "Background color of inserted text in the interactive editor input")));
|
|
148
|
+
const overviewRulerInlineChatDiffInserted = registerColor('editorOverviewRuler.inlineChatInserted', { dark: ( (transparent(diffInserted, 0.6))), light: ( (transparent(diffInserted, 0.8))), hcDark: ( (transparent(diffInserted, 0.6))), hcLight: ( (transparent(diffInserted, 0.8))) }, ( localize(7242, 'Overview ruler marker color for inline chat inserted content.')));
|
|
149
|
+
const minimapInlineChatDiffInserted = registerColor('editorOverviewRuler.inlineChatInserted', { dark: ( (transparent(diffInserted, 0.6))), light: ( (transparent(diffInserted, 0.8))), hcDark: ( (transparent(diffInserted, 0.6))), hcLight: ( (transparent(diffInserted, 0.8))) }, ( localize(7242, 'Overview ruler marker color for inline chat inserted content.')));
|
|
150
|
+
registerColor('inlineChatDiff.removed', ( (transparent(diffRemoved, .5))), ( localize(7243, "Background color of removed text in the interactive editor input")));
|
|
151
|
+
registerColor('editorOverviewRuler.inlineChatRemoved', { dark: ( (transparent(diffRemoved, 0.6))), light: ( (transparent(diffRemoved, 0.8))), hcDark: ( (transparent(diffRemoved, 0.6))), hcLight: ( (transparent(diffRemoved, 0.8))) }, ( localize(7244, 'Overview ruler marker color for inline chat removed content.')));
|
|
152
152
|
export { ACTION_ACCEPT_CHANGES, ACTION_DISCARD_CHANGES, ACTION_REGENERATE_RESPONSE, ACTION_REPORT_ISSUE, ACTION_TOGGLE_DIFF, ACTION_VIEW_IN_CHAT, CTX_INLINE_CHAT_CHANGE_HAS_DIFF, CTX_INLINE_CHAT_CHANGE_SHOWS_DIFF, CTX_INLINE_CHAT_DOCUMENT_CHANGED, CTX_INLINE_CHAT_EDITING, CTX_INLINE_CHAT_EDIT_MODE, CTX_INLINE_CHAT_EMPTY, CTX_INLINE_CHAT_FOCUSED, CTX_INLINE_CHAT_HAS_AGENT, CTX_INLINE_CHAT_HAS_STASHED_SESSION, CTX_INLINE_CHAT_INNER_CURSOR_FIRST, CTX_INLINE_CHAT_INNER_CURSOR_LAST, CTX_INLINE_CHAT_OUTER_CURSOR_POSITION, CTX_INLINE_CHAT_POSSIBLE, CTX_INLINE_CHAT_REQUEST_IN_PROGRESS, CTX_INLINE_CHAT_RESPONSE_FOCUSED, CTX_INLINE_CHAT_RESPONSE_TYPE, CTX_INLINE_CHAT_USER_DID_EDIT, CTX_INLINE_CHAT_VISIBLE, INLINE_CHAT_ID, MENU_INLINE_CHAT_WIDGET_SECONDARY, MENU_INLINE_CHAT_WIDGET_STATUS, MENU_INLINE_CHAT_ZONE, inlineChatBackground, inlineChatForeground, minimapInlineChatDiffInserted, overviewRulerInlineChatDiffInserted };
|
|
@@ -9,8 +9,8 @@ class ListResizeColumnAction extends Action2 {
|
|
|
9
9
|
constructor() {
|
|
10
10
|
super({
|
|
11
11
|
id: 'list.resizeColumn',
|
|
12
|
-
title: { value: ( localize(
|
|
13
|
-
category: { value: ( localize(
|
|
12
|
+
title: { value: ( localize(4556, "Resize Column")), original: 'Resize Column' },
|
|
13
|
+
category: { value: ( localize(4557, "List")), original: 'List' },
|
|
14
14
|
precondition: WorkbenchListFocusContextKey,
|
|
15
15
|
f1: true
|
|
16
16
|
});
|
|
@@ -15,14 +15,14 @@ let TableColumnResizeQuickPick = class TableColumnResizeQuickPick extends Dispos
|
|
|
15
15
|
items.push({ label, index });
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
|
-
const column = await this._quickInputService.pick(items, { placeHolder: ( localize(
|
|
18
|
+
const column = await this._quickInputService.pick(items, { placeHolder: ( localize(9904, "Select the column to resize, type to filter.")) });
|
|
19
19
|
if (!column) {
|
|
20
20
|
return;
|
|
21
21
|
}
|
|
22
22
|
const value = await this._quickInputService.input({
|
|
23
|
-
placeHolder: ( localize(
|
|
23
|
+
placeHolder: ( localize(9905, "i.e. 20, 60, 100...")),
|
|
24
24
|
prompt: ( localize(
|
|
25
|
-
|
|
25
|
+
9906,
|
|
26
26
|
"Please enter a width in percentage for the '{0}' column.",
|
|
27
27
|
column.label
|
|
28
28
|
)),
|
|
@@ -37,11 +37,11 @@ let TableColumnResizeQuickPick = class TableColumnResizeQuickPick extends Dispos
|
|
|
37
37
|
async _validateColumnResizeValue(input) {
|
|
38
38
|
const percentage = Number.parseInt(input);
|
|
39
39
|
if (input && !Number.isInteger(percentage)) {
|
|
40
|
-
return ( localize(
|
|
40
|
+
return ( localize(9907, "Please enter an integer."));
|
|
41
41
|
}
|
|
42
42
|
else if (percentage < 0 || percentage > 100) {
|
|
43
43
|
return ( localize(
|
|
44
|
-
|
|
44
|
+
9908,
|
|
45
45
|
"Please enter a number greater than 0 and less than or equal to 100."
|
|
46
46
|
));
|
|
47
47
|
}
|
|
@@ -85,15 +85,15 @@ class ActionsSource {
|
|
|
85
85
|
const result = [];
|
|
86
86
|
if (state.kind === ModifiedBaseRangeStateKind.unrecognized) {
|
|
87
87
|
result.push({
|
|
88
|
-
text: ( localize(
|
|
89
|
-
tooltip: ( localize(
|
|
88
|
+
text: ( localize(11475, "Manual Resolution")),
|
|
89
|
+
tooltip: ( localize(11476, "This conflict has been resolved manually.")),
|
|
90
90
|
});
|
|
91
91
|
}
|
|
92
92
|
else if (state.kind === ModifiedBaseRangeStateKind.base) {
|
|
93
93
|
result.push({
|
|
94
|
-
text: ( localize(
|
|
94
|
+
text: ( localize(11477, 'No Changes Accepted')),
|
|
95
95
|
tooltip: ( localize(
|
|
96
|
-
|
|
96
|
+
11478,
|
|
97
97
|
'The current resolution of this conflict equals the common ancestor of both the right and left changes.'
|
|
98
98
|
)),
|
|
99
99
|
});
|
|
@@ -115,20 +115,20 @@ class ActionsSource {
|
|
|
115
115
|
}
|
|
116
116
|
const stateToggles = [];
|
|
117
117
|
if (state.includesInput1) {
|
|
118
|
-
stateToggles.push(command(( localize(
|
|
118
|
+
stateToggles.push(command(( localize(11479, 'Remove {0}', model.input1.title)), async () => {
|
|
119
119
|
transaction((tx) => {
|
|
120
120
|
model.setState(modifiedBaseRange, state.withInputValue(1, false), true, tx);
|
|
121
121
|
model.telemetry.reportRemoveInvoked(1, state.includesInput(2));
|
|
122
122
|
});
|
|
123
|
-
}, ( localize(
|
|
123
|
+
}, ( localize(11480, 'Remove {0} from the result document.', model.input1.title))));
|
|
124
124
|
}
|
|
125
125
|
if (state.includesInput2) {
|
|
126
|
-
stateToggles.push(command(( localize(
|
|
126
|
+
stateToggles.push(command(( localize(11479, 'Remove {0}', model.input2.title)), async () => {
|
|
127
127
|
transaction((tx) => {
|
|
128
128
|
model.setState(modifiedBaseRange, state.withInputValue(2, false), true, tx);
|
|
129
129
|
model.telemetry.reportRemoveInvoked(2, state.includesInput(1));
|
|
130
130
|
});
|
|
131
|
-
}, ( localize(
|
|
131
|
+
}, ( localize(11480, 'Remove {0} from the result document.', model.input2.title))));
|
|
132
132
|
}
|
|
133
133
|
if (state.kind === ModifiedBaseRangeStateKind.both &&
|
|
134
134
|
state.firstInput === 2) {
|
|
@@ -136,13 +136,13 @@ class ActionsSource {
|
|
|
136
136
|
}
|
|
137
137
|
result.push(...stateToggles);
|
|
138
138
|
if (state.kind === ModifiedBaseRangeStateKind.unrecognized) {
|
|
139
|
-
result.push(command(( localize(
|
|
139
|
+
result.push(command(( localize(11481, 'Reset to base')), async () => {
|
|
140
140
|
transaction((tx) => {
|
|
141
141
|
model.setState(modifiedBaseRange, ModifiedBaseRangeState.base, true, tx);
|
|
142
142
|
model.telemetry.reportResetToBaseInvoked();
|
|
143
143
|
});
|
|
144
144
|
}, ( localize(
|
|
145
|
-
|
|
145
|
+
11482,
|
|
146
146
|
'Reset this conflict to the common ancestor of both the right and left changes.'
|
|
147
147
|
))));
|
|
148
148
|
}
|
|
@@ -174,16 +174,16 @@ class ActionsSource {
|
|
|
174
174
|
const otherInputNumber = inputNumber === 1 ? 2 : 1;
|
|
175
175
|
if (state.kind !== ModifiedBaseRangeStateKind.unrecognized && !state.isInputIncluded(inputNumber)) {
|
|
176
176
|
if (!state.isInputIncluded(otherInputNumber) || !this.viewModel.shouldUseAppendInsteadOfAccept.read(reader)) {
|
|
177
|
-
result.push(command(( localize(
|
|
177
|
+
result.push(command(( localize(11483, "Accept {0}", inputData.title)), async () => {
|
|
178
178
|
transaction((tx) => {
|
|
179
179
|
model.setState(modifiedBaseRange, state.withInputValue(inputNumber, true, false), inputNumber, tx);
|
|
180
180
|
model.telemetry.reportAcceptInvoked(inputNumber, state.includesInput(otherInputNumber));
|
|
181
181
|
});
|
|
182
|
-
}, ( localize(
|
|
182
|
+
}, ( localize(11484, "Accept {0} in the result document.", inputData.title))));
|
|
183
183
|
if (modifiedBaseRange.canBeCombined) {
|
|
184
184
|
const commandName = modifiedBaseRange.isOrderRelevant
|
|
185
|
-
? ( localize(
|
|
186
|
-
: ( localize(
|
|
185
|
+
? ( localize(11485, "Accept Combination ({0} First)", inputData.title))
|
|
186
|
+
: ( localize(11486, "Accept Combination"));
|
|
187
187
|
result.push(command(commandName, async () => {
|
|
188
188
|
transaction((tx) => {
|
|
189
189
|
model.setState(modifiedBaseRange, ModifiedBaseRangeState.base
|
|
@@ -192,36 +192,36 @@ class ActionsSource {
|
|
|
192
192
|
model.telemetry.reportSmartCombinationInvoked(state.includesInput(otherInputNumber));
|
|
193
193
|
});
|
|
194
194
|
}, ( localize(
|
|
195
|
-
|
|
195
|
+
11487,
|
|
196
196
|
"Accept an automatic combination of both sides in the result document."
|
|
197
197
|
))));
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
200
|
else {
|
|
201
|
-
result.push(command(( localize(
|
|
201
|
+
result.push(command(( localize(11488, "Append {0}", inputData.title)), async () => {
|
|
202
202
|
transaction((tx) => {
|
|
203
203
|
model.setState(modifiedBaseRange, state.withInputValue(inputNumber, true, false), inputNumber, tx);
|
|
204
204
|
model.telemetry.reportAcceptInvoked(inputNumber, state.includesInput(otherInputNumber));
|
|
205
205
|
});
|
|
206
|
-
}, ( localize(
|
|
206
|
+
}, ( localize(11489, "Append {0} to the result document.", inputData.title))));
|
|
207
207
|
if (modifiedBaseRange.canBeCombined) {
|
|
208
|
-
result.push(command(( localize(
|
|
208
|
+
result.push(command(( localize(11490, "Accept Combination", inputData.title)), async () => {
|
|
209
209
|
transaction((tx) => {
|
|
210
210
|
model.setState(modifiedBaseRange, state.withInputValue(inputNumber, true, true), inputNumber, tx);
|
|
211
211
|
model.telemetry.reportSmartCombinationInvoked(state.includesInput(otherInputNumber));
|
|
212
212
|
});
|
|
213
213
|
}, ( localize(
|
|
214
|
-
|
|
214
|
+
11487,
|
|
215
215
|
"Accept an automatic combination of both sides in the result document."
|
|
216
216
|
))));
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
219
|
if (!model.isInputHandled(modifiedBaseRange, inputNumber).read(reader)) {
|
|
220
|
-
result.push(command(( localize(
|
|
220
|
+
result.push(command(( localize(11491, 'Ignore')), async () => {
|
|
221
221
|
transaction((tx) => {
|
|
222
222
|
model.setInputHandled(modifiedBaseRange, inputNumber, true, tx);
|
|
223
223
|
});
|
|
224
|
-
}, ( localize(
|
|
224
|
+
}, ( localize(11492, "Don't take this side of the conflict."))));
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
227
|
return result;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { localize } from '../../../../nls.js';
|
|
2
2
|
import { RawContextKey } from '../../../../platform/contextkey/common/contextkey.js';
|
|
3
|
-
const ctxIsMergeEditor = ( (new RawContextKey('isMergeEditor', false, { type: 'boolean', description: ( localize(
|
|
3
|
+
const ctxIsMergeEditor = ( (new RawContextKey('isMergeEditor', false, { type: 'boolean', description: ( localize(10974, 'The editor is a merge editor')) })));
|
|
4
4
|
const ctxIsMergeResultEditor = ( (new RawContextKey(
|
|
5
5
|
'isMergeResultEditor',
|
|
6
6
|
false,
|
|
7
|
-
{ type: 'boolean', description: ( localize(
|
|
7
|
+
{ type: 'boolean', description: ( localize(10975, 'The editor is a the result editor of a merge editor.')) }
|
|
8
8
|
)));
|
|
9
9
|
const ctxMergeEditorLayout = ( (new RawContextKey(
|
|
10
10
|
'mergeEditorLayout',
|
|
11
11
|
'mixed',
|
|
12
|
-
{ type: 'string', description: ( localize(
|
|
12
|
+
{ type: 'string', description: ( localize(10976, 'The layout mode of a merge editor')) }
|
|
13
13
|
)));
|
|
14
14
|
const ctxMergeEditorShowBase = ( (new RawContextKey(
|
|
15
15
|
'mergeEditorShowBase',
|
|
16
16
|
false,
|
|
17
|
-
{ type: 'boolean', description: ( localize(
|
|
17
|
+
{ type: 'boolean', description: ( localize(10977, 'If the merge editor shows the base version')) }
|
|
18
18
|
)));
|
|
19
19
|
const ctxMergeEditorShowBaseAtTop = ( (new RawContextKey(
|
|
20
20
|
'mergeEditorShowBaseAtTop',
|
|
21
21
|
false,
|
|
22
|
-
{ type: 'boolean', description: ( localize(
|
|
22
|
+
{ type: 'boolean', description: ( localize(10978, 'If base should be shown at the top')) }
|
|
23
23
|
)));
|
|
24
24
|
const ctxMergeEditorShowNonConflictingChanges = ( (new RawContextKey(
|
|
25
25
|
'mergeEditorShowNonConflictingChanges',
|
|
26
26
|
false,
|
|
27
|
-
{ type: 'boolean', description: ( localize(
|
|
27
|
+
{ type: 'boolean', description: ( localize(10979, 'If the merge editor shows non-conflicting changes')) }
|
|
28
28
|
)));
|
|
29
|
-
const ctxMergeBaseUri = ( (new RawContextKey('mergeEditorBaseUri', '', { type: 'string', description: ( localize(
|
|
30
|
-
const ctxMergeResultUri = ( (new RawContextKey('mergeEditorResultUri', '', { type: 'string', description: ( localize(
|
|
29
|
+
const ctxMergeBaseUri = ( (new RawContextKey('mergeEditorBaseUri', '', { type: 'string', description: ( localize(10980, 'The uri of the baser of a merge editor')) })));
|
|
30
|
+
const ctxMergeResultUri = ( (new RawContextKey('mergeEditorResultUri', '', { type: 'string', description: ( localize(10981, 'The uri of the result of a merge editor')) })));
|
|
31
31
|
const StorageCloseWithConflicts = 'mergeEditorCloseWithConflicts';
|
|
32
32
|
export { StorageCloseWithConflicts, ctxIsMergeEditor, ctxIsMergeResultEditor, ctxMergeBaseUri, ctxMergeEditorLayout, ctxMergeEditorShowBase, ctxMergeEditorShowBaseAtTop, ctxMergeEditorShowNonConflictingChanges, ctxMergeResultUri };
|
|
@@ -116,9 +116,9 @@ let MultiDiffEditorInput = class MultiDiffEditorInput extends EditorInput {
|
|
|
116
116
|
};
|
|
117
117
|
this._register(autorun((reader) => {
|
|
118
118
|
const resources = this.resources.read(reader);
|
|
119
|
-
const label = this.label ?? ( localize(
|
|
119
|
+
const label = this.label ?? ( localize(6150, "Multi Diff Editor"));
|
|
120
120
|
if (resources) {
|
|
121
|
-
this._name = label + ( localize(
|
|
121
|
+
this._name = label + ( localize(6151, " ({0} files)", resources.length));
|
|
122
122
|
}
|
|
123
123
|
else {
|
|
124
124
|
this._name = label;
|
|
@@ -273,10 +273,10 @@ let NotebookFindWidget = class NotebookFindWidget extends SimpleFindReplaceWidge
|
|
|
273
273
|
_getAriaLabel(label, currentMatch, searchString) {
|
|
274
274
|
if (label === NLS_NO_RESULTS) {
|
|
275
275
|
return searchString === ''
|
|
276
|
-
? ( localize(
|
|
277
|
-
: ( localize(
|
|
276
|
+
? ( localize(10243, "{0} found", label))
|
|
277
|
+
: ( localize(10244, "{0} found for '{1}'", label, searchString));
|
|
278
278
|
}
|
|
279
|
-
return ( localize(
|
|
279
|
+
return ( localize(10245, "{0} found for '{1}'", label, searchString));
|
|
280
280
|
}
|
|
281
281
|
dispose() {
|
|
282
282
|
this._notebookEditor?.removeClassName(FIND_SHOW_TRANSITION);
|
|
@@ -301,7 +301,7 @@ async function joinSelectedCells(bulkEditService, notificationService, context)
|
|
|
301
301
|
const cellKind = cells[0].cellKind;
|
|
302
302
|
const isSameKind = cells.every(cell => cell.cellKind === cellKind);
|
|
303
303
|
if (!isSameKind) {
|
|
304
|
-
const message = ( localize(
|
|
304
|
+
const message = ( localize(10860, "Cannot join cells of different kinds"));
|
|
305
305
|
return notificationService.warn(message);
|
|
306
306
|
}
|
|
307
307
|
const firstCell = cells[0];
|
|
@@ -329,7 +329,7 @@ async function joinSelectedCells(bulkEditService, notificationService, context)
|
|
|
329
329
|
}))));
|
|
330
330
|
}
|
|
331
331
|
if (edits.length) {
|
|
332
|
-
await bulkEditService.apply(edits, { quotableLabel: ( localize(
|
|
332
|
+
await bulkEditService.apply(edits, { quotableLabel: ( localize(10861, "Join Notebook Cells")) });
|
|
333
333
|
}
|
|
334
334
|
}
|
|
335
335
|
async function joinNotebookCells(editor, range, direction, constraint) {
|
package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { localize } from '../../../../../../nls.js';
|
|
2
2
|
import { MenuId } from '../../../../../../platform/actions/common/actions.js';
|
|
3
3
|
import { RawContextKey } from '../../../../../../platform/contextkey/common/contextkey.js';
|
|
4
|
-
const CTX_NOTEBOOK_CELL_CHAT_FOCUSED = ( (new RawContextKey('notebookCellChatFocused', false, ( localize(
|
|
5
|
-
const CTX_NOTEBOOK_CHAT_HAS_ACTIVE_REQUEST = ( (new RawContextKey('notebookChatHasActiveRequest', false, ( localize(
|
|
6
|
-
const CTX_NOTEBOOK_CHAT_USER_DID_EDIT = ( (new RawContextKey('notebookChatUserDidEdit', false, ( localize(
|
|
4
|
+
const CTX_NOTEBOOK_CELL_CHAT_FOCUSED = ( (new RawContextKey('notebookCellChatFocused', false, ( localize(10862, "Whether the cell chat editor is focused")))));
|
|
5
|
+
const CTX_NOTEBOOK_CHAT_HAS_ACTIVE_REQUEST = ( (new RawContextKey('notebookChatHasActiveRequest', false, ( localize(10863, "Whether the cell chat editor has an active request")))));
|
|
6
|
+
const CTX_NOTEBOOK_CHAT_USER_DID_EDIT = ( (new RawContextKey('notebookChatUserDidEdit', false, ( localize(10864, "Whether the user did changes ontop of the notebook cell chat")))));
|
|
7
7
|
const CTX_NOTEBOOK_CHAT_OUTER_FOCUS_POSITION = ( (new RawContextKey('notebookChatOuterFocusPosition', '', ( localize(
|
|
8
|
-
|
|
8
|
+
10865,
|
|
9
9
|
"Whether the focus of the notebook editor is above or below the cell chat"
|
|
10
10
|
)))));
|
|
11
11
|
const MENU_CELL_CHAT_INPUT = MenuId.for('cellChatInput');
|
|
@@ -13,5 +13,5 @@ const MENU_CELL_CHAT_WIDGET = MenuId.for('cellChatWidget');
|
|
|
13
13
|
const MENU_CELL_CHAT_WIDGET_STATUS = MenuId.for('cellChatWidget.status');
|
|
14
14
|
MenuId.for('cellChatWidget.feedback');
|
|
15
15
|
MenuId.for('cellChatWidget.toolbar');
|
|
16
|
-
const CTX_NOTEBOOK_CHAT_HAS_AGENT = ( (new RawContextKey('notebookChatAgentRegistered', false, ( localize(
|
|
16
|
+
const CTX_NOTEBOOK_CHAT_HAS_AGENT = ( (new RawContextKey('notebookChatAgentRegistered', false, ( localize(10866, "Whether a chat agent for notebook is registered")))));
|
|
17
17
|
export { CTX_NOTEBOOK_CELL_CHAT_FOCUSED, CTX_NOTEBOOK_CHAT_HAS_ACTIVE_REQUEST, CTX_NOTEBOOK_CHAT_HAS_AGENT, CTX_NOTEBOOK_CHAT_OUTER_FOCUS_POSITION, CTX_NOTEBOOK_CHAT_USER_DID_EDIT, MENU_CELL_CHAT_INPUT, MENU_CELL_CHAT_WIDGET, MENU_CELL_CHAT_WIDGET_STATUS };
|
|
@@ -11,7 +11,7 @@ import { INotebookEditorService } from '../services/notebookEditorService.servic
|
|
|
11
11
|
import { ITelemetryService } from '../../../../../platform/telemetry/common/telemetry.service.js';
|
|
12
12
|
import { isEqual } from '../../../../../base/common/resources.js';
|
|
13
13
|
const SELECT_KERNEL_ID = '_notebook.selectKernel';
|
|
14
|
-
const NOTEBOOK_ACTIONS_CATEGORY = ( localize2(
|
|
14
|
+
const NOTEBOOK_ACTIONS_CATEGORY = ( localize2(5591, 'Notebook'));
|
|
15
15
|
const CELL_TITLE_CELL_GROUP_ID = 'inline/cell';
|
|
16
16
|
const CELL_TITLE_OUTPUT_GROUP_ID = 'inline/output';
|
|
17
17
|
const NOTEBOOK_EDITOR_WIDGET_ACTION_WEIGHT = 100 ;
|
|
@@ -299,18 +299,18 @@ const cellExecutionArgs = [
|
|
|
299
299
|
];
|
|
300
300
|
MenuRegistry.appendMenuItem(MenuId.NotebookCellTitle, {
|
|
301
301
|
submenu: MenuId.NotebookCellInsert,
|
|
302
|
-
title: ( localize(
|
|
302
|
+
title: ( localize(5592, "Insert Cell")),
|
|
303
303
|
group: "2_insert" ,
|
|
304
304
|
when: ( (NOTEBOOK_EDITOR_EDITABLE.isEqualTo(true)))
|
|
305
305
|
});
|
|
306
306
|
MenuRegistry.appendMenuItem(MenuId.EditorContext, {
|
|
307
307
|
submenu: MenuId.NotebookCellTitle,
|
|
308
|
-
title: ( localize(
|
|
308
|
+
title: ( localize(5593, "Notebook Cell")),
|
|
309
309
|
group: "2_insert" ,
|
|
310
310
|
when: NOTEBOOK_EDITOR_FOCUSED
|
|
311
311
|
});
|
|
312
312
|
MenuRegistry.appendMenuItem(MenuId.NotebookCellTitle, {
|
|
313
|
-
title: ( localize(
|
|
313
|
+
title: ( localize(5594, "Share")),
|
|
314
314
|
submenu: MenuId.EditorContextShare,
|
|
315
315
|
group: "4_share"
|
|
316
316
|
});
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { Codicon } from '../../../../base/common/codicons.js';
|
|
2
2
|
import { localize } from '../../../../nls.js';
|
|
3
3
|
import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js';
|
|
4
|
-
const selectKernelIcon = registerIcon('notebook-kernel-select', Codicon.serverEnvironment, ( localize(
|
|
5
|
-
const executeIcon = registerIcon('notebook-execute', Codicon.play, ( localize(
|
|
6
|
-
const executeAboveIcon = registerIcon('notebook-execute-above', Codicon.runAbove, ( localize(
|
|
7
|
-
const executeBelowIcon = registerIcon('notebook-execute-below', Codicon.runBelow, ( localize(
|
|
8
|
-
const stopIcon = registerIcon('notebook-stop', Codicon.primitiveSquare, ( localize(
|
|
9
|
-
const deleteCellIcon = registerIcon('notebook-delete-cell', Codicon.trash, ( localize(
|
|
10
|
-
const executeAllIcon = registerIcon('notebook-execute-all', Codicon.runAll, ( localize(
|
|
11
|
-
const editIcon = registerIcon('notebook-edit', Codicon.pencil, ( localize(
|
|
12
|
-
const stopEditIcon = registerIcon('notebook-stop-edit', Codicon.check, ( localize(
|
|
13
|
-
const moveUpIcon = registerIcon('notebook-move-up', Codicon.arrowUp, ( localize(
|
|
14
|
-
const moveDownIcon = registerIcon('notebook-move-down', Codicon.arrowDown, ( localize(
|
|
15
|
-
const clearIcon = registerIcon('notebook-clear', Codicon.clearAll, ( localize(
|
|
16
|
-
const splitCellIcon = registerIcon('notebook-split-cell', Codicon.splitVertical, ( localize(
|
|
17
|
-
const successStateIcon = registerIcon('notebook-state-success', Codicon.check, ( localize(
|
|
18
|
-
const errorStateIcon = registerIcon('notebook-state-error', Codicon.error, ( localize(
|
|
19
|
-
const pendingStateIcon = registerIcon('notebook-state-pending', Codicon.clock, ( localize(
|
|
20
|
-
const executingStateIcon = registerIcon('notebook-state-executing', Codicon.sync, ( localize(
|
|
21
|
-
const collapsedIcon = registerIcon('notebook-collapsed', Codicon.chevronRight, ( localize(
|
|
22
|
-
const expandedIcon = registerIcon('notebook-expanded', Codicon.chevronDown, ( localize(
|
|
23
|
-
const openAsTextIcon = registerIcon('notebook-open-as-text', Codicon.fileCode, ( localize(
|
|
24
|
-
const revertIcon = registerIcon('notebook-revert', Codicon.discard, ( localize(
|
|
25
|
-
const toggleWhitespace = registerIcon('notebook-diff-cell-toggle-whitespace', Codicon.whitespace, ( localize(
|
|
26
|
-
const renderOutputIcon = registerIcon('notebook-render-output', Codicon.preview, ( localize(
|
|
27
|
-
const mimetypeIcon = registerIcon('notebook-mimetype', Codicon.code, ( localize(
|
|
28
|
-
const copyIcon = registerIcon('notebook-copy', Codicon.copy, ( localize(
|
|
29
|
-
const previousChangeIcon = registerIcon('notebook-diff-editor-previous-change', Codicon.arrowUp, ( localize(
|
|
30
|
-
const nextChangeIcon = registerIcon('notebook-diff-editor-next-change', Codicon.arrowDown, ( localize(
|
|
31
|
-
const variablesViewIcon = registerIcon('variables-view-icon', Codicon.debugAlt, ( localize(
|
|
4
|
+
const selectKernelIcon = registerIcon('notebook-kernel-select', Codicon.serverEnvironment, ( localize(5595, 'Configure icon to select a kernel in notebook editors.')));
|
|
5
|
+
const executeIcon = registerIcon('notebook-execute', Codicon.play, ( localize(5596, 'Icon to execute in notebook editors.')));
|
|
6
|
+
const executeAboveIcon = registerIcon('notebook-execute-above', Codicon.runAbove, ( localize(5597, 'Icon to execute above cells in notebook editors.')));
|
|
7
|
+
const executeBelowIcon = registerIcon('notebook-execute-below', Codicon.runBelow, ( localize(5598, 'Icon to execute below cells in notebook editors.')));
|
|
8
|
+
const stopIcon = registerIcon('notebook-stop', Codicon.primitiveSquare, ( localize(5599, 'Icon to stop an execution in notebook editors.')));
|
|
9
|
+
const deleteCellIcon = registerIcon('notebook-delete-cell', Codicon.trash, ( localize(5600, 'Icon to delete a cell in notebook editors.')));
|
|
10
|
+
const executeAllIcon = registerIcon('notebook-execute-all', Codicon.runAll, ( localize(5601, 'Icon to execute all cells in notebook editors.')));
|
|
11
|
+
const editIcon = registerIcon('notebook-edit', Codicon.pencil, ( localize(5602, 'Icon to edit a cell in notebook editors.')));
|
|
12
|
+
const stopEditIcon = registerIcon('notebook-stop-edit', Codicon.check, ( localize(5603, 'Icon to stop editing a cell in notebook editors.')));
|
|
13
|
+
const moveUpIcon = registerIcon('notebook-move-up', Codicon.arrowUp, ( localize(5604, 'Icon to move up a cell in notebook editors.')));
|
|
14
|
+
const moveDownIcon = registerIcon('notebook-move-down', Codicon.arrowDown, ( localize(5605, 'Icon to move down a cell in notebook editors.')));
|
|
15
|
+
const clearIcon = registerIcon('notebook-clear', Codicon.clearAll, ( localize(5606, 'Icon to clear cell outputs in notebook editors.')));
|
|
16
|
+
const splitCellIcon = registerIcon('notebook-split-cell', Codicon.splitVertical, ( localize(5607, 'Icon to split a cell in notebook editors.')));
|
|
17
|
+
const successStateIcon = registerIcon('notebook-state-success', Codicon.check, ( localize(5608, 'Icon to indicate a success state in notebook editors.')));
|
|
18
|
+
const errorStateIcon = registerIcon('notebook-state-error', Codicon.error, ( localize(5609, 'Icon to indicate an error state in notebook editors.')));
|
|
19
|
+
const pendingStateIcon = registerIcon('notebook-state-pending', Codicon.clock, ( localize(5610, 'Icon to indicate a pending state in notebook editors.')));
|
|
20
|
+
const executingStateIcon = registerIcon('notebook-state-executing', Codicon.sync, ( localize(5611, 'Icon to indicate an executing state in notebook editors.')));
|
|
21
|
+
const collapsedIcon = registerIcon('notebook-collapsed', Codicon.chevronRight, ( localize(5612, 'Icon to annotate a collapsed section in notebook editors.')));
|
|
22
|
+
const expandedIcon = registerIcon('notebook-expanded', Codicon.chevronDown, ( localize(5613, 'Icon to annotate an expanded section in notebook editors.')));
|
|
23
|
+
const openAsTextIcon = registerIcon('notebook-open-as-text', Codicon.fileCode, ( localize(5614, 'Icon to open the notebook in a text editor.')));
|
|
24
|
+
const revertIcon = registerIcon('notebook-revert', Codicon.discard, ( localize(5615, 'Icon to revert in notebook editors.')));
|
|
25
|
+
const toggleWhitespace = registerIcon('notebook-diff-cell-toggle-whitespace', Codicon.whitespace, ( localize(5616, 'Icon for the toggle whitespace action in the diff editor.')));
|
|
26
|
+
const renderOutputIcon = registerIcon('notebook-render-output', Codicon.preview, ( localize(5617, 'Icon to render output in diff editor.')));
|
|
27
|
+
const mimetypeIcon = registerIcon('notebook-mimetype', Codicon.code, ( localize(5618, 'Icon for a mime type in notebook editors.')));
|
|
28
|
+
const copyIcon = registerIcon('notebook-copy', Codicon.copy, ( localize(5619, 'Icon to copy content to clipboard')));
|
|
29
|
+
const previousChangeIcon = registerIcon('notebook-diff-editor-previous-change', Codicon.arrowUp, ( localize(5620, 'Icon for the previous change action in the diff editor.')));
|
|
30
|
+
const nextChangeIcon = registerIcon('notebook-diff-editor-next-change', Codicon.arrowDown, ( localize(5621, 'Icon for the next change action in the diff editor.')));
|
|
31
|
+
const variablesViewIcon = registerIcon('variables-view-icon', Codicon.debugAlt, ( localize(5622, 'View icon of the variables view.')));
|
|
32
32
|
export { clearIcon, collapsedIcon, copyIcon, deleteCellIcon, editIcon, errorStateIcon, executeAboveIcon, executeAllIcon, executeBelowIcon, executeIcon, executingStateIcon, expandedIcon, mimetypeIcon, moveDownIcon, moveUpIcon, nextChangeIcon, openAsTextIcon, pendingStateIcon, previousChangeIcon, renderOutputIcon, revertIcon, selectKernelIcon, splitCellIcon, stopEditIcon, stopIcon, successStateIcon, toggleWhitespace, variablesViewIcon };
|
|
@@ -183,9 +183,9 @@ let BackLayerWebView = class BackLayerWebView extends Themable {
|
|
|
183
183
|
'notebook-cell-output-line-height': `${this.options.outputLineHeight}px`,
|
|
184
184
|
'notebook-cell-output-max-height': `${this.options.outputLineHeight * this.options.outputLineLimit + 2}px`,
|
|
185
185
|
'notebook-cell-output-font-family': this.options.outputFontFamily || this.options.fontFamily,
|
|
186
|
-
'notebook-cell-markup-empty-content': ( localize(
|
|
187
|
-
'notebook-cell-renderer-not-found-error': ( localize(
|
|
188
|
-
'notebook-cell-renderer-fallbacks-exhausted': ( localize(
|
|
186
|
+
'notebook-cell-markup-empty-content': ( localize(10843, "Empty markdown cell, double-click or press enter to edit.")),
|
|
187
|
+
'notebook-cell-renderer-not-found-error': ( localize(10844, "No renderer found for '$0'")),
|
|
188
|
+
'notebook-cell-renderer-fallbacks-exhausted': ( localize(10845, "Could not render content for '$0'")),
|
|
189
189
|
};
|
|
190
190
|
}
|
|
191
191
|
generateContent(baseUrl) {
|
|
@@ -985,7 +985,7 @@ let BackLayerWebView = class BackLayerWebView extends Themable {
|
|
|
985
985
|
this.localResourceRootsCache = this._getResourceRootsCache();
|
|
986
986
|
const webview = webviewService.createWebviewElement({
|
|
987
987
|
origin: BackLayerWebView_1.getOriginStore(this.storageService).getOrigin(this.notebookViewType, undefined),
|
|
988
|
-
title: ( localize(
|
|
988
|
+
title: ( localize(10846, "Notebook webview content")),
|
|
989
989
|
options: {
|
|
990
990
|
purpose: "notebookRenderer" ,
|
|
991
991
|
enableFindWidget: false,
|
|
@@ -229,7 +229,7 @@ let CodeCellRenderer = class CodeCellRenderer extends AbstractCellRenderer {
|
|
|
229
229
|
const cellInputCollapsedContainer = append(cellContainer, $('.input-collapse-container'));
|
|
230
230
|
cellInputCollapsedContainer.style.display = 'none';
|
|
231
231
|
const executionOrderLabel = append(focusIndicatorLeft.domNode, $('div.execution-count-label'));
|
|
232
|
-
executionOrderLabel.title = ( localize(
|
|
232
|
+
executionOrderLabel.title = ( localize(10842, 'Execution Order'));
|
|
233
233
|
const editorPart = append(cellContainer, $('.cell-editor-part'));
|
|
234
234
|
const editorContainer = append(editorPart, $('.cell-editor-container'));
|
|
235
235
|
const cellCommentPartContainer = append(container, $('.cell-comment-container'));
|