@codingame/monaco-vscode-chat-service-override 23.0.4 → 23.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +41 -43
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityActions.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +48 -48
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContextActions.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCopyActions.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatDeveloperActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFileTreeActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatImportExport.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatLanguageModelActions.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatMoveActions.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatNewActions.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPromptNavigationActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatSessionActions.js +26 -26
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolPicker.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.js +18 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionViewModel.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsView.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsViewer.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.contribution.js +101 -101
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityService.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAttachmentResolveService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCodeEditorIntegration.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.js +18 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedFileEntry.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedNotebookEntry.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingServiceImpl.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookEditorIntegration.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/simpleBrowserEditorOverlay.js +19 -19
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagement.contribution.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditor.js +18 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsWidget.js +28 -28
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatUsageWidget.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatParticipant.contribution.js +32 -32
- package/vscode/src/vs/workbench/contrib/chat/browser/chatQuick.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatResponseAccessibleView.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/localChatSessionsProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/view/chatSessionsView.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/view/sessionsTreeRenderer.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/view/sessionsViewPane.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions.contribution.js +33 -33
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup.js +52 -52
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus.js +65 -65
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputEditorHover.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/languageModelToolsConfirmationService.js +32 -32
- package/vscode/src/vs/workbench/contrib/chat/browser/languageModelToolsService.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/chatModeActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptCodingAgentActionOverlay.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptToolsCodeLensProvider.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptUrlHandler.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/runPromptAction.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/saveAsPromptFileActions.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolSetsContribution.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcomeHandler.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/common/chatProgressTypes/chatToolInvocation.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatServiceImpl.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionStore.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/chatPromptFilesContribution.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptCodeActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHeaderAutocompletion.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHovers.js +26 -26
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.js +53 -53
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +27 -27
- package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.contribution.js +4 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +21 -21
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatCurrentLine.js +8 -8
- package/vscode/src/vs/workbench/contrib/remoteCodingAgents/browser/remoteCodingAgents.contribution.js +7 -7
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibilityHelp.js +16 -16
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatActions.js +18 -18
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalHelpers.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/terminal.chatAgentTools.contribution.js +5 -5
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAutoApproveAnalyzer.js +10 -10
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineFileWriteAnalyzer.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalLastCommandTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalOutputTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalSelectionTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/outputMonitor.js +9 -9
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalConfirmationTool.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/createAndRunTaskTool.js +15 -15
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/getTaskOutputTool.js +7 -7
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/runTaskTool.js +14 -14
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/taskHelpers.js +1 -1
package/index.js
CHANGED
|
@@ -41,7 +41,7 @@ import { ChatTransferService } from './vscode/src/vs/workbench/contrib/chat/comm
|
|
|
41
41
|
import { IChatStatusItemService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatStatusItemService.service';
|
|
42
42
|
import { ChatStatusItemService } from './vscode/src/vs/workbench/contrib/chat/browser/chatStatusItemService.js';
|
|
43
43
|
import { IChatContextPickService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatContextPickService.service';
|
|
44
|
-
import { ChatContextPickService } from '@codingame/monaco-vscode-
|
|
44
|
+
import { ChatContextPickService } from '@codingame/monaco-vscode-2c64d2c2-fdf7-5675-a2fe-f6f65fbdedbf-common/vscode/vs/workbench/contrib/chat/browser/chatContextPickService';
|
|
45
45
|
import { IChatAttachmentResolveService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatAttachmentResolveService.service';
|
|
46
46
|
import { ChatAttachmentResolveService } from './vscode/src/vs/workbench/contrib/chat/browser/chatAttachmentResolveService.js';
|
|
47
47
|
import { IRemoteCodingAgentsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/remoteCodingAgents/common/remoteCodingAgentsService.service';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-chat-service-override",
|
|
3
|
-
"version": "23.
|
|
3
|
+
"version": "23.1.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - chat service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,48 +15,46 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-02fe61a6-05e4-5021-8c27-16e910b9182c-common": "23.
|
|
19
|
-
"@codingame/monaco-vscode-05a2a821-e4de-5941-b7f9-bbf01c09f229-common": "23.
|
|
20
|
-
"@codingame/monaco-vscode-07eaa805-9dea-5ec6-a422-a4f04872424d-common": "23.
|
|
21
|
-
"@codingame/monaco-vscode-
|
|
22
|
-
"@codingame/monaco-vscode-
|
|
23
|
-
"@codingame/monaco-vscode-
|
|
24
|
-
"@codingame/monaco-vscode-
|
|
25
|
-
"@codingame/monaco-vscode-
|
|
26
|
-
"@codingame/monaco-vscode-
|
|
27
|
-
"@codingame/monaco-vscode-
|
|
28
|
-
"@codingame/monaco-vscode-
|
|
29
|
-
"@codingame/monaco-vscode-
|
|
30
|
-
"@codingame/monaco-vscode-
|
|
31
|
-
"@codingame/monaco-vscode-
|
|
32
|
-
"@codingame/monaco-vscode-
|
|
33
|
-
"@codingame/monaco-vscode-
|
|
34
|
-
"@codingame/monaco-vscode-
|
|
35
|
-
"@codingame/monaco-vscode-
|
|
36
|
-
"@codingame/monaco-vscode-
|
|
37
|
-
"@codingame/monaco-vscode-85f7fb0f-70f5-5a5e-831b-15c743a8bd11-common": "23.
|
|
38
|
-
"@codingame/monaco-vscode-88141f48-1af9-57ef-a278-f4b2ff6128fa-common": "23.
|
|
39
|
-
"@codingame/monaco-vscode-8c844347-a703-5de1-9eeb-5e0c7f503a58-common": "23.
|
|
40
|
-
"@codingame/monaco-vscode-8d4ef243-d8c1-540d-9f11-38df46f54c9f-common": "23.
|
|
41
|
-
"@codingame/monaco-vscode-9d2c06d1-1f89-51a5-9964-aa01fe50c198-common": "23.
|
|
42
|
-
"@codingame/monaco-vscode-9ed6fe06-a052-57c2-a234-5d9b94d2e7e0-common": "23.
|
|
43
|
-
"@codingame/monaco-vscode-
|
|
44
|
-
"@codingame/monaco-vscode-
|
|
45
|
-
"@codingame/monaco-vscode-
|
|
46
|
-
"@codingame/monaco-vscode-
|
|
47
|
-
"@codingame/monaco-vscode-
|
|
48
|
-
"@codingame/monaco-vscode-
|
|
49
|
-
"@codingame/monaco-vscode-
|
|
50
|
-
"@codingame/monaco-vscode-
|
|
51
|
-
"@codingame/monaco-vscode-
|
|
52
|
-
"@codingame/monaco-vscode-
|
|
53
|
-
"@codingame/monaco-vscode-
|
|
54
|
-
"@codingame/monaco-vscode-
|
|
55
|
-
"@codingame/monaco-vscode-
|
|
56
|
-
"@codingame/monaco-vscode-
|
|
57
|
-
"@codingame/monaco-vscode-
|
|
58
|
-
"@codingame/monaco-vscode-f1bbc6d3-6129-583c-a2ba-c80b832993d2-common": "23.0.4",
|
|
59
|
-
"@codingame/monaco-vscode-f24e325c-2ce0-5bba-8236-bfc4f53180ab-common": "23.0.4"
|
|
18
|
+
"@codingame/monaco-vscode-02fe61a6-05e4-5021-8c27-16e910b9182c-common": "23.1.1",
|
|
19
|
+
"@codingame/monaco-vscode-05a2a821-e4de-5941-b7f9-bbf01c09f229-common": "23.1.1",
|
|
20
|
+
"@codingame/monaco-vscode-07eaa805-9dea-5ec6-a422-a4f04872424d-common": "23.1.1",
|
|
21
|
+
"@codingame/monaco-vscode-08fd81c0-7fd8-5f7c-9776-f918dd532714-common": "23.1.1",
|
|
22
|
+
"@codingame/monaco-vscode-09f99a3e-bf90-51d4-ab34-acea412359d2-common": "23.1.1",
|
|
23
|
+
"@codingame/monaco-vscode-0b011daf-0f15-57de-bd5b-8953592c556c-common": "23.1.1",
|
|
24
|
+
"@codingame/monaco-vscode-1021b67c-93e5-5c78-a270-cbdb2574d980-common": "23.1.1",
|
|
25
|
+
"@codingame/monaco-vscode-10af0e5d-64cb-56de-b584-29ab4a355d15-common": "23.1.1",
|
|
26
|
+
"@codingame/monaco-vscode-2339d6ac-d6bb-53cd-95ee-81911735d1c7-common": "23.1.1",
|
|
27
|
+
"@codingame/monaco-vscode-2808e692-5fb9-54bf-bc21-1d3bff81e651-common": "23.1.1",
|
|
28
|
+
"@codingame/monaco-vscode-2c64d2c2-fdf7-5675-a2fe-f6f65fbdedbf-common": "23.1.1",
|
|
29
|
+
"@codingame/monaco-vscode-3692fc2f-920d-56ed-accd-d988be683cc3-common": "23.1.1",
|
|
30
|
+
"@codingame/monaco-vscode-3b5a5cd1-d4ff-500a-b609-57e0cd4afa0a-common": "23.1.1",
|
|
31
|
+
"@codingame/monaco-vscode-45e04ac3-b807-5ae5-8818-7b9c40b6d31f-common": "23.1.1",
|
|
32
|
+
"@codingame/monaco-vscode-501b06ab-3f58-516b-8a1a-c29d375d3da4-common": "23.1.1",
|
|
33
|
+
"@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common": "23.1.1",
|
|
34
|
+
"@codingame/monaco-vscode-64322fa2-7385-5f46-935b-8f243d98004b-common": "23.1.1",
|
|
35
|
+
"@codingame/monaco-vscode-6f931a91-88ea-5232-897f-a17ec3929ba5-common": "23.1.1",
|
|
36
|
+
"@codingame/monaco-vscode-7aa7b0aa-41af-57b3-860a-86d2f987a6c8-common": "23.1.1",
|
|
37
|
+
"@codingame/monaco-vscode-85f7fb0f-70f5-5a5e-831b-15c743a8bd11-common": "23.1.1",
|
|
38
|
+
"@codingame/monaco-vscode-88141f48-1af9-57ef-a278-f4b2ff6128fa-common": "23.1.1",
|
|
39
|
+
"@codingame/monaco-vscode-8c844347-a703-5de1-9eeb-5e0c7f503a58-common": "23.1.1",
|
|
40
|
+
"@codingame/monaco-vscode-8d4ef243-d8c1-540d-9f11-38df46f54c9f-common": "23.1.1",
|
|
41
|
+
"@codingame/monaco-vscode-9d2c06d1-1f89-51a5-9964-aa01fe50c198-common": "23.1.1",
|
|
42
|
+
"@codingame/monaco-vscode-9ed6fe06-a052-57c2-a234-5d9b94d2e7e0-common": "23.1.1",
|
|
43
|
+
"@codingame/monaco-vscode-a793b3ee-7ba9-5176-a019-30ec806fdd95-common": "23.1.1",
|
|
44
|
+
"@codingame/monaco-vscode-a8d3bd74-e63e-5327-96e8-4f931661e329-common": "23.1.1",
|
|
45
|
+
"@codingame/monaco-vscode-aac7027b-326c-513a-95a9-e4eedd151b38-common": "23.1.1",
|
|
46
|
+
"@codingame/monaco-vscode-af7aa6ff-f023-5da1-803d-a085ef0e5dc3-common": "23.1.1",
|
|
47
|
+
"@codingame/monaco-vscode-api": "23.1.1",
|
|
48
|
+
"@codingame/monaco-vscode-b6d52a6d-8c8e-51f5-bcd2-1722295e31d9-common": "23.1.1",
|
|
49
|
+
"@codingame/monaco-vscode-bc6f260d-ec63-5c95-9446-1ca7d0872719-common": "23.1.1",
|
|
50
|
+
"@codingame/monaco-vscode-bc8c28cd-7a80-54a9-af1a-e6b1e7a7f34a-common": "23.1.1",
|
|
51
|
+
"@codingame/monaco-vscode-dc3fa21d-a483-5b99-a7ab-173235644a34-common": "23.1.1",
|
|
52
|
+
"@codingame/monaco-vscode-de235d7f-e72a-5adb-9256-acf6c64eb6f2-common": "23.1.1",
|
|
53
|
+
"@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common": "23.1.1",
|
|
54
|
+
"@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common": "23.1.1",
|
|
55
|
+
"@codingame/monaco-vscode-eda30bac-0984-5b42-9362-c68996b85232-common": "23.1.1",
|
|
56
|
+
"@codingame/monaco-vscode-f1bbc6d3-6129-583c-a2ba-c80b832993d2-common": "23.1.1",
|
|
57
|
+
"@codingame/monaco-vscode-f24e325c-2ce0-5bba-8236-bfc4f53180ab-common": "23.1.1"
|
|
60
58
|
},
|
|
61
59
|
"main": "index.js",
|
|
62
60
|
"module": "index.js",
|
|
@@ -14,8 +14,8 @@ class AnnounceChatConfirmationAction extends Action2 {
|
|
|
14
14
|
constructor() {
|
|
15
15
|
super({
|
|
16
16
|
id: ACTION_ID_FOCUS_CHAT_CONFIRMATION,
|
|
17
|
-
title: { value: ( localize(
|
|
18
|
-
category: { value: ( localize(
|
|
17
|
+
title: { value: ( localize(4526, 'Focus Chat Confirmation')), original: 'Focus Chat Confirmation' },
|
|
18
|
+
category: { value: ( localize(4527, 'Chat')), original: 'Chat' },
|
|
19
19
|
precondition: ChatContextKeys.enabled,
|
|
20
20
|
f1: true,
|
|
21
21
|
keybinding: {
|
|
@@ -29,12 +29,12 @@ class AnnounceChatConfirmationAction extends Action2 {
|
|
|
29
29
|
const chatWidgetService = accessor.get(IChatWidgetService);
|
|
30
30
|
const lastFocusedWidget = chatWidgetService.lastFocusedWidget;
|
|
31
31
|
if (!lastFocusedWidget) {
|
|
32
|
-
alert(( localize(
|
|
32
|
+
alert(( localize(4528, 'No active chat session found.')));
|
|
33
33
|
return;
|
|
34
34
|
}
|
|
35
35
|
const viewModel = lastFocusedWidget.viewModel;
|
|
36
36
|
if (!viewModel) {
|
|
37
|
-
alert(( localize(
|
|
37
|
+
alert(( localize(4529, 'Chat interface not ready.')));
|
|
38
38
|
return;
|
|
39
39
|
}
|
|
40
40
|
let firstConfirmationElement;
|
|
@@ -49,7 +49,7 @@ class AnnounceChatConfirmationAction extends Action2 {
|
|
|
49
49
|
firstConfirmationElement.focus();
|
|
50
50
|
}
|
|
51
51
|
else {
|
|
52
|
-
alert(( localize(
|
|
52
|
+
alert(( localize(4530, 'No chat confirmation required')));
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
}
|
|
@@ -68,84 +68,84 @@ function getAccessibilityHelpText(type, keybindingService) {
|
|
|
68
68
|
if (type === 'panelChat' || type === 'quickChat' || type === 'agentView') {
|
|
69
69
|
if (type === 'quickChat') {
|
|
70
70
|
content.push(( localize(
|
|
71
|
-
|
|
71
|
+
4531,
|
|
72
72
|
'The quick chat view is comprised of an input box and a request/response list. The input box is used to make requests and the list is used to display responses.'
|
|
73
73
|
)));
|
|
74
74
|
content.push(( localize(
|
|
75
|
-
|
|
75
|
+
4532,
|
|
76
76
|
'The quick chat view is a transient interface for making and viewing requests, while the panel chat view is a persistent interface that also supports navigating suggested follow-up questions.'
|
|
77
77
|
)));
|
|
78
78
|
}
|
|
79
79
|
if (type === 'panelChat') {
|
|
80
80
|
content.push(( localize(
|
|
81
|
-
|
|
81
|
+
4533,
|
|
82
82
|
'The panel chat view is a persistent interface that also supports navigating suggested follow-up questions, while the quick chat view is a transient interface for making and viewing requests.'
|
|
83
83
|
)));
|
|
84
84
|
}
|
|
85
85
|
content.push(( localize(
|
|
86
|
-
|
|
86
|
+
4534,
|
|
87
87
|
'In the input box, use up and down arrows to navigate your request history. Edit input and use enter or the submit button to run a new request.'
|
|
88
88
|
)));
|
|
89
89
|
content.push(( localize(
|
|
90
|
-
|
|
90
|
+
4535,
|
|
91
91
|
'To remove attached contexts, focus an attachment and press Delete or Backspace.'
|
|
92
92
|
)));
|
|
93
93
|
content.push(( localize(
|
|
94
|
-
|
|
94
|
+
4536,
|
|
95
95
|
'In the input box, inspect the last response in the accessible view{0}.',
|
|
96
96
|
'<keybinding:editor.action.accessibleView>'
|
|
97
97
|
)));
|
|
98
98
|
content.push(( localize(
|
|
99
|
-
|
|
99
|
+
4537,
|
|
100
100
|
'To focus the chat request and response list, invoke the Focus Chat command{0}. This will move focus to the most recent response, which you can then navigate using the up and down arrow keys.',
|
|
101
101
|
getChatFocusKeybindingLabel(keybindingService, type, 'last')
|
|
102
102
|
)));
|
|
103
103
|
content.push(( localize(
|
|
104
|
-
|
|
104
|
+
4538,
|
|
105
105
|
'To return to the last chat response you focused, invoke the Focus Last Focused Chat Response command{0}.',
|
|
106
106
|
getChatFocusKeybindingLabel(keybindingService, type, 'lastFocused')
|
|
107
107
|
)));
|
|
108
108
|
content.push(( localize(
|
|
109
|
-
|
|
109
|
+
4539,
|
|
110
110
|
'To focus the input box for chat requests, invoke the Focus Chat Input command{0}.',
|
|
111
111
|
getChatFocusKeybindingLabel(keybindingService, type, 'input')
|
|
112
112
|
)));
|
|
113
113
|
content.push(( localize(
|
|
114
|
-
|
|
114
|
+
4540,
|
|
115
115
|
'As the chat request is being processed, you will hear verbose progress updates if the request takes more than 4 seconds. This includes information like searched text for <search term> with X results, created file <file_name>, or read file <file path>. This can be disabled with accessibility.verboseChatProgressUpdates.'
|
|
116
116
|
)));
|
|
117
117
|
content.push(( localize(
|
|
118
|
-
|
|
118
|
+
4541,
|
|
119
119
|
'Chat responses will be announced as they come in. A response will indicate the number of code blocks, if any, and then the rest of the response.'
|
|
120
120
|
)));
|
|
121
121
|
content.push(( localize(
|
|
122
|
-
|
|
122
|
+
4542,
|
|
123
123
|
'To focus the next code block within a response, invoke the Chat: Next Code Block command{0}.',
|
|
124
124
|
'<keybinding:workbench.action.chat.nextCodeBlock>'
|
|
125
125
|
)));
|
|
126
126
|
content.push(( localize(
|
|
127
|
-
|
|
127
|
+
4543,
|
|
128
128
|
'To navigate to the next user prompt in the conversation, invoke the Next User Prompt command{0}.',
|
|
129
129
|
'<keybinding:workbench.action.chat.nextUserPrompt>'
|
|
130
130
|
)));
|
|
131
131
|
content.push(( localize(
|
|
132
|
-
|
|
132
|
+
4544,
|
|
133
133
|
'To navigate to the previous user prompt in the conversation, invoke the Previous User Prompt command{0}.',
|
|
134
134
|
'<keybinding:workbench.action.chat.previousUserPrompt>'
|
|
135
135
|
)));
|
|
136
136
|
content.push(( localize(
|
|
137
|
-
|
|
137
|
+
4545,
|
|
138
138
|
'To focus pending chat confirmation dialogs, invoke the Focus Chat Confirmation Status command{0}.',
|
|
139
139
|
'<keybinding:workbench.action.chat.focusConfirmation>'
|
|
140
140
|
)));
|
|
141
141
|
content.push(( localize(
|
|
142
|
-
|
|
142
|
+
4546,
|
|
143
143
|
'If there are any hidden chat terminals, you can view them by invoking the View Hidden Chat Terminals command{0}.',
|
|
144
144
|
'<keybinding:workbench.action.terminal.chat.viewHiddenChatTerminals>'
|
|
145
145
|
)));
|
|
146
146
|
if (type === 'panelChat') {
|
|
147
147
|
content.push(( localize(
|
|
148
|
-
|
|
148
|
+
4547,
|
|
149
149
|
'To create a new chat session, invoke the New Chat command{0}.',
|
|
150
150
|
'<keybinding:workbench.action.chat.new>'
|
|
151
151
|
)));
|
|
@@ -154,134 +154,134 @@ function getAccessibilityHelpText(type, keybindingService) {
|
|
|
154
154
|
if (type === 'editsView' || type === 'agentView') {
|
|
155
155
|
if (type === 'agentView') {
|
|
156
156
|
content.push(( localize(
|
|
157
|
-
|
|
157
|
+
4548,
|
|
158
158
|
'The chat agent view is used to apply edits across files in your workspace, enable running commands in the terminal, and more.'
|
|
159
159
|
)));
|
|
160
160
|
}
|
|
161
161
|
else {
|
|
162
|
-
content.push(( localize(
|
|
162
|
+
content.push(( localize(4549, 'The chat editing view is used to apply edits across files.')));
|
|
163
163
|
}
|
|
164
164
|
content.push(( localize(
|
|
165
|
-
|
|
165
|
+
4550,
|
|
166
166
|
'It is comprised of an input box and a file working set (Shift+Tab).'
|
|
167
167
|
)));
|
|
168
168
|
content.push(( localize(
|
|
169
|
-
|
|
169
|
+
4551,
|
|
170
170
|
'When a request is made, a progress indicator will play while the edits are being applied.'
|
|
171
171
|
)));
|
|
172
172
|
content.push(( localize(
|
|
173
|
-
|
|
173
|
+
4552,
|
|
174
174
|
'Once the edits are applied, a sound will play to indicate the document has been opened and is ready for review. The sound can be disabled with accessibility.signals.chatEditModifiedFile.'
|
|
175
175
|
)));
|
|
176
176
|
content.push(( localize(
|
|
177
|
-
|
|
177
|
+
4553,
|
|
178
178
|
'Navigate between edits in the editor with navigate previous{0} and next{1}',
|
|
179
179
|
'<keybinding:chatEditor.action.navigatePrevious>',
|
|
180
180
|
'<keybinding:chatEditor.action.navigateNext>'
|
|
181
181
|
)));
|
|
182
182
|
content.push(( localize(
|
|
183
|
-
|
|
183
|
+
4554,
|
|
184
184
|
'In the editor, Keep{0}, Undo{1}, or Toggle the Diff{2} for the current Change.',
|
|
185
185
|
'<keybinding:chatEditor.action.acceptHunk>',
|
|
186
186
|
'<keybinding:chatEditor.action.undoHunk>',
|
|
187
187
|
'<keybinding:chatEditor.action.toggleDiff>'
|
|
188
188
|
)));
|
|
189
189
|
content.push(( localize(
|
|
190
|
-
|
|
190
|
+
4555,
|
|
191
191
|
'Sounds will play when a change is accepted or undone. The sounds can be disabled with accessibility.signals.editsKept and accessibility.signals.editsUndone.'
|
|
192
192
|
)));
|
|
193
193
|
if (type === 'agentView') {
|
|
194
194
|
content.push(( localize(
|
|
195
|
-
|
|
195
|
+
4556,
|
|
196
196
|
'An alert will indicate when user action is required. For example, if the agent wants to run something in the terminal, you will hear Action Required: Run Command in Terminal.'
|
|
197
197
|
)));
|
|
198
198
|
content.push(( localize(
|
|
199
|
-
|
|
199
|
+
4557,
|
|
200
200
|
'To take the action, use the accept tool command{0}.',
|
|
201
201
|
'<keybinding:workbench.action.chat.acceptTool>'
|
|
202
202
|
)));
|
|
203
203
|
content.push(( localize(
|
|
204
|
-
|
|
204
|
+
4558,
|
|
205
205
|
'To automatically approve tool actions without manual confirmation, set {0} to {1} in your settings.',
|
|
206
206
|
ChatConfiguration.GlobalAutoApprove,
|
|
207
207
|
'true'
|
|
208
208
|
)));
|
|
209
209
|
content.push(( localize(
|
|
210
|
-
|
|
210
|
+
4559,
|
|
211
211
|
'To accept a tool action, use the Accept Tool Confirmation command{0}.',
|
|
212
212
|
'<keybinding:workbench.action.chat.acceptTool>'
|
|
213
213
|
)));
|
|
214
214
|
content.push(( localize(
|
|
215
|
-
|
|
215
|
+
4560,
|
|
216
216
|
'By default, when edits are made to files, they will be opened. To change this behavior, set accessibility.openChatEditedFiles to false in your settings.'
|
|
217
217
|
)));
|
|
218
218
|
}
|
|
219
|
-
content.push(( localize(
|
|
220
|
-
content.push(( localize(
|
|
219
|
+
content.push(( localize(4561, 'Some helpful commands include:')));
|
|
220
|
+
content.push(( localize(4562, '- Undo Edits{0}.', '<keybinding:workbench.action.chat.undoEdits>')));
|
|
221
221
|
content.push(( localize(
|
|
222
|
-
|
|
222
|
+
4563,
|
|
223
223
|
'- Attach Files{0}.',
|
|
224
224
|
'<keybinding:workbench.action.chat.editing.attachFiles>'
|
|
225
225
|
)));
|
|
226
226
|
content.push(( localize(
|
|
227
|
-
|
|
227
|
+
4564,
|
|
228
228
|
'- Remove File from Working Set{0}.',
|
|
229
229
|
'<keybinding:chatEditing.removeFileFromWorkingSet>'
|
|
230
230
|
)));
|
|
231
231
|
content.push(( localize(
|
|
232
|
-
|
|
232
|
+
4565,
|
|
233
233
|
'- Keep{0} and Undo File{1}.',
|
|
234
234
|
'<keybinding:chatEditing.acceptFile>',
|
|
235
235
|
'<keybinding:chatEditing.discardFile>'
|
|
236
236
|
)));
|
|
237
|
-
content.push(( localize(
|
|
238
|
-
content.push(( localize(
|
|
239
|
-
content.push(( localize(
|
|
240
|
-
content.push(( localize(
|
|
237
|
+
content.push(( localize(4566, '- Save All Files{0}.', '<keybinding:chatEditing.saveAllFiles>')));
|
|
238
|
+
content.push(( localize(4567, '- Keep All Edits{0}.', '<keybinding:chatEditing.acceptAllFiles>')));
|
|
239
|
+
content.push(( localize(4568, '- Undo All Edits{0}.', '<keybinding:chatEditing.discardAllFiles>')));
|
|
240
|
+
content.push(( localize(4569, '- Open File in Diff{0}.', '<keybinding:chatEditing.openFileInDiff>')));
|
|
241
241
|
content.push(`- ${ChatEditingShowChangesAction.LABEL}<keybinding:chatEditing.viewChanges>`);
|
|
242
242
|
content.push(`- ${ViewPreviousEditsAction.Label}<keybinding:chatEditing.viewPreviousEdits>`);
|
|
243
243
|
}
|
|
244
244
|
else {
|
|
245
245
|
content.push(( localize(
|
|
246
|
-
|
|
246
|
+
4570,
|
|
247
247
|
"Inline chat occurs within a code editor and takes into account the current selection. It is useful for making changes to the current editor. For example, fixing diagnostics, documenting or refactoring code. Keep in mind that AI generated code may be incorrect."
|
|
248
248
|
)));
|
|
249
249
|
content.push(( localize(
|
|
250
|
-
|
|
250
|
+
4571,
|
|
251
251
|
"It can be activated via code actions or directly using the command: Inline Chat: Start Inline Chat{0}.",
|
|
252
252
|
'<keybinding:inlineChat.start>'
|
|
253
253
|
)));
|
|
254
254
|
content.push(( localize(
|
|
255
|
-
|
|
255
|
+
4572,
|
|
256
256
|
'In the input box, use Show Previous{0} and Show Next{1} to navigate your request history. Edit input and use enter or the submit button to run a new request.',
|
|
257
257
|
'<keybinding:history.showPrevious>',
|
|
258
258
|
'<keybinding:history.showNext>'
|
|
259
259
|
)));
|
|
260
260
|
content.push(( localize(
|
|
261
|
-
|
|
261
|
+
4573,
|
|
262
262
|
'In the input box, inspect the response in the accessible view{0}.',
|
|
263
263
|
'<keybinding:editor.action.accessibleView>'
|
|
264
264
|
)));
|
|
265
265
|
content.push(( localize(
|
|
266
|
-
|
|
266
|
+
4574,
|
|
267
267
|
"Context menu actions may run a request prefixed with a /. Type / to discover such ready-made commands."
|
|
268
268
|
)));
|
|
269
269
|
content.push(( localize(
|
|
270
|
-
|
|
270
|
+
4575,
|
|
271
271
|
"If a fix action is invoked, a response will indicate the problem with the current code. A diff editor will be rendered and can be reached by tabbing."
|
|
272
272
|
)));
|
|
273
273
|
content.push(( localize(
|
|
274
|
-
|
|
274
|
+
4576,
|
|
275
275
|
"Once in the diff editor, enter review mode with{0}. Use up and down arrows to navigate lines with the proposed changes.",
|
|
276
276
|
AccessibleDiffViewerNext.id
|
|
277
277
|
)));
|
|
278
278
|
content.push(( localize(
|
|
279
|
-
|
|
279
|
+
4577,
|
|
280
280
|
"Use tab to reach conditional parts like commands, status, message responses and more."
|
|
281
281
|
)));
|
|
282
282
|
}
|
|
283
283
|
content.push(( localize(
|
|
284
|
-
|
|
284
|
+
4578,
|
|
285
285
|
"Accessibility Signals can be changed via settings with a prefix of signals.chat. By default, if a request takes more than 4 seconds, you will hear a sound indicating that progress is still occurring."
|
|
286
286
|
)));
|
|
287
287
|
return content.join('\n');
|
|
@@ -83,7 +83,7 @@ let CodeBlockActionRendering = class CodeBlockActionRendering extends Disposable
|
|
|
83
83
|
const context = this._context;
|
|
84
84
|
if (isCodeBlockActionContext(context) && context.codemapperUri) {
|
|
85
85
|
const label = labelService.getUriLabel(context.codemapperUri, { relative: true });
|
|
86
|
-
return localize(
|
|
86
|
+
return localize(4647, "Apply to {0}", label);
|
|
87
87
|
}
|
|
88
88
|
return super.getTooltip();
|
|
89
89
|
}
|
|
@@ -106,7 +106,7 @@ function registerChatCodeBlockActions() {
|
|
|
106
106
|
constructor() {
|
|
107
107
|
super({
|
|
108
108
|
id: 'workbench.action.chat.copyCodeBlock',
|
|
109
|
-
title: ( localize2(
|
|
109
|
+
title: ( localize2(4648, "Copy")),
|
|
110
110
|
f1: false,
|
|
111
111
|
category: CHAT_CATEGORY,
|
|
112
112
|
icon: Codicon.copy,
|
|
@@ -231,7 +231,7 @@ function registerChatCodeBlockActions() {
|
|
|
231
231
|
constructor() {
|
|
232
232
|
super({
|
|
233
233
|
id: APPLY_IN_EDITOR_ID,
|
|
234
|
-
title: ( localize2(
|
|
234
|
+
title: ( localize2(4649, "Apply in Editor")),
|
|
235
235
|
precondition: ChatContextKeys.enabled,
|
|
236
236
|
f1: true,
|
|
237
237
|
category: CHAT_CATEGORY,
|
|
@@ -267,7 +267,7 @@ function registerChatCodeBlockActions() {
|
|
|
267
267
|
constructor() {
|
|
268
268
|
super({
|
|
269
269
|
id: 'workbench.action.chat.insertCodeBlock',
|
|
270
|
-
title: ( localize2(
|
|
270
|
+
title: ( localize2(4650, "Insert At Cursor")),
|
|
271
271
|
precondition: ChatContextKeys.enabled,
|
|
272
272
|
f1: true,
|
|
273
273
|
category: CHAT_CATEGORY,
|
|
@@ -301,7 +301,7 @@ function registerChatCodeBlockActions() {
|
|
|
301
301
|
constructor() {
|
|
302
302
|
super({
|
|
303
303
|
id: 'workbench.action.chat.insertIntoNewFile',
|
|
304
|
-
title: ( localize2(
|
|
304
|
+
title: ( localize2(4651, "Insert into New File")),
|
|
305
305
|
precondition: ChatContextKeys.enabled,
|
|
306
306
|
f1: true,
|
|
307
307
|
category: CHAT_CATEGORY,
|
|
@@ -361,7 +361,7 @@ function registerChatCodeBlockActions() {
|
|
|
361
361
|
constructor() {
|
|
362
362
|
super({
|
|
363
363
|
id: 'workbench.action.chat.runInTerminal',
|
|
364
|
-
title: ( localize2(
|
|
364
|
+
title: ( localize2(4652, "Insert into Terminal")),
|
|
365
365
|
precondition: ChatContextKeys.enabled,
|
|
366
366
|
f1: true,
|
|
367
367
|
category: CHAT_CATEGORY,
|
|
@@ -455,7 +455,7 @@ function registerChatCodeBlockActions() {
|
|
|
455
455
|
constructor() {
|
|
456
456
|
super({
|
|
457
457
|
id: 'workbench.action.chat.nextCodeBlock',
|
|
458
|
-
title: ( localize2(
|
|
458
|
+
title: ( localize2(4653, "Next Code Block")),
|
|
459
459
|
keybinding: {
|
|
460
460
|
primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.PageDown,
|
|
461
461
|
mac: { primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.PageDown, },
|
|
@@ -475,7 +475,7 @@ function registerChatCodeBlockActions() {
|
|
|
475
475
|
constructor() {
|
|
476
476
|
super({
|
|
477
477
|
id: 'workbench.action.chat.previousCodeBlock',
|
|
478
|
-
title: ( localize2(
|
|
478
|
+
title: ( localize2(4654, "Previous Code Block")),
|
|
479
479
|
keybinding: {
|
|
480
480
|
primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.PageUp,
|
|
481
481
|
mac: { primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.PageUp, },
|
|
@@ -534,7 +534,7 @@ function registerChatCodeCompareBlockActions() {
|
|
|
534
534
|
constructor() {
|
|
535
535
|
super({
|
|
536
536
|
id: 'workbench.action.chat.applyCompareEdits',
|
|
537
|
-
title: ( localize2(
|
|
537
|
+
title: ( localize2(4655, "Apply Edits")),
|
|
538
538
|
f1: false,
|
|
539
539
|
category: CHAT_CATEGORY,
|
|
540
540
|
icon: Codicon.gitPullRequestGoToChanges,
|
|
@@ -576,7 +576,7 @@ function registerChatCodeCompareBlockActions() {
|
|
|
576
576
|
constructor() {
|
|
577
577
|
super({
|
|
578
578
|
id: 'workbench.action.chat.discardCompareEdits',
|
|
579
|
-
title: ( localize2(
|
|
579
|
+
title: ( localize2(4656, "Discard Edits")),
|
|
580
580
|
f1: false,
|
|
581
581
|
category: CHAT_CATEGORY,
|
|
582
582
|
icon: Codicon.trash,
|
|
@@ -25,7 +25,7 @@ import { KeybindingWeight } from '@codingame/monaco-vscode-api/vscode/vs/platfor
|
|
|
25
25
|
import { IListService } from '@codingame/monaco-vscode-api/vscode/vs/platform/list/browser/listService.service';
|
|
26
26
|
import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
|
|
27
27
|
import { IQuickInputService } from '@codingame/monaco-vscode-api/vscode/vs/platform/quickinput/common/quickInput.service';
|
|
28
|
-
import { resolveCommandsContext } from '@codingame/monaco-vscode-
|
|
28
|
+
import { resolveCommandsContext } from '@codingame/monaco-vscode-0b011daf-0f15-57de-bd5b-8953592c556c-common/vscode/vs/workbench/browser/parts/editor/editorCommandsContext';
|
|
29
29
|
import { ResourceContextKey } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
|
|
30
30
|
import { isEditorCommandsContext, EditorResourceAccessor, SideBySideEditor } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
|
|
31
31
|
import { IEditorGroupsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService.service';
|
|
@@ -43,7 +43,7 @@ import { OmittedState } from '@codingame/monaco-vscode-api/vscode/vs/workbench/c
|
|
|
43
43
|
import { ChatAgentLocation, isSupportedChatFileScheme } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
|
|
44
44
|
import { showChatView } from '@codingame/monaco-vscode-2339d6ac-d6bb-53cd-95ee-81911735d1c7-common/vscode/vs/workbench/contrib/chat/browser/chat';
|
|
45
45
|
import { IChatWidgetService, IQuickChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
46
|
-
import { isChatContextPickerPickItem } from '@codingame/monaco-vscode-
|
|
46
|
+
import { isChatContextPickerPickItem } from '@codingame/monaco-vscode-2c64d2c2-fdf7-5675-a2fe-f6f65fbdedbf-common/vscode/vs/workbench/contrib/chat/browser/chatContextPickService';
|
|
47
47
|
import { IChatContextPickService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatContextPickService.service';
|
|
48
48
|
import { isQuickChat } from '@codingame/monaco-vscode-a793b3ee-7ba9-5176-a019-30ec806fdd95-common/vscode/vs/workbench/contrib/chat/browser/chatWidget';
|
|
49
49
|
import { resizeImage } from '@codingame/monaco-vscode-9d2c06d1-1f89-51a5-9964-aa01fe50c198-common/vscode/vs/workbench/contrib/chat/browser/imageUtils';
|
|
@@ -118,7 +118,7 @@ class AttachFileToChatAction extends AttachResourceAction {
|
|
|
118
118
|
constructor() {
|
|
119
119
|
super({
|
|
120
120
|
id: AttachFileToChatAction.ID,
|
|
121
|
-
title: ( localize2(
|
|
121
|
+
title: ( localize2(4667, "Add File to Chat")),
|
|
122
122
|
category: CHAT_CATEGORY,
|
|
123
123
|
precondition: ChatContextKeys.enabled,
|
|
124
124
|
f1: true,
|
|
@@ -167,7 +167,7 @@ class AttachFolderToChatAction extends AttachResourceAction {
|
|
|
167
167
|
constructor() {
|
|
168
168
|
super({
|
|
169
169
|
id: AttachFolderToChatAction.ID,
|
|
170
|
-
title: ( localize2(
|
|
170
|
+
title: ( localize2(4668, "Add Folder to Chat")),
|
|
171
171
|
category: CHAT_CATEGORY,
|
|
172
172
|
f1: false,
|
|
173
173
|
menu: {
|
|
@@ -196,7 +196,7 @@ class AttachSelectionToChatAction extends Action2 {
|
|
|
196
196
|
constructor() {
|
|
197
197
|
super({
|
|
198
198
|
id: AttachSelectionToChatAction.ID,
|
|
199
|
-
title: ( localize2(
|
|
199
|
+
title: ( localize2(4669, "Add Selection to Chat")),
|
|
200
200
|
category: CHAT_CATEGORY,
|
|
201
201
|
f1: true,
|
|
202
202
|
precondition: ChatContextKeys.enabled,
|
|
@@ -261,7 +261,7 @@ class AttachSearchResultAction extends Action2 {
|
|
|
261
261
|
constructor() {
|
|
262
262
|
super({
|
|
263
263
|
id: 'workbench.action.chat.insertSearchResults',
|
|
264
|
-
title: ( localize2(
|
|
264
|
+
title: ( localize2(4670, 'Add Search Results to Chat')),
|
|
265
265
|
category: CHAT_CATEGORY,
|
|
266
266
|
f1: false,
|
|
267
267
|
menu: [{
|
|
@@ -327,7 +327,7 @@ class AttachContextAction extends Action2 {
|
|
|
327
327
|
constructor() {
|
|
328
328
|
super({
|
|
329
329
|
id: 'workbench.action.chat.attachContext',
|
|
330
|
-
title: ( localize2(
|
|
330
|
+
title: ( localize2(4671, "Add Context...")),
|
|
331
331
|
icon: Codicon.attach,
|
|
332
332
|
category: CHAT_CATEGORY,
|
|
333
333
|
keybinding: {
|
|
@@ -410,7 +410,7 @@ class AttachContextAction extends Action2 {
|
|
|
410
410
|
SymbolsQuickAccessProvider.PREFIX,
|
|
411
411
|
AbstractGotoSymbolQuickAccessProvider.PREFIX
|
|
412
412
|
],
|
|
413
|
-
placeholder: placeholder ?? ( localize(
|
|
413
|
+
placeholder: placeholder ?? ( localize(4672, 'Search attachments')),
|
|
414
414
|
providerOptions,
|
|
415
415
|
});
|
|
416
416
|
}
|
|
@@ -478,7 +478,7 @@ class AttachContextAction extends Action2 {
|
|
|
478
478
|
const pickerConfig = item.asPicker(widget);
|
|
479
479
|
const store = ( new DisposableStore());
|
|
480
480
|
const goBackItem = {
|
|
481
|
-
label: ( localize(
|
|
481
|
+
label: ( localize(4673, 'Go back ↩')),
|
|
482
482
|
alwaysShow: true
|
|
483
483
|
};
|
|
484
484
|
const configureItem = pickerConfig.configure ? {
|
|
@@ -14,7 +14,7 @@ function registerChatCopyActions() {
|
|
|
14
14
|
constructor() {
|
|
15
15
|
super({
|
|
16
16
|
id: 'workbench.action.chat.copyAll',
|
|
17
|
-
title: ( localize2(
|
|
17
|
+
title: ( localize2(4674, "Copy All")),
|
|
18
18
|
f1: false,
|
|
19
19
|
category: CHAT_CATEGORY,
|
|
20
20
|
menu: {
|
|
@@ -44,7 +44,7 @@ function registerChatCopyActions() {
|
|
|
44
44
|
constructor() {
|
|
45
45
|
super({
|
|
46
46
|
id: 'workbench.action.chat.copyItem',
|
|
47
|
-
title: ( localize2(
|
|
47
|
+
title: ( localize2(4675, "Copy")),
|
|
48
48
|
f1: false,
|
|
49
49
|
category: CHAT_CATEGORY,
|
|
50
50
|
menu: {
|
|
@@ -79,7 +79,7 @@ function registerChatCopyActions() {
|
|
|
79
79
|
constructor() {
|
|
80
80
|
super({
|
|
81
81
|
id: 'workbench.action.chat.copyKatexMathSource',
|
|
82
|
-
title: ( localize2(
|
|
82
|
+
title: ( localize2(4676, "Copy Math Source")),
|
|
83
83
|
f1: false,
|
|
84
84
|
category: CHAT_CATEGORY,
|
|
85
85
|
menu: {
|