libhover Plug-in
17
Figure 2.17. Shortcuts Tab
The Shortcuts tab configures what menu items are available under the following submenus:
• File > New
• Window > Open Perspective
• Window > Show View
2.2.2. libhover Plug-in
The libhover plug-in for Eclipse provides plug-and-play hover help support for the GNU C Library
and GNU C++ Standard Library. This allows developers to refer to existing documentation on glibc
and libstdc++ libraries within the Eclipse IDE in a more seamless and convenient manner via hover
help and code completion.
For C++ library resources, libhover needs to index the file using the CDT indexer. Indexing parses
the given file in context of a build; the build context determines where header files come from and
how types, macros, and similar items are resolved. To be able to index a C++ source file, libhover
usually requires you to perform an actual build first, although in some cases it may already know
where the header files are located.
The libhover plug-in may need indexing for C++ sources because a C++ member function name
is not enough information to look up its documentation. For C++, the class name and parameter
signature of the function is also required to determine exactly which member is being referenced. This
is because C++ allows different classes to have members of the same name, and even within a class,
members may have the same name but with different method signatures.
Commentaires sur ces manuels