eclipse / lsp4e

Language Server Protocol support in Eclipse IDE
Eclipse Public License 2.0
65 stars 54 forks source link

Add support for text editor actions "go to next annotation" & "go to previous annotation" #909

Closed travkin79 closed 8 months ago

travkin79 commented 8 months ago

Editors like CDT's C++ editor and JDT's Java editor have support for the tool bar actions "next annotation" & "previous annotation" for navigating to the next / previous occurrence of a symbol / identifier (see action bar buttons). image These buttons are also activated for the LSP-based C++ editor, but nothing happens if you push them. It would be great if that could be fixed.

It turns out, LSP4E provides extensions for the extension point org.eclipse.ui.editors.markerAnnotationSpecification, but a few keys are missing and that's why the navigation does not work. image

travkin79 commented 8 months ago

Thanks for your help, @ghentschke.