mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
Merge pull request #208421 from microsoft/tyriar/208420
Reduce duplicate insert into terminal menu item
This commit is contained in:
commit
3318a66301
|
@ -31,7 +31,6 @@ import { ICodeBlockActionContext } from 'vs/workbench/contrib/chat/browser/codeB
|
|||
import { CONTEXT_IN_CHAT_INPUT, CONTEXT_IN_CHAT_SESSION, CONTEXT_PROVIDER_EXISTS } from 'vs/workbench/contrib/chat/common/chatContextKeys';
|
||||
import { ChatCopyKind, IChatService, IDocumentContext } from 'vs/workbench/contrib/chat/common/chatService';
|
||||
import { IChatResponseViewModel, isResponseVM } from 'vs/workbench/contrib/chat/common/chatViewModel';
|
||||
import { CTX_INLINE_CHAT_VISIBLE } from 'vs/workbench/contrib/inlineChat/common/inlineChat';
|
||||
import { insertCell } from 'vs/workbench/contrib/notebook/browser/controller/cellOperations';
|
||||
import { INotebookEditor } from 'vs/workbench/contrib/notebook/browser/notebookBrowser';
|
||||
import { CellKind, NOTEBOOK_EDITOR_ID } from 'vs/workbench/contrib/notebook/common/notebookCommon';
|
||||
|
@ -423,11 +422,6 @@ export function registerChatCodeBlockActions() {
|
|||
CONTEXT_IN_CHAT_SESSION,
|
||||
...shellLangIds.map(e => ContextKeyExpr.notEquals(EditorContextKeys.languageId.key, e))
|
||||
)
|
||||
},
|
||||
{
|
||||
id: MenuId.ChatCodeBlock,
|
||||
group: 'navigation',
|
||||
when: CTX_INLINE_CHAT_VISIBLE,
|
||||
}],
|
||||
keybinding: [{
|
||||
primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.Enter,
|
||||
|
|
Loading…
Reference in a new issue