Skip to content

Commit

Permalink
Fix disappearing menu in outline view
Browse files Browse the repository at this point in the history
Ensures that the actions Link with editor, Show Kind, Hide...
stay visible if an LSP editor becomes active.
  • Loading branch information
travkin79 authored and mickaelistria committed Dec 4, 2024
1 parent 53fc96a commit 48e368f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions org.eclipse.lsp4e/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@
label="Link with Editor"
style="toggle">
<visibleWhen>
<reference definitionId="org.eclipse.lsp4e.activePartHasCNFOutlinePage" />
<reference definitionId="org.eclipse.lsp4e.activeEditorHasCNFOutlinePage" />
</visibleWhen>
</command>
</menuContribution>
Expand All @@ -293,7 +293,7 @@
label="Show Kind"
style="toggle">
<visibleWhen>
<reference definitionId="org.eclipse.lsp4e.activePartHasCNFOutlinePage" />
<reference definitionId="org.eclipse.lsp4e.activeEditorHasCNFOutlinePage" />
</visibleWhen>
</command>
</menuContribution>
Expand All @@ -305,7 +305,7 @@
label="Hide...">
<visibleWhen>
<reference
definitionId="org.eclipse.lsp4e.activePartHasCNFOutlinePage">
definitionId="org.eclipse.lsp4e.activeEditorHasCNFOutlinePage">
</reference>
</visibleWhen>
</menu>
Expand Down

0 comments on commit 48e368f

Please sign in to comment.