Skip to main content

Posts

Showing posts from December, 2015

Quick way to show documentation in NetBeans

Holding the control key [command key in Mac OS X] in NetBeans will mark functions, methods, and variables with an underline.  Holding the key and hovering over functions and methods will reveal their documentation in a sort of tool tip, if such documentation is available.  This is in addition to opening the documentation panel with the Control + Shift + Space key combination. Function documentation on usage with Control + Hover. The presentation of the documentation tip is available with the Control + Hover event on method definitions as well as their usage.  Oddly however, it's not available with function definitions.  With function definitions, the IDE presents a brief, and unhelpful tool tip just identifying the function and the file it belongs to. Function documentation on definition with Control + Hover.  Note that nothing meaningful is rendered as it is with the usage example. It should be noted, that the details identified here are using NetBeans 8.1