C/C++ Editor Text Hovers

org.eclipse.cdt.ui.textHovers

This extension point is used to plug-in text hovers in a C/C++ editor.

<!ELEMENT extension (hover*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT hover EMPTY>

<!ATTLIST hover

id          CDATA #REQUIRED

class       CDATA #REQUIRED

label       CDATA #IMPLIED

description CDATA #IMPLIED

activate    (true | false) "false">


The following is an example of a hover definition:

 

<extension point=

"org.eclipse.cdt.ui.textHovers"

>

<hover label=

"Debug Text Hover"

perspective=

"org.eclipse.debug.ui.DebugPerspective"

class=

"org.eclipse.cdt.debug.internal.ui.editors.DebugTextHover"

id=

"org.eclipse.cdt.debug.internal.ui.editors.DebugTextHover"

>

</hover>

</extension>