Community
Participate
Working Groups
Created attachment 181848 [details] proposed fix code from HEAD While trying to fix bug 313015, I found that I cannot return an Object to open a hover control on like we did for JDT. The reason for this is that BestMatchHover /AbstractJavaEditorTextHover (the JavaScript variant) does not support ITextHoverExtension2. The attached patch adds support to the JS hovers for ITextHoverExtension2 (and allows the fix for bug 313015 to work)
Sounds like a nice addition.
applied patch to HEAD
I don't understand, it seems that current JSDT version doesn't support ITextHoverExtension2 . If you see http://git.eclipse.org/c/jsdt/webtools.jsdt.git/tree/bundles/org.eclipse.wst.jsdt.ui/src/org/eclipse/wst/jsdt/internal/ui/text/java/hover/AbstractJavaEditorTextHover.java this class doesn't implement ITextHoverExtension2 although this issue fix that? In my case I need that for tern.java because without this support, the tern hover popup is too small. Many thanks's for your help.