mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 18:19:12 +01:00
- use chat widget also for content widget (shared chat model)
- add TextEdits to chat model - add IChatTextEdit and IChatUsedSlashCommand to chat progress types - hook up ad-hoc agent to inline chat session (no more custom commands) - add new `State.SHOW_REQUEST` state for when new requests are made
This commit is contained in:
@@ -351,7 +351,7 @@ export class DiscardAction extends AbstractInlineChatAction {
|
||||
icon: Codicon.discard,
|
||||
precondition: CTX_INLINE_CHAT_VISIBLE,
|
||||
keybinding: {
|
||||
weight: KeybindingWeight.WorkbenchContrib,
|
||||
weight: KeybindingWeight.EditorContrib - 1,
|
||||
primary: KeyCode.Escape,
|
||||
when: CTX_INLINE_CHAT_USER_DID_EDIT.negate()
|
||||
},
|
||||
@@ -556,7 +556,7 @@ export class CancelSessionAction extends AbstractInlineChatAction {
|
||||
icon: Codicon.clearAll,
|
||||
precondition: CTX_INLINE_CHAT_VISIBLE,
|
||||
keybinding: {
|
||||
weight: KeybindingWeight.WorkbenchContrib - 1,
|
||||
weight: KeybindingWeight.EditorContrib - 1,
|
||||
primary: KeyCode.Escape
|
||||
},
|
||||
menu: {
|
||||
|
||||
Reference in New Issue
Block a user