Skip to content

Commit c35e473

Browse files
committed
Hide legacy Type Hierarchy command when using LSP
Fixes #4229.
1 parent e8f3132 commit c35e473

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@
607607
"command": "dart.showTypeHierarchy",
608608
"key": "f4",
609609
"mac": "f4",
610-
"when": "editorLangId == dart"
610+
"when": "editorLangId == dart && !dart-code:isLsp"
611611
},
612612
{
613613
"command": "dart.hotReload",
@@ -785,7 +785,7 @@
785785
},
786786
{
787787
"command": "dart.showTypeHierarchy",
788-
"when": "dart-code:anyProjectLoaded && editorLangId == dart"
788+
"when": "dart-code:anyProjectLoaded && editorLangId == dart && !dart-code:isLsp"
789789
},
790790
{
791791
"command": "dart.openObservatory",

0 commit comments

Comments
 (0)