Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] text hovers

We use a 'fake' hover listed first, which chooses smartly between all other hovers.

The code is in o.e.cdt.ui and its the class BestMatchHover.java


Marc



From: cdt-dev-bounces@xxxxxxxxxxx <cdt-dev-bounces@xxxxxxxxxxx> on behalf of Greg Watson <g.watson@xxxxxxxxxxxx>
Sent: September 21, 2016 1:05 PM
To: CDT General developers list.
Subject: [cdt-dev] text hovers
 
I’ve been trying to understand how the debugger text hover gets preference over the other types of hovers that the C editor provides. As far as I can tell, the hover providers are sorted by their labels (apart from “Annotation” which gets installed last, and “Combined” which gets installed first), so it’s just luck that the description “Debugger” comes before the other hovers (e.g. “Documentation”). Can anyone confirm this is the case?

Thanks,
Greg

 
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cdt-dev
dev.eclipse.org
Mailing list: cdt-dev CDT General developers list. About cdt-dev

Back to the top