User guide

Chapter 2. The Eclipse Integrated Development Environment (IDE)
18
In addition, C++ also has type definitions and templated classes to deal with. Such information
requires parsing an entire file and its associated include files; libhover can only do this via
indexing.
C functions, on the other hand, can be referenced in their documentation by name alone. As such,
libhover does not need to index C source files in order to provide hover help or code completion.
Simply choose an appropriate C header file to be included for a selection.
2.2.2.1. Setup and Usage
Hover help for all installed libhover libraries is enabled by default, and it can be disabled per
project. To disable or enable hover help for a particular project, right-click the project name and click
Properties. On the menu that appears, navigate to C/C++ General > Documentation. Check or
uncheck a library in the Help books section to enable or disable hover help for that particular library.
Figure 2.18. Enabling/Disabling Hover Help
Disabling hover help from a particular library may be preferable, particularly if multiple libhover
libraries overlap in functionality. For example, the newlib library (whose libhover library plug-in is
supported in Red Hat Enterprise Linux 6) contains functions whose names overlap with those in the
GNU C library (provided by default); having libhover plugins for both newlib and glibc installed
would mean having to disable one.
When multiple libhover libraries libraries are enabled and there exists a functional overlap between
libraries, the Help content for the function from the first listed library in the Help books section
will appear in hover help (i.e. in Figure 2.18, “Enabling/Disabling Hover Help”, glibc). For code
completion, libhover will offer all possible alternatives from all enabled libhover libraries.
To use hover help, simply hover the mouse over a function name or member function name in the
C/C++ Editor. After a few seconds, libhover will display library documentation on the selected C
function or C++ member function.