Skip to content

Commit

Permalink
[eclipse-cdt#273] Add find references to editors context menu (eclips…
Browse files Browse the repository at this point in the history
  • Loading branch information
ghentschke authored Mar 5, 2024
1 parent 79b8546 commit 5994844
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ SPDX-License-Identifier: EPL-2.0\n\
Commands.ToggleSourceAndHeader.name=Toggle Source/Header
PopupMenu.ToggleSourceAndHeader.label=Toggle Source/Header
PopupMenu.FindReferences.label=Find References
ClangdConfigurationPage.name=clangd
9 changes: 9 additions & 0 deletions bundles/org.eclipse.cdt.lsp.clangd/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,15 @@
</visibleWhen>
</command>
</menuContribution>
<menuContribution
allPopups="false"
locationURI="popup:org.eclipse.ui.popup.any?after=org.eclipse.lsp4e.openCallHierarchy">
<command
commandId="org.eclipse.ui.genericeditor.findReferences"
label="%PopupMenu.FindReferences.label"
style="push">
</command>
</menuContribution>
</extension>
<extension
id="org.eclipse.cdt.lsp.clangd.config.marker"
Expand Down

0 comments on commit 5994844

Please sign in to comment.