Skip to content

Commit 42803d3

Browse files
committed
Expand chat functionality by adding new commands and renaming related files
1 parent c32b45c commit 42803d3

5 files changed

Lines changed: 24 additions & 4 deletions

File tree

packages/vscode/package.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,26 @@
263263
"title": "Edit Context in Chat using...",
264264
"category": "Code Web Chat"
265265
},
266+
{
267+
"command": "codeWebChat.askAboutContext",
268+
"title": "Ask about Context",
269+
"category": "Code Web Chat"
270+
},
271+
{
272+
"command": "codeWebChat.askAboutContextUsing",
273+
"title": "Ask about Context using...",
274+
"category": "Code Web Chat"
275+
},
276+
{
277+
"command": "codeWebChat.noContextChat",
278+
"title": "No context chat",
279+
"category": "Code Web Chat"
280+
},
281+
{
282+
"command": "codeWebChat.noContextChatUsing",
283+
"title": "No context chat using...",
284+
"category": "Code Web Chat"
285+
},
266286
{
267287
"command": "codeWebChat.editContextToClipboard",
268288
"title": "Edit Context to Clipboard",
File renamed without changes.

packages/vscode/src/commands/edit-context-to-clipboard-command.ts renamed to packages/vscode/src/commands/chat-to-clipboard-command.ts

File renamed without changes.

packages/vscode/src/commands/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export * from './apply-chat-response-command/apply-chat-response-command'
2-
export * from './edit-context-to-clipboard-command'
2+
export * from './chat-to-clipboard-command'
33
export * from './close-all-editors-command'
44
export * from './close-editor-command'
55
export * from './code-completion-commands'
@@ -20,6 +20,6 @@ export * from './revert-command'
2020
export * from './save-all-command'
2121
export * from './save-context-command'
2222
export * from './apply-context-command'
23-
export * from './edit-context-in-chat-commands'
23+
export * from './chat-commands'
2424
export * from './edit-context-commands'
2525
export * from './apply-context-from-clipboard-command'

packages/vscode/src/extension.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ import {
3737
open_settings_command,
3838
open_url_command,
3939
rate_command,
40-
edit_context_commands,
41-
apply_context_from_clipboard_command
40+
apply_context_from_clipboard_command,
41+
edit_context_commands
4242
} from './commands'
4343

4444
// Store WebSocketServer instance at module level

0 commit comments

Comments
 (0)