Community
Participate
Working Groups
Created attachment 226276 [details] screen of the tooltip to remove Displaying a tooltip with no information is quite useless, maybe it's better to do nothing. See attached screenshoot. The source code to modify is: org.eclipse.dltk.internal.ui.text.hover.DocumentationHover.getHoverInfo(String, Object[]):464 I can also provide a patch for this bug if needed. Marc Aubry
Hi Marc, Empty tooltip is not that useful, I agree. For me, current DLTK also displays element icon and name. I think "no documentation" hint can be removed, keeping only element icon+name, like JDT does. Makes sense? Regards, Alex
Hi Alex, Thanks for your quick response. In JDT the tooltip show the scope, the visibility and the type of the hovered item. But in dynamic languages, there is no type, ans it's difficult to know the visibility and/or scope of a variable because of globals. So for example, if we have a local variable in Lua defined like this. local var The hover will display "local var" as well. So for me, this is not that interesting, until we have more information to put in the tooltip.