We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 45f3c72 + fa4ee50 commit 92cfbd3Copy full SHA for 92cfbd3
src/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.ts
@@ -178,7 +178,11 @@ registerAction2(class extends EditorAction2 {
178
menu: {
179
id: MenuId.EditorContextPeek,
180
group: 'navigation',
181
- order: 1000
+ order: 1000,
182
+ when: ContextKeyExpr.and(
183
+ _ctxHasCallHierarchyProvider,
184
+ PeekContext.notInPeekEditor
185
+ ),
186
},
187
keybinding: {
188
when: EditorContextKeys.editorTextFocus,
0 commit comments