@codingame/monaco-vscode-katex-common 32.0.2 → 33.0.9
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 +3 -3
- package/vscode/src/vs/platform/actions/browser/buttonbar.js +2 -2
- package/vscode/src/vs/platform/agentHost/common/claudeSessionConfigKeys.d.ts +30 -0
- package/vscode/src/vs/platform/agentHost/common/claudeSessionConfigKeys.js +8 -0
- package/vscode/src/vs/platform/agentHost/common/sessionConfigKeys.d.ts +32 -0
- package/vscode/src/vs/platform/agentHost/common/sessionConfigKeys.js +13 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatAccessibilityProvider.js +16 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContinueInAction.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatElicitationActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +56 -36
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolActions.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolPicker.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatInputPicker.contribution.d.ts +45 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatInputPicker.contribution.js +114 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatInputPicker.d.ts +87 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatInputPicker.js +502 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostGenericConfigChips.d.ts +45 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostGenericConfigChips.js +188 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/media/agentHostChatInputPicker.css +153 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionHoverWidget.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsControl.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsFilter.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsOpener.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsViewer.js +30 -30
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentWidgets.js +52 -52
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/implicitContextAttachment.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingActions.js +34 -34
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionPickerActionItem.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/chatToolRiskAssessmentService.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolSetsContribution.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatAgentHover.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatArtifactsWidget.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentMarkdownRenderer.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentMarkdownRenderer.js +23 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAgentCommandContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAnonymousRateLimitedPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatChangesSummaryPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCodeCitationContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCommandContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatConfirmationContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatConfirmationWidget.d.ts +13 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatConfirmationWidget.js +40 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatDisabledClaudeHooksContentPart.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatExtensionsContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatHookContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatInlineAnchorWidget.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownContentPart.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownContentPart.js +217 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMcpServersInteractionContentPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMultiDiffContentPart.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatPlanReviewPart.js +30 -30
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatProgressContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuestionCarouselPart.js +44 -44
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuotaExceededPart.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatReferencesContentPart.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatResourceGroupWidget.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSubagentContentPart.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSuggestNextWidget.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTextEditContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatThinkingContentPart.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatThinkingContentPart.js +36 -23
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTipContentPart.js +12 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTodoListWidget.js +17 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatToolInputOutputContentPart.d.ts +1 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatToolInputOutputContentPart.js +8 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTreeContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatWorkspaceEditContentPart.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/codeBlockPart.js +14 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatTerminalToolProgressPart.css +16 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/abstractToolConfirmationSubPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatExtensionsInstallToolSubPart.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatMcpAppModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatMcpAppSubPart.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatMissingSandboxDepsConfirmationSubPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatModifiedFilesConfirmationSubPart.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatTerminalToolConfirmationSubPart.js +24 -21
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatTerminalToolProgressPart.d.ts +6 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatTerminalToolProgressPart.js +72 -23
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolConfirmationCarouselPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolConfirmationSubPart.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolOutputPart.d.ts +2 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolOutputPart.js +7 -22
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolPartUtilities.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolPostExecuteConfirmationPart.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolProgressPart.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/media/toolRiskBadge.css +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/toolRiskBadgeWidget.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/toolRiskBadgeWidget.js +25 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatDragAndDrop.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatListRenderer.d.ts +9 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatListRenderer.js +41 -27
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatWidget.js +31 -25
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatFollowups.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPart.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPart.js +89 -27
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatModelPicker.d.ts +4 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatModelPicker.js +203 -107
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatModelSelectionLogic.d.ts +6 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatModelSelectionLogic.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatPhoneInputPresenter.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/delegationSessionPickerActionItem.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modePickerActionItem.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPickerActionItem.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/permissionPickerActionItem.js +18 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/sessionTargetPickerActionItem.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/workspacePickerActionItem.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/media/chat.css +32 -81
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatContextUsageDetails.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatContextUsageWidget.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/chatImageExtraction.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatPermissionWarnings.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/widget/chatColors.js +18 -18
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +3 -3
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +5 -5
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChat.css +2 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +30 -30
- package/vscode/src/vs/workbench/contrib/interactive/browser/replInputHintContentWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +1 -1
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalHelpers.js +6 -6
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/toolTerminalCreator.js +4 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/autoApprove/npmScriptAutoApprover.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAutoApproveAnalyzer.js +12 -12
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineFileWriteAnalyzer.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/outputMonitor.d.ts +29 -7
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/outputMonitor.js +27 -8
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.d.ts +17 -8
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.js +150 -69
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.js +9 -14
|
@@ -18,45 +18,45 @@ registerColor("agentStatusIndicator.background", {
|
|
|
18
18
|
light: ( Color.black.transparent(0.05)),
|
|
19
19
|
hcDark: null,
|
|
20
20
|
hcLight: null
|
|
21
|
-
}, ( localize(
|
|
21
|
+
}, ( localize(8241, "Background color of the agent status indicator in the titlebar.")));
|
|
22
22
|
registerColor("chat.requestBorder", {
|
|
23
23
|
dark: ( new Color(( new RGBA(255, 255, 255, 0.10)))),
|
|
24
24
|
light: ( new Color(( new RGBA(0, 0, 0, 0.10)))),
|
|
25
25
|
hcDark: contrastBorder,
|
|
26
26
|
hcLight: contrastBorder
|
|
27
|
-
}, ( localize(
|
|
27
|
+
}, ( localize(8242, "The border color of a chat request.")));
|
|
28
28
|
const chatRequestBackground = registerColor("chat.requestBackground", {
|
|
29
29
|
dark: ( transparent(editorBackground, 0.62)),
|
|
30
30
|
light: ( transparent(editorBackground, 0.62)),
|
|
31
31
|
hcDark: editorWidgetBackground,
|
|
32
32
|
hcLight: null
|
|
33
|
-
}, ( localize(
|
|
33
|
+
}, ( localize(8243, "The background color of a chat request.")));
|
|
34
34
|
const chatSlashCommandBackground = registerColor("chat.slashCommandBackground", {
|
|
35
35
|
dark: "#26477866",
|
|
36
36
|
light: "#adceff7a",
|
|
37
37
|
hcDark: Color.white,
|
|
38
38
|
hcLight: badgeBackground
|
|
39
|
-
}, ( localize(
|
|
39
|
+
}, ( localize(8244, "The background color of a chat slash command.")));
|
|
40
40
|
const chatSlashCommandForeground = registerColor("chat.slashCommandForeground", {
|
|
41
41
|
dark: "#85b6ff",
|
|
42
42
|
light: "#26569e",
|
|
43
43
|
hcDark: Color.black,
|
|
44
44
|
hcLight: badgeForeground
|
|
45
|
-
}, ( localize(
|
|
45
|
+
}, ( localize(8245, "The foreground color of a chat slash command.")));
|
|
46
46
|
registerColor("chat.avatarBackground", {
|
|
47
47
|
dark: "#1f1f1f",
|
|
48
48
|
light: "#f2f2f2",
|
|
49
49
|
hcDark: Color.black,
|
|
50
50
|
hcLight: Color.white
|
|
51
|
-
}, ( localize(
|
|
52
|
-
registerColor("chat.avatarForeground", foreground, ( localize(
|
|
51
|
+
}, ( localize(8246, "The background color of a chat avatar.")));
|
|
52
|
+
registerColor("chat.avatarForeground", foreground, ( localize(8247, "The foreground color of a chat avatar.")));
|
|
53
53
|
registerColor("chat.editedFileForeground", {
|
|
54
54
|
light: "#895503",
|
|
55
55
|
dark: "#E2C08D",
|
|
56
56
|
hcDark: "#E2C08D",
|
|
57
57
|
hcLight: "#895503"
|
|
58
58
|
}, ( localize(
|
|
59
|
-
|
|
59
|
+
8248,
|
|
60
60
|
"The foreground color of a chat edited file in the edited file list."
|
|
61
61
|
)));
|
|
62
62
|
registerColor("chat.requestCodeBorder", {
|
|
@@ -64,50 +64,50 @@ registerColor("chat.requestCodeBorder", {
|
|
|
64
64
|
light: "#0e639c40",
|
|
65
65
|
hcDark: null,
|
|
66
66
|
hcLight: null
|
|
67
|
-
}, ( localize(
|
|
67
|
+
}, ( localize(8249, "Border color of code blocks within the chat request bubble.")), true);
|
|
68
68
|
registerColor("chat.requestBubbleBackground", {
|
|
69
69
|
light: ( transparent(editorSelectionBackground, 0.3)),
|
|
70
70
|
dark: ( transparent(editorSelectionBackground, 0.3)),
|
|
71
71
|
hcDark: null,
|
|
72
72
|
hcLight: null
|
|
73
|
-
}, ( localize(
|
|
73
|
+
}, ( localize(8250, "Background color of the chat request bubble.")), true);
|
|
74
74
|
registerColor("chat.requestBubbleHoverBackground", {
|
|
75
75
|
dark: ( transparent(editorSelectionBackground, 0.6)),
|
|
76
76
|
light: ( transparent(editorSelectionBackground, 0.6)),
|
|
77
77
|
hcDark: null,
|
|
78
78
|
hcLight: null
|
|
79
|
-
}, ( localize(
|
|
79
|
+
}, ( localize(8251, "Background color of the chat request bubble on hover.")), true);
|
|
80
80
|
registerColor("chat.checkpointSeparator", {
|
|
81
81
|
dark: "#585858",
|
|
82
82
|
light: "#a9a9a9",
|
|
83
83
|
hcDark: "#a9a9a9",
|
|
84
84
|
hcLight: "#a5a5a5"
|
|
85
|
-
}, ( localize(
|
|
85
|
+
}, ( localize(8252, "Chat checkpoint separator color.")));
|
|
86
86
|
registerColor("chat.linesAddedForeground", {
|
|
87
87
|
dark: "#54B054",
|
|
88
88
|
light: "#107C10",
|
|
89
89
|
hcDark: "#54B054",
|
|
90
90
|
hcLight: "#107C10"
|
|
91
|
-
}, ( localize(
|
|
91
|
+
}, ( localize(8253, "Foreground color of lines added in chat code block pill.")), true);
|
|
92
92
|
registerColor("chat.linesRemovedForeground", {
|
|
93
93
|
dark: "#FC6A6A",
|
|
94
94
|
light: "#BC2F32",
|
|
95
95
|
hcDark: "#F48771",
|
|
96
96
|
hcLight: "#B5200D"
|
|
97
|
-
}, ( localize(
|
|
97
|
+
}, ( localize(8254, "Foreground color of lines removed in chat code block pill.")), true);
|
|
98
98
|
registerColor("chat.thinkingShimmer", {
|
|
99
99
|
dark: "#ffffff",
|
|
100
100
|
light: "#000000",
|
|
101
101
|
hcDark: "#ffffff",
|
|
102
102
|
hcLight: "#000000"
|
|
103
|
-
}, ( localize(
|
|
103
|
+
}, ( localize(8255, "Shimmer highlight for thinking/working labels.")), true);
|
|
104
104
|
registerColor("chat.inputWorkingBorderColor1", {
|
|
105
105
|
dark: buttonBackground,
|
|
106
106
|
light: buttonBackground,
|
|
107
107
|
hcDark: "#FFFFFF",
|
|
108
108
|
hcLight: "#000000"
|
|
109
109
|
}, ( localize(
|
|
110
|
-
|
|
110
|
+
8256,
|
|
111
111
|
"First color stop of the animated chat input border shown while a request is in flight."
|
|
112
112
|
)), true);
|
|
113
113
|
registerColor("chat.inputWorkingBorderColor2", {
|
|
@@ -116,7 +116,7 @@ registerColor("chat.inputWorkingBorderColor2", {
|
|
|
116
116
|
hcDark: "#A0A0A0",
|
|
117
117
|
hcLight: "#555555"
|
|
118
118
|
}, ( localize(
|
|
119
|
-
|
|
119
|
+
8257,
|
|
120
120
|
"Secondary accent color used by other animated chat input affordances. Not used by the in-flight chat input border."
|
|
121
121
|
)), true);
|
|
122
122
|
registerColor("chat.inputWorkingBorderColor3", {
|
|
@@ -125,7 +125,7 @@ registerColor("chat.inputWorkingBorderColor3", {
|
|
|
125
125
|
hcDark: "#000000",
|
|
126
126
|
hcLight: "#000000"
|
|
127
127
|
}, ( localize(
|
|
128
|
-
|
|
128
|
+
8258,
|
|
129
129
|
"Tertiary accent color used by other animated chat input affordances. Not used by the in-flight chat input border."
|
|
130
130
|
)), true);
|
|
131
131
|
|
|
@@ -266,7 +266,7 @@ let InlineChatController = class InlineChatController {
|
|
|
266
266
|
}
|
|
267
267
|
}));
|
|
268
268
|
const defaultPlaceholderObs = ( visibleSessionObs.map((session, r) => {
|
|
269
|
-
return session?.initialSelection.isEmpty() ? ( localize(
|
|
269
|
+
return session?.initialSelection.isEmpty() ? ( localize(10550, "Generate code")) : ( localize(10551, "Modify selected code"));
|
|
270
270
|
}));
|
|
271
271
|
this.#store.add(autorun(r => {
|
|
272
272
|
const session = visibleSessionObs.read(r);
|
|
@@ -379,7 +379,7 @@ let InlineChatController = class InlineChatController {
|
|
|
379
379
|
if (lastProgress) {
|
|
380
380
|
placeholder = renderAsPlaintext(lastProgress.content);
|
|
381
381
|
}
|
|
382
|
-
this.#zone.rawValue?.widget.chatWidget.setInputPlaceholder(placeholder || ( localize(
|
|
382
|
+
this.#zone.rawValue?.widget.chatWidget.setInputPlaceholder(placeholder || ( localize(10552, "Working...")));
|
|
383
383
|
}
|
|
384
384
|
}));
|
|
385
385
|
this.#store.add(autorun(r => {
|
|
@@ -455,7 +455,7 @@ let InlineChatController = class InlineChatController {
|
|
|
455
455
|
}
|
|
456
456
|
if (entries.length > 0) {
|
|
457
457
|
this.#zone.value.widget.chatWidget.attachmentModel.addContext(...entries);
|
|
458
|
-
const msg = entries.length > 1 ? ( localize(
|
|
458
|
+
const msg = entries.length > 1 ? ( localize(10553, "Fix the attached problems")) : ( localize(10554, "Fix the attached problem"));
|
|
459
459
|
this.#zone.value.widget.chatWidget.input.setValue(msg, true);
|
|
460
460
|
arg.message = msg;
|
|
461
461
|
this.#zone.value.widget.chatWidget.inputEditor.setSelection(( new Selection(1, 1, Number.MAX_SAFE_INTEGER, 1)));
|
|
@@ -257,7 +257,7 @@ let InlineChatWidget = class InlineChatWidget {
|
|
|
257
257
|
);
|
|
258
258
|
this._store.add(this.#chatService.onDidPerformUserAction(e => {
|
|
259
259
|
if (isEqual(e.sessionResource, this.chatWidget.viewModel?.model.sessionResource) && e.action.kind === "vote") {
|
|
260
|
-
this.updateStatus(( localize(
|
|
260
|
+
this.updateStatus(( localize(10561, "Thank you for your feedback!")), {
|
|
261
261
|
resetAfter: 1250
|
|
262
262
|
});
|
|
263
263
|
}
|
|
@@ -270,11 +270,11 @@ let InlineChatWidget = class InlineChatWidget {
|
|
|
270
270
|
if (this.#configurationService.getValue(AccessibilityVerbositySettingId.InlineChat)) {
|
|
271
271
|
const kbLabel = this.#keybindingService.lookupKeybinding(AccessibilityCommandId.OpenAccessibilityHelp)?.getLabel();
|
|
272
272
|
label = kbLabel ? ( localize(
|
|
273
|
-
|
|
273
|
+
10562,
|
|
274
274
|
"Inline Chat Input, Use {0} for Inline Chat Accessibility Help.",
|
|
275
275
|
kbLabel
|
|
276
276
|
)) : ( localize(
|
|
277
|
-
|
|
277
|
+
10563,
|
|
278
278
|
"Inline Chat Input, Run the Inline Chat Accessibility Help command for more information."
|
|
279
279
|
));
|
|
280
280
|
}
|
|
@@ -295,7 +295,7 @@ let InlineChatWidget = class InlineChatWidget {
|
|
|
295
295
|
this._elements.disclaimerLabel.classList.toggle("hidden", !showDisclaimer);
|
|
296
296
|
if (showDisclaimer) {
|
|
297
297
|
const renderedMarkdown = disposables.add(this.#markdownRendererService.render(( new MarkdownString(( localize(
|
|
298
|
-
|
|
298
|
+
10564,
|
|
299
299
|
"By continuing with {0} Copilot, you agree to {1}'s [Terms]({2}) and [Privacy Statement]({3})",
|
|
300
300
|
product.defaultChatAgent?.provider?.default?.name ?? "",
|
|
301
301
|
product.defaultChatAgent?.provider?.default?.name ?? "",
|
|
@@ -417,7 +417,7 @@ let InlineChatWidget = class InlineChatWidget {
|
|
|
417
417
|
}
|
|
418
418
|
};
|
|
419
419
|
InlineChatWidget = ( __decorate([( __param(2, IInstantiationService)), ( __param(3, IContextKeyService)), ( __param(4, IKeybindingService)), ( __param(5, IAccessibilityService)), ( __param(6, IConfigurationService)), ( __param(7, IAccessibleViewService)), ( __param(8, ITextModelService)), ( __param(9, IChatService)), ( __param(10, IHoverService)), ( __param(11, IChatEntitlementService)), ( __param(12, IMarkdownRendererService))], InlineChatWidget));
|
|
420
|
-
const defaultAriaLabel = ( localize(
|
|
420
|
+
const defaultAriaLabel = ( localize(10565, "Inline Chat Input"));
|
|
421
421
|
let EditorBasedInlineChatWidget = class EditorBasedInlineChatWidget extends InlineChatWidget {
|
|
422
422
|
constructor(
|
|
423
423
|
location,
|
|
@@ -421,7 +421,7 @@ let InlineChatZoneWidget = class InlineChatZoneWidget extends ZoneWidget {
|
|
|
421
421
|
this.widget.domNode.style.display = "";
|
|
422
422
|
this.widget.chatWidget.setVisible(false);
|
|
423
423
|
super.hide();
|
|
424
|
-
status(( localize(
|
|
424
|
+
status(( localize(10566, "Closed inline chat widget")));
|
|
425
425
|
scrollState.restore(this.editor);
|
|
426
426
|
}
|
|
427
427
|
};
|
|
@@ -125,9 +125,9 @@
|
|
|
125
125
|
background-color: var(--vscode-inlineChat-background);
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
|
|
129
|
-
.interactive-input-part > .chat-input-notification-container {
|
|
128
|
+
.chat-input-notification-container.has-notification {
|
|
130
129
|
margin-bottom: 12px;
|
|
130
|
+
padding-right: 12px;
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
|
|
@@ -29,7 +29,7 @@ var InlineChatConfigKeys;
|
|
|
29
29
|
id: "editor",
|
|
30
30
|
properties: {
|
|
31
31
|
[InlineChatConfigKeys.NotebookAgent]: {
|
|
32
|
-
markdownDescription: ( localize(
|
|
32
|
+
markdownDescription: ( localize(10567, "Enable agent-like behavior for inline chat widget in notebooks.")),
|
|
33
33
|
default: false,
|
|
34
34
|
type: "boolean",
|
|
35
35
|
tags: ["experimental"],
|
|
@@ -39,13 +39,13 @@ var InlineChatConfigKeys;
|
|
|
39
39
|
},
|
|
40
40
|
[InlineChatConfigKeys.Affordance]: {
|
|
41
41
|
description: ( localize(
|
|
42
|
-
|
|
42
|
+
10568,
|
|
43
43
|
"Controls whether an inline chat affordance is shown when text is selected."
|
|
44
44
|
)),
|
|
45
45
|
default: "off",
|
|
46
46
|
type: "string",
|
|
47
47
|
enum: ["off", "editor"],
|
|
48
|
-
enumDescriptions: [( localize(
|
|
48
|
+
enumDescriptions: [( localize(10569, "No affordance is shown.")), ( localize(10570, "Show an affordance in the editor at the cursor position."))],
|
|
49
49
|
experiment: {
|
|
50
50
|
mode: "auto"
|
|
51
51
|
},
|
|
@@ -56,7 +56,7 @@ var InlineChatConfigKeys;
|
|
|
56
56
|
},
|
|
57
57
|
[InlineChatConfigKeys.FixDiagnostics]: {
|
|
58
58
|
description: ( localize(
|
|
59
|
-
|
|
59
|
+
10571,
|
|
60
60
|
"Controls whether the Fix action is shown for diagnostics in the editor."
|
|
61
61
|
)),
|
|
62
62
|
default: true,
|
|
@@ -68,7 +68,7 @@ var InlineChatConfigKeys;
|
|
|
68
68
|
},
|
|
69
69
|
[InlineChatConfigKeys.AskInChat]: {
|
|
70
70
|
description: ( localize(
|
|
71
|
-
|
|
71
|
+
10572,
|
|
72
72
|
"Controls whether files in a chat editing session use Ask in Chat instead of Inline Chat."
|
|
73
73
|
)),
|
|
74
74
|
default: true,
|
|
@@ -78,23 +78,23 @@ var InlineChatConfigKeys;
|
|
|
78
78
|
});
|
|
79
79
|
const INLINE_CHAT_ID = "editor.contrib.inlineChatController";
|
|
80
80
|
const CTX_INLINE_CHAT_POSSIBLE = ( new RawContextKey("inlineChatPossible", false, ( localize(
|
|
81
|
-
|
|
81
|
+
10573,
|
|
82
82
|
"Whether a provider for inline chat exists and whether an editor for inline chat is open"
|
|
83
83
|
))));
|
|
84
|
-
const CTX_INLINE_CHAT_HAS_AGENT = ( new RawContextKey("inlineChatHasEditsAgent", false, ( localize(
|
|
85
|
-
const CTX_INLINE_CHAT_HAS_NOTEBOOK_INLINE = ( new RawContextKey("inlineChatHasNotebookInline", false, ( localize(
|
|
86
|
-
const CTX_INLINE_CHAT_HAS_NOTEBOOK_AGENT = ( new RawContextKey("inlineChatHasNotebookAgent", false, ( localize(
|
|
87
|
-
const CTX_INLINE_CHAT_VISIBLE = ( new RawContextKey("inlineChatVisible", false, ( localize(
|
|
88
|
-
const CTX_INLINE_CHAT_FOCUSED = ( new RawContextKey("inlineChatFocused", false, ( localize(
|
|
89
|
-
const CTX_INLINE_CHAT_RESPONSE_FOCUSED = ( new RawContextKey("inlineChatResponseFocused", false, ( localize(
|
|
84
|
+
const CTX_INLINE_CHAT_HAS_AGENT = ( new RawContextKey("inlineChatHasEditsAgent", false, ( localize(10574, "Whether an agent for inline chat in interactive editors exists"))));
|
|
85
|
+
const CTX_INLINE_CHAT_HAS_NOTEBOOK_INLINE = ( new RawContextKey("inlineChatHasNotebookInline", false, ( localize(10575, "Whether an agent for notebook cells exists"))));
|
|
86
|
+
const CTX_INLINE_CHAT_HAS_NOTEBOOK_AGENT = ( new RawContextKey("inlineChatHasNotebookAgent", false, ( localize(10576, "Whether an agent for notebook cells exists"))));
|
|
87
|
+
const CTX_INLINE_CHAT_VISIBLE = ( new RawContextKey("inlineChatVisible", false, ( localize(10577, "Whether the interactive editor input is visible"))));
|
|
88
|
+
const CTX_INLINE_CHAT_FOCUSED = ( new RawContextKey("inlineChatFocused", false, ( localize(10578, "Whether the interactive editor input is focused"))));
|
|
89
|
+
const CTX_INLINE_CHAT_RESPONSE_FOCUSED = ( new RawContextKey("inlineChatResponseFocused", false, ( localize(10579, "Whether the interactive widget's response is focused"))));
|
|
90
90
|
const CTX_INLINE_CHAT_OUTER_CURSOR_POSITION = ( new RawContextKey("inlineChatOuterCursorPosition", "", ( localize(
|
|
91
|
-
|
|
91
|
+
10580,
|
|
92
92
|
"Whether the cursor of the outer editor is above or below the interactive editor input"
|
|
93
93
|
))));
|
|
94
|
-
const CTX_INLINE_CHAT_REQUEST_IN_PROGRESS = ( new RawContextKey("inlineChatRequestInProgress", false, ( localize(
|
|
95
|
-
const CTX_INLINE_CHAT_FILE_BELONGS_TO_CHAT = ( new RawContextKey("inlineChatFileBelongsToChat", false, ( localize(
|
|
96
|
-
const CTX_INLINE_CHAT_TERMINATED = ( new RawContextKey("inlineChatTerminated", false, ( localize(
|
|
97
|
-
const CTX_INLINE_CHAT_AFFORDANCE_VISIBLE = ( new RawContextKey("inlineChatAffordanceVisible", false, ( localize(
|
|
94
|
+
const CTX_INLINE_CHAT_REQUEST_IN_PROGRESS = ( new RawContextKey("inlineChatRequestInProgress", false, ( localize(10581, "Whether an inline chat request is currently in progress"))));
|
|
95
|
+
const CTX_INLINE_CHAT_FILE_BELONGS_TO_CHAT = ( new RawContextKey("inlineChatFileBelongsToChat", false, ( localize(10582, "Whether the current file belongs to a chat editing session"))));
|
|
96
|
+
const CTX_INLINE_CHAT_TERMINATED = ( new RawContextKey("inlineChatTerminated", false, ( localize(10583, "Whether the current inline chat session is terminated"))));
|
|
97
|
+
const CTX_INLINE_CHAT_AFFORDANCE_VISIBLE = ( new RawContextKey("inlineChatAffordanceVisible", false, ( localize(10584, "Whether an inline chat affordance widget is visible"))));
|
|
98
98
|
const CTX_INLINE_CHAT_V2_ENABLED = ( ContextKeyExpr.or(CTX_INLINE_CHAT_HAS_AGENT, ( ContextKeyExpr.and(NOTEBOOK_IS_ACTIVE_EDITOR, CTX_INLINE_CHAT_HAS_NOTEBOOK_AGENT))));
|
|
99
99
|
const CTX_FIX_DIAGNOSTICS_ENABLED = ( ContextKeyExpr.equals("config.inlineChat.fixDiagnostics", true));
|
|
100
100
|
const CTX_ASK_IN_CHAT_ENABLED = ( ContextKeyExpr.equals("config.inlineChat.askInChat", true));
|
|
@@ -102,37 +102,37 @@ const ACTION_START = "inlineChat.start";
|
|
|
102
102
|
const ACTION_ASK_IN_CHAT = "inlineChat.askInChat";
|
|
103
103
|
const MENU_INLINE_CHAT_WIDGET_SECONDARY = MenuId.for("inlineChatWidget.secondary");
|
|
104
104
|
const MENU_INLINE_CHAT_SIDE = MenuId.for("inlineChatWidget.side");
|
|
105
|
-
const inlineChatForeground = registerColor("inlineChat.foreground", editorWidgetForeground, ( localize(
|
|
106
|
-
const inlineChatBackground = registerColor("inlineChat.background", editorWidgetBackground, ( localize(
|
|
107
|
-
registerColor("inlineChat.border", editorWidgetBorder, ( localize(
|
|
108
|
-
registerColor("inlineChat.shadow", widgetShadow, ( localize(
|
|
109
|
-
registerColor("inlineChatInput.border", editorWidgetBorder, ( localize(
|
|
110
|
-
registerColor("inlineChatInput.focusBorder", focusBorder, ( localize(
|
|
105
|
+
const inlineChatForeground = registerColor("inlineChat.foreground", editorWidgetForeground, ( localize(10585, "Foreground color of the interactive editor widget")));
|
|
106
|
+
const inlineChatBackground = registerColor("inlineChat.background", editorWidgetBackground, ( localize(10586, "Background color of the interactive editor widget")));
|
|
107
|
+
registerColor("inlineChat.border", editorWidgetBorder, ( localize(10587, "Border color of the interactive editor widget")));
|
|
108
|
+
registerColor("inlineChat.shadow", widgetShadow, ( localize(10588, "Shadow color of the interactive editor widget")));
|
|
109
|
+
registerColor("inlineChatInput.border", editorWidgetBorder, ( localize(10589, "Border color of the interactive editor input")));
|
|
110
|
+
registerColor("inlineChatInput.focusBorder", focusBorder, ( localize(10590, "Border color of the interactive editor input when focused")));
|
|
111
111
|
registerColor(
|
|
112
112
|
"inlineChatInput.placeholderForeground",
|
|
113
113
|
inputPlaceholderForeground,
|
|
114
|
-
( localize(
|
|
114
|
+
( localize(10591, "Foreground color of the interactive editor input placeholder"))
|
|
115
115
|
);
|
|
116
|
-
registerColor("inlineChatInput.background", inputBackground, ( localize(
|
|
117
|
-
registerColor("inlineChatDiff.inserted", ( transparent(diffInserted, .5)), ( localize(
|
|
116
|
+
registerColor("inlineChatInput.background", inputBackground, ( localize(10592, "Background color of the interactive editor input")));
|
|
117
|
+
registerColor("inlineChatDiff.inserted", ( transparent(diffInserted, .5)), ( localize(10593, "Background color of inserted text in the interactive editor input")));
|
|
118
118
|
registerColor("editorOverviewRuler.inlineChatInserted", {
|
|
119
119
|
dark: ( transparent(diffInserted, 0.6)),
|
|
120
120
|
light: ( transparent(diffInserted, 0.8)),
|
|
121
121
|
hcDark: ( transparent(diffInserted, 0.6)),
|
|
122
122
|
hcLight: ( transparent(diffInserted, 0.8))
|
|
123
|
-
}, ( localize(
|
|
123
|
+
}, ( localize(10594, "Overview ruler marker color for inline chat inserted content.")));
|
|
124
124
|
registerColor("editorMinimap.inlineChatInserted", {
|
|
125
125
|
dark: ( transparent(diffInserted, 0.6)),
|
|
126
126
|
light: ( transparent(diffInserted, 0.8)),
|
|
127
127
|
hcDark: ( transparent(diffInserted, 0.6)),
|
|
128
128
|
hcLight: ( transparent(diffInserted, 0.8))
|
|
129
|
-
}, ( localize(
|
|
130
|
-
registerColor("inlineChatDiff.removed", ( transparent(diffRemoved, .5)), ( localize(
|
|
129
|
+
}, ( localize(10595, "Minimap marker color for inline chat inserted content.")));
|
|
130
|
+
registerColor("inlineChatDiff.removed", ( transparent(diffRemoved, .5)), ( localize(10596, "Background color of removed text in the interactive editor input")));
|
|
131
131
|
registerColor("editorOverviewRuler.inlineChatRemoved", {
|
|
132
132
|
dark: ( transparent(diffRemoved, 0.6)),
|
|
133
133
|
light: ( transparent(diffRemoved, 0.8)),
|
|
134
134
|
hcDark: ( transparent(diffRemoved, 0.6)),
|
|
135
135
|
hcLight: ( transparent(diffRemoved, 0.8))
|
|
136
|
-
}, ( localize(
|
|
136
|
+
}, ( localize(10597, "Overview ruler marker color for inline chat removed content.")));
|
|
137
137
|
|
|
138
138
|
export { ACTION_ASK_IN_CHAT, ACTION_START, CTX_ASK_IN_CHAT_ENABLED, CTX_FIX_DIAGNOSTICS_ENABLED, CTX_INLINE_CHAT_AFFORDANCE_VISIBLE, CTX_INLINE_CHAT_FILE_BELONGS_TO_CHAT, CTX_INLINE_CHAT_FOCUSED, CTX_INLINE_CHAT_HAS_AGENT, CTX_INLINE_CHAT_HAS_NOTEBOOK_AGENT, CTX_INLINE_CHAT_HAS_NOTEBOOK_INLINE, CTX_INLINE_CHAT_OUTER_CURSOR_POSITION, CTX_INLINE_CHAT_POSSIBLE, CTX_INLINE_CHAT_REQUEST_IN_PROGRESS, CTX_INLINE_CHAT_RESPONSE_FOCUSED, CTX_INLINE_CHAT_TERMINATED, CTX_INLINE_CHAT_V2_ENABLED, CTX_INLINE_CHAT_VISIBLE, INLINE_CHAT_ID, InlineChatConfigKeys, MENU_INLINE_CHAT_SIDE, MENU_INLINE_CHAT_WIDGET_SECONDARY, inlineChatBackground, inlineChatForeground };
|
|
@@ -88,7 +88,7 @@ let ReplInputHintContentWidget = class ReplInputHintContentWidget extends Dispos
|
|
|
88
88
|
const keybinding = this.getKeybinding();
|
|
89
89
|
const keybindingHintLabel = keybinding?.getLabel();
|
|
90
90
|
if (keybinding && keybindingHintLabel) {
|
|
91
|
-
const actionPart = ( localize(
|
|
91
|
+
const actionPart = ( localize(10620, "Press {0} to execute. ", keybindingHintLabel));
|
|
92
92
|
const [before, after] = ( actionPart.split(keybindingHintLabel).map(fragment => {
|
|
93
93
|
const hintPart = $("span", undefined, fragment);
|
|
94
94
|
hintPart.style.fontStyle = "italic";
|
|
@@ -105,9 +105,9 @@ let ReplInputHintContentWidget = class ReplInputHintContentWidget extends Dispos
|
|
|
105
105
|
hintElement.appendChild(after);
|
|
106
106
|
this.domNode.append(hintElement);
|
|
107
107
|
const helpKeybinding = this.keybindingService.lookupKeybinding(AccessibilityCommandId.OpenAccessibilityHelp)?.getLabel();
|
|
108
|
-
const helpInfo = helpKeybinding ? ( localize(
|
|
108
|
+
const helpInfo = helpKeybinding ? ( localize(10621, "Use {0} for accessibility help. ", helpKeybinding)) : ( localize(10622, "Run the Open Accessibility Help command for more information. "));
|
|
109
109
|
this.ariaLabel = actionPart.concat(helpInfo, ( localize(
|
|
110
|
-
|
|
110
|
+
10623,
|
|
111
111
|
" Toggle {0} in settings to disable this hint.",
|
|
112
112
|
AccessibilityVerbositySettingId.ReplEditor
|
|
113
113
|
)));
|
|
@@ -144,7 +144,7 @@ let ExecutionStateCellStatusBarItem = class ExecutionStateCellStatusBarItem exte
|
|
|
144
144
|
return [{
|
|
145
145
|
text: `$(${successStateIcon.id})`,
|
|
146
146
|
color: themeColorFromId(cellStatusIconSuccess),
|
|
147
|
-
tooltip: ( localize(
|
|
147
|
+
tooltip: ( localize(11565, "Success")),
|
|
148
148
|
alignment: CellStatusbarAlignment.Left,
|
|
149
149
|
priority: Number.MAX_SAFE_INTEGER
|
|
150
150
|
}];
|
|
@@ -152,14 +152,14 @@ let ExecutionStateCellStatusBarItem = class ExecutionStateCellStatusBarItem exte
|
|
|
152
152
|
return [{
|
|
153
153
|
text: `$(${errorStateIcon.id})`,
|
|
154
154
|
color: themeColorFromId(cellStatusIconError),
|
|
155
|
-
tooltip: ( localize(
|
|
155
|
+
tooltip: ( localize(11566, "Failed")),
|
|
156
156
|
alignment: CellStatusbarAlignment.Left,
|
|
157
157
|
priority: Number.MAX_SAFE_INTEGER
|
|
158
158
|
}];
|
|
159
159
|
} else if (state === NotebookCellExecutionState.Pending || state === NotebookCellExecutionState.Unconfirmed) {
|
|
160
160
|
return [{
|
|
161
161
|
text: `$(${pendingStateIcon.id})`,
|
|
162
|
-
tooltip: ( localize(
|
|
162
|
+
tooltip: ( localize(11567, "Pending")),
|
|
163
163
|
alignment: CellStatusbarAlignment.Left,
|
|
164
164
|
priority: Number.MAX_SAFE_INTEGER
|
|
165
165
|
}];
|
|
@@ -167,7 +167,7 @@ let ExecutionStateCellStatusBarItem = class ExecutionStateCellStatusBarItem exte
|
|
|
167
167
|
const icon = runState?.didPause ? executingStateIcon : ThemeIcon.modify(executingStateIcon, "spin");
|
|
168
168
|
return [{
|
|
169
169
|
text: `$(${icon.id})`,
|
|
170
|
-
tooltip: ( localize(
|
|
170
|
+
tooltip: ( localize(11568, "Executing")),
|
|
171
171
|
alignment: CellStatusbarAlignment.Left,
|
|
172
172
|
priority: Number.MAX_SAFE_INTEGER
|
|
173
173
|
}];
|
|
@@ -298,10 +298,10 @@ let TimerCellStatusBarItem = class TimerCellStatusBarItem extends Disposable {
|
|
|
298
298
|
const rendererTitle = renderIssueLink ? `[${linkText}](command:workbench.action.openIssueReporter?${args})` : `**${linkText}**`;
|
|
299
299
|
renderTimes += `- ${rendererTitle} ${formatCellDuration(renderDuration[key])}\n`;
|
|
300
300
|
}
|
|
301
|
-
renderTimes += `\n*${( localize(
|
|
301
|
+
renderTimes += `\n*${( localize(11569, "Use the links above to file an issue using the issue reporter."))}*\n`;
|
|
302
302
|
tooltip = {
|
|
303
303
|
value: ( localize(
|
|
304
|
-
|
|
304
|
+
11570,
|
|
305
305
|
"**Last Execution** {0}\n\n**Execution Time** {1}\n\n**Overhead Time** {2}\n\n**Render Times**\n\n{3}",
|
|
306
306
|
lastExecution,
|
|
307
307
|
formatCellDuration(executionDuration),
|
|
@@ -312,7 +312,7 @@ let TimerCellStatusBarItem = class TimerCellStatusBarItem extends Disposable {
|
|
|
312
312
|
};
|
|
313
313
|
}
|
|
314
314
|
const executionText = this._isVerbose ? ( localize(
|
|
315
|
-
|
|
315
|
+
11571,
|
|
316
316
|
"Last Execution: {0}, Duration: {1}",
|
|
317
317
|
lastExecution,
|
|
318
318
|
formatCellDuration(duration, false)
|
|
@@ -348,9 +348,9 @@ let NotebookFindWidget = class NotebookFindWidget extends SimpleFindReplaceWidge
|
|
|
348
348
|
}
|
|
349
349
|
_getAriaLabel(label, currentMatch, searchString) {
|
|
350
350
|
if (label === NLS_NO_RESULTS) {
|
|
351
|
-
return searchString === "" ? ( localize(
|
|
351
|
+
return searchString === "" ? ( localize(11612, "{0} found", label)) : ( localize(11613, "{0} found for '{1}'", label, searchString));
|
|
352
352
|
}
|
|
353
|
-
return localize(
|
|
353
|
+
return localize(11614, "{0} found for '{1}'", label, searchString);
|
|
354
354
|
}
|
|
355
355
|
dispose() {
|
|
356
356
|
this._notebookEditor?.removeClassName(FIND_SHOW_TRANSITION);
|
|
@@ -402,7 +402,7 @@ async function joinSelectedCells(bulkEditService, notificationService, context)
|
|
|
402
402
|
const cellKind = cells[0].cellKind;
|
|
403
403
|
const isSameKind = cells.every(cell => cell.cellKind === cellKind);
|
|
404
404
|
if (!isSameKind) {
|
|
405
|
-
const message = ( localize(
|
|
405
|
+
const message = ( localize(11670, "Cannot join cells of different kinds"));
|
|
406
406
|
return notificationService.warn(message);
|
|
407
407
|
}
|
|
408
408
|
const firstCell = cells[0];
|
|
@@ -431,7 +431,7 @@ async function joinSelectedCells(bulkEditService, notificationService, context)
|
|
|
431
431
|
}
|
|
432
432
|
if (edits.length) {
|
|
433
433
|
await bulkEditService.apply(edits, {
|
|
434
|
-
quotableLabel: ( localize(
|
|
434
|
+
quotableLabel: ( localize(11671, "Join Notebook Cells"))
|
|
435
435
|
});
|
|
436
436
|
}
|
|
437
437
|
}
|
|
@@ -74,7 +74,7 @@ registerAction2(class InsertCodeCellAboveAction extends InsertCellCommand {
|
|
|
74
74
|
constructor() {
|
|
75
75
|
super({
|
|
76
76
|
id: INSERT_CODE_CELL_ABOVE_COMMAND_ID,
|
|
77
|
-
title: ( localize(
|
|
77
|
+
title: ( localize(11737, "Insert Code Cell Above")),
|
|
78
78
|
keybinding: {
|
|
79
79
|
primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.Enter,
|
|
80
80
|
when: ( ContextKeyExpr.and(NOTEBOOK_CELL_LIST_FOCUSED, ( InputFocusedContext.toNegated()))),
|
|
@@ -92,7 +92,7 @@ registerAction2(
|
|
|
92
92
|
constructor() {
|
|
93
93
|
super({
|
|
94
94
|
id: INSERT_CODE_CELL_ABOVE_AND_FOCUS_CONTAINER_COMMAND_ID,
|
|
95
|
-
title: ( localize(
|
|
95
|
+
title: ( localize(11738, "Insert Code Cell Above and Focus Container"))
|
|
96
96
|
}, CellKind.Code, "above", false);
|
|
97
97
|
}
|
|
98
98
|
}
|
|
@@ -101,7 +101,7 @@ registerAction2(class InsertCodeCellBelowAction extends InsertCellCommand {
|
|
|
101
101
|
constructor() {
|
|
102
102
|
super({
|
|
103
103
|
id: INSERT_CODE_CELL_BELOW_COMMAND_ID,
|
|
104
|
-
title: ( localize(
|
|
104
|
+
title: ( localize(11739, "Insert Code Cell Below")),
|
|
105
105
|
keybinding: {
|
|
106
106
|
primary: KeyMod.CtrlCmd | KeyCode.Enter,
|
|
107
107
|
when: ( ContextKeyExpr.and(NOTEBOOK_CELL_LIST_FOCUSED, ( InputFocusedContext.toNegated()))),
|
|
@@ -119,7 +119,7 @@ registerAction2(
|
|
|
119
119
|
constructor() {
|
|
120
120
|
super({
|
|
121
121
|
id: INSERT_CODE_CELL_BELOW_AND_FOCUS_CONTAINER_COMMAND_ID,
|
|
122
|
-
title: ( localize(
|
|
122
|
+
title: ( localize(11740, "Insert Code Cell Below and Focus Container"))
|
|
123
123
|
}, CellKind.Code, "below", false);
|
|
124
124
|
}
|
|
125
125
|
}
|
|
@@ -128,7 +128,7 @@ registerAction2(class InsertMarkdownCellAboveAction extends InsertCellCommand {
|
|
|
128
128
|
constructor() {
|
|
129
129
|
super({
|
|
130
130
|
id: INSERT_MARKDOWN_CELL_ABOVE_COMMAND_ID,
|
|
131
|
-
title: ( localize(
|
|
131
|
+
title: ( localize(11741, "Insert Markdown Cell Above")),
|
|
132
132
|
menu: {
|
|
133
133
|
id: MenuId.NotebookCellInsert,
|
|
134
134
|
order: 2
|
|
@@ -140,7 +140,7 @@ registerAction2(class InsertMarkdownCellBelowAction extends InsertCellCommand {
|
|
|
140
140
|
constructor() {
|
|
141
141
|
super({
|
|
142
142
|
id: INSERT_MARKDOWN_CELL_BELOW_COMMAND_ID,
|
|
143
|
-
title: ( localize(
|
|
143
|
+
title: ( localize(11742, "Insert Markdown Cell Below")),
|
|
144
144
|
menu: {
|
|
145
145
|
id: MenuId.NotebookCellInsert,
|
|
146
146
|
order: 3
|
|
@@ -152,7 +152,7 @@ registerAction2(class InsertCodeCellAtTopAction extends NotebookAction {
|
|
|
152
152
|
constructor() {
|
|
153
153
|
super({
|
|
154
154
|
id: INSERT_CODE_CELL_AT_TOP_COMMAND_ID,
|
|
155
|
-
title: ( localize(
|
|
155
|
+
title: ( localize(11743, "Add Code Cell At Top")),
|
|
156
156
|
f1: false
|
|
157
157
|
});
|
|
158
158
|
}
|
|
@@ -184,7 +184,7 @@ registerAction2(class InsertMarkdownCellAtTopAction extends NotebookAction {
|
|
|
184
184
|
constructor() {
|
|
185
185
|
super({
|
|
186
186
|
id: INSERT_MARKDOWN_CELL_AT_TOP_COMMAND_ID,
|
|
187
|
-
title: ( localize(
|
|
187
|
+
title: ( localize(11744, "Add Markdown Cell At Top")),
|
|
188
188
|
f1: false
|
|
189
189
|
});
|
|
190
190
|
}
|
|
@@ -215,8 +215,8 @@ registerAction2(class InsertMarkdownCellAtTopAction extends NotebookAction {
|
|
|
215
215
|
MenuRegistry.appendMenuItem(MenuId.NotebookCellBetween, {
|
|
216
216
|
command: {
|
|
217
217
|
id: INSERT_CODE_CELL_BELOW_COMMAND_ID,
|
|
218
|
-
title: "$(add) " + ( localize(
|
|
219
|
-
tooltip: ( localize(
|
|
218
|
+
title: "$(add) " + ( localize(11745, "Code")),
|
|
219
|
+
tooltip: ( localize(11746, "Add Code Cell"))
|
|
220
220
|
},
|
|
221
221
|
order: 0,
|
|
222
222
|
group: "inline",
|
|
@@ -225,9 +225,9 @@ MenuRegistry.appendMenuItem(MenuId.NotebookCellBetween, {
|
|
|
225
225
|
MenuRegistry.appendMenuItem(MenuId.NotebookCellBetween, {
|
|
226
226
|
command: {
|
|
227
227
|
id: INSERT_CODE_CELL_BELOW_COMMAND_ID,
|
|
228
|
-
title: ( localize(
|
|
228
|
+
title: ( localize(11747, "Add Code")),
|
|
229
229
|
icon: Codicon.add,
|
|
230
|
-
tooltip: ( localize(
|
|
230
|
+
tooltip: ( localize(11746, "Add Code Cell"))
|
|
231
231
|
},
|
|
232
232
|
order: 0,
|
|
233
233
|
group: "inline",
|
|
@@ -237,8 +237,8 @@ MenuRegistry.appendMenuItem(MenuId.NotebookToolbar, {
|
|
|
237
237
|
command: {
|
|
238
238
|
id: INSERT_CODE_CELL_BELOW_COMMAND_ID,
|
|
239
239
|
icon: Codicon.add,
|
|
240
|
-
title: ( localize(
|
|
241
|
-
tooltip: ( localize(
|
|
240
|
+
title: ( localize(11748, "Code")),
|
|
241
|
+
tooltip: ( localize(11746, "Add Code Cell"))
|
|
242
242
|
},
|
|
243
243
|
order: -5,
|
|
244
244
|
group: "navigation/add",
|
|
@@ -247,8 +247,8 @@ MenuRegistry.appendMenuItem(MenuId.NotebookToolbar, {
|
|
|
247
247
|
MenuRegistry.appendMenuItem(MenuId.NotebookCellListTop, {
|
|
248
248
|
command: {
|
|
249
249
|
id: INSERT_CODE_CELL_AT_TOP_COMMAND_ID,
|
|
250
|
-
title: "$(add) " + ( localize(
|
|
251
|
-
tooltip: ( localize(
|
|
250
|
+
title: "$(add) " + ( localize(11745, "Code")),
|
|
251
|
+
tooltip: ( localize(11746, "Add Code Cell"))
|
|
252
252
|
},
|
|
253
253
|
order: 0,
|
|
254
254
|
group: "inline",
|
|
@@ -257,9 +257,9 @@ MenuRegistry.appendMenuItem(MenuId.NotebookCellListTop, {
|
|
|
257
257
|
MenuRegistry.appendMenuItem(MenuId.NotebookCellListTop, {
|
|
258
258
|
command: {
|
|
259
259
|
id: INSERT_CODE_CELL_AT_TOP_COMMAND_ID,
|
|
260
|
-
title: ( localize(
|
|
260
|
+
title: ( localize(11749, "Add Code")),
|
|
261
261
|
icon: Codicon.add,
|
|
262
|
-
tooltip: ( localize(
|
|
262
|
+
tooltip: ( localize(11746, "Add Code Cell"))
|
|
263
263
|
},
|
|
264
264
|
order: 0,
|
|
265
265
|
group: "inline",
|
|
@@ -268,8 +268,8 @@ MenuRegistry.appendMenuItem(MenuId.NotebookCellListTop, {
|
|
|
268
268
|
MenuRegistry.appendMenuItem(MenuId.NotebookCellBetween, {
|
|
269
269
|
command: {
|
|
270
270
|
id: INSERT_MARKDOWN_CELL_BELOW_COMMAND_ID,
|
|
271
|
-
title: "$(add) " + ( localize(
|
|
272
|
-
tooltip: ( localize(
|
|
271
|
+
title: "$(add) " + ( localize(11750, "Markdown")),
|
|
272
|
+
tooltip: ( localize(11751, "Add Markdown Cell"))
|
|
273
273
|
},
|
|
274
274
|
order: 1,
|
|
275
275
|
group: "inline",
|
|
@@ -279,8 +279,8 @@ MenuRegistry.appendMenuItem(MenuId.NotebookToolbar, {
|
|
|
279
279
|
command: {
|
|
280
280
|
id: INSERT_MARKDOWN_CELL_BELOW_COMMAND_ID,
|
|
281
281
|
icon: Codicon.add,
|
|
282
|
-
title: ( localize(
|
|
283
|
-
tooltip: ( localize(
|
|
282
|
+
title: ( localize(11752, "Markdown")),
|
|
283
|
+
tooltip: ( localize(11751, "Add Markdown Cell"))
|
|
284
284
|
},
|
|
285
285
|
order: -5,
|
|
286
286
|
group: "navigation/add",
|
|
@@ -289,8 +289,8 @@ MenuRegistry.appendMenuItem(MenuId.NotebookToolbar, {
|
|
|
289
289
|
MenuRegistry.appendMenuItem(MenuId.NotebookCellListTop, {
|
|
290
290
|
command: {
|
|
291
291
|
id: INSERT_MARKDOWN_CELL_AT_TOP_COMMAND_ID,
|
|
292
|
-
title: "$(add) " + ( localize(
|
|
293
|
-
tooltip: ( localize(
|
|
292
|
+
title: "$(add) " + ( localize(11750, "Markdown")),
|
|
293
|
+
tooltip: ( localize(11751, "Add Markdown Cell"))
|
|
294
294
|
},
|
|
295
295
|
order: 1,
|
|
296
296
|
group: "inline",
|