DVT Eclipse IDE Tooltips - How to Use Tooltips

Overview

Hover the mouse cursor over any identifier in the DVT Editor to quickly get extra information. For a function call for example, you get the full signature and the comments written above or to the side of its declaration.

This video shows several examples where tooltips come in handy: macros and parameters, error annotations, override indicators and folded code regions.

Explore the design and verification tools: https://www.dvteclipse.com
Or request a license: https://www.dvteclipse.com/request-license

Details

Tooltips are a convenient way to quickly get more information about any element in your code.

How to View Tooltips

  • Mouse Hover: Simply hover over an identifier in the editor with a mouse cursor and a tooltip will pop up.
  • Keyboard Shortcut: To show the tooltip for an element using only the keyboard, place the editor cursor on an identifier and press F2.

Information Displayed in Tooltips

The tooltip shows the full name of the element, including scoping information, like for example the enclosing package, access modifiers for fields, or the full signature for methods.

It includes the documentation associated with the element, that is, the comment written above or to the side of the element's declaration.

For parameters and macros, the tooltip also shows their defined value.

Tooltips for Annotations

Tooltips are also available for annotations on the vertical ruler to the left side of the editor. For example:

  • Errors and warnings
  • Override annotations
  • Folded code regions