File tree Expand file tree Collapse file tree
src/vs/workbench/contrib/chat/browser/actions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -207,13 +207,6 @@ class ToggleChatModeAction extends Action2 {
207207 ChatContextKeys . enabled ,
208208 ChatContextKeys . requestInProgress . negate ( ) ) ,
209209 tooltip : localize ( 'setChatMode' , "Set Mode" ) ,
210- keybinding : {
211- when : ContextKeyExpr . and (
212- ChatContextKeys . inChatInput ,
213- ChatContextKeys . location . isEqualTo ( ChatAgentLocation . Panel ) ) ,
214- primary : KeyMod . CtrlCmd | KeyCode . Period ,
215- weight : KeybindingWeight . EditorContrib
216- } ,
217210 menu : [
218211 {
219212 id : MenuId . ChatInput ,
@@ -387,6 +380,13 @@ class OpenModePickerAction extends Action2 {
387380 category : CHAT_CATEGORY ,
388381 f1 : false ,
389382 precondition : ChatContextKeys . enabled ,
383+ keybinding : {
384+ when : ContextKeyExpr . and (
385+ ChatContextKeys . inChatInput ,
386+ ChatContextKeys . location . isEqualTo ( ChatAgentLocation . Panel ) ) ,
387+ primary : KeyMod . CtrlCmd | KeyCode . Period ,
388+ weight : KeybindingWeight . EditorContrib
389+ } ,
390390 } ) ;
391391 }
392392
You can’t perform that action at this time.
0 commit comments