FeaturesPluginsDocs & SupportCommunityPartners

NetBeans C/C++ Development Pack Tips

Below is a list of a very brief tips that might be helpful when working with NetBeansTM C/C++ Development Pack.


  • Use Class View (Window > Class View) to see the logical structure of the entire project

  • Press Alt-Q to activate quick navigator (drop down list in editor toolbar)

  • Press Alt-G to go to declaration of the symbol under cursor

  • Use control+Click to hyperlink to symbol declaration. This also works on #include directives (naigate to correspondent files)

  • When cursor points to the name of function, method or static field, control+Click or Alt-G navigates to the definition of this function or field.

  • You may easily add a bunch of the existing items to your project via "Add existing items from folders" item of the Projects explorer context menu

  • Use "Navigate" -> "Go to C/C++ declaration" to find element (class, enum, function, global variable) by its name.

  • You may use code templates (abbreviations) with C/C++. For example, type "fori" and press enter. See that it expands to "for (int i = 0; i < ; i++) {}". You may edit templates: invoke via Tools -> Options, select "Editor" and choose "Code Templates" tab.
Companion
Projects:
MySQL Database Server   Open JDK: an Open SourceJDK   GlassFish Community: an Open Source Application Server    Mobile & Embedded Community    Open Solaris   java.net - The Source for Java Technology Collaboration   Virtual Box - full virtualizer  Open ESB - The Open Enterprise Service Bus Powered by