What is hyperlinking and how can I use it?

Hyperlinking is a means for simple navigation in the source code. It is activated by holding the Ctrl key and moving the mouse over a field or class. The element becomes blue and underlined and when left-clicked, the editor performs the 'go to declaration' action. This will lead you to the declaration of the underlined element. To go back or forward you can use the icons from editor toolbar. This feature was added in NetBeans 4.1.

Additionally, since Netbeans 6.9 you can hold Ctrl-Alt key in order to navigate to classes that override the class under the mouse pointer. When you left-click the hyperlink you will be presented with the Implementors/Overridders popup window showing the classes down in the inheritance tree. Choose the one that you want to open in the editor and click on it -- or use arrows and Enter to navigate in the popup window.

Applies to: NetBeans 4.1, 5.x, 6.x

Platforms: All

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo