@@ -272,7 +272,8 @@ registerEditorAction(class PeekDefinitionAction extends DefinitionAction {
272272 precondition : ContextKeyExpr . and (
273273 EditorContextKeys . hasDefinitionProvider ,
274274 PeekContext . notInPeekEditor ,
275- EditorContextKeys . isInEmbeddedEditor . toNegated ( ) ) ,
275+ EditorContextKeys . isInEmbeddedEditor . toNegated ( )
276+ ) ,
276277 kbOpts : {
277278 kbExpr : EditorContextKeys . editorTextFocus ,
278279 primary : KeyMod . Alt | KeyCode . F12 ,
@@ -452,12 +453,9 @@ registerEditorAction(class PeekTypeDefinitionAction extends TypeDefinitionAction
452453 alias : 'Peek Type Definition' ,
453454 precondition : ContextKeyExpr . and (
454455 EditorContextKeys . hasTypeDefinitionProvider ,
455- EditorContextKeys . isInEmbeddedEditor . toNegated ( ) ) ,
456- kbOpts : {
457- kbExpr : EditorContextKeys . editorTextFocus ,
458- primary : 0 ,
459- weight : KeybindingWeight . EditorContrib
460- }
456+ PeekContext . notInPeekEditor ,
457+ EditorContextKeys . isInEmbeddedEditor . toNegated ( )
458+ )
461459 } ) ;
462460 }
463461} ) ;
@@ -541,6 +539,7 @@ registerEditorAction(class PeekImplementationAction extends ImplementationAction
541539 alias : 'Peek Implementations' ,
542540 precondition : ContextKeyExpr . and (
543541 EditorContextKeys . hasImplementationProvider ,
542+ PeekContext . notInPeekEditor ,
544543 EditorContextKeys . isInEmbeddedEditor . toNegated ( )
545544 ) ,
546545 kbOpts : {
0 commit comments