SlideShare a Scribd company logo
1 of 2
Download to read offline
Highlights of NetBeans IDE 6.9 Keyboard Shortcuts & Code Templates
Finding, Searching, and Replacing                                                                             Opening and Toggling between Views
                                                         Coding in Java
Ctrl-F3             Search word at insert point                                                               Ctrl-Tab (Ctrl-`)    Toggle between open
F3/Shift-F3         Find next/previous in file           Alt-Insert          Generate code                                         documents
Ctrl-F/H            Find/Replace in file                 Ctrl-Shift-I        Fix all class imports            Shift-Escape         Maximize window (toggle)
Alt-F7              Find usages                          Alt-Shift-I         Fix selected class's import      Ctrl-F4/Ctrl-W       Close currently selected window
Ctrl-Shift-F/H      Find/replace in projects             Alt-Shift-F         Format selection                 Ctrl-Shift-F4        Close all windows
Alt-Shift-U         Find usages results                  Alt-Shift Left/     Shift lines left/right/up/down   Shift-F10            Open contextual menu
Alt-Shift-H         Turn off search result highlights    Right/Up/Down                                        Alt-Shift-D          Undock window
Ctrl-R              Rename                               Ctrl-Shift-Up/D     Copy lines up/down
                                                         Ctrl/Alt-F12        Inspect members/hierarchy        Debugging
Ctrl-U, then U      Convert selection to uppercase
Ctrl-U, then L      Convert selection to lowercase       Ctrl-/              Add/remove comment lines
                                                                                                              Ctrl-F5             Start debugging main project
Ctrl-U, then S      Toggle case of selection             Ctrl-E              Delete current line
                                                                                                              Ctrl-Shift-F5       Start debugging current file
Ctrl-Shift-V        Paste formatted                      Coding in C/C++                                      Ctrl-Shift-F6       Start debugging test for file
Ctrl-I              Jump to quick search field                                                                                    (JUnit)
                                                         Alt-Shift-C         Go to declaration                Shift-F5/F5         Stop/Continue debugging session
Navigating through Source Code                           Ctrl-F9             Evaluate expression              F4                  Run to cursor location in file
Ctrl-O/Alt-Shift-O Go to type/file                       Coding in Ruby                                       F7/F8               Step into/over
Ctrl-Shift-T        Go to JUnit test                                                                          Ctrl-F7             Step out
Alt-O               Go to source                         Ctrl-Shift-A        Jump Rails action > view         Ctrl-Alt-Up         Go to called method
Ctrl-B              Go to declaration                    Alt-Shift-          Select Next/Previous element     Ctrl-Alt-Down       Go to calling method
Ctrl-G              Go to line                           Period/Comma                                         Ctrl-F9             Evaluate expression
Ctrl-Shift-M        Toggle add/remove bookmark           Ctrl-Shift-Space    Show documentation               Ctrl-F8             Toggle breakpoint
Ctrl-Shift-         Next/previous bookmark               Ctrl-Shift-T        Jump from test file to file      Ctrl-Shift-F8       New breakpoint
Period/Comma                                             Compiling, Testing, and Running                      Ctrl-Shift-F7       New watch
Ctrl-Period/CommaNext/previous usage/compile                                                                  When typing in the Source Editor, generate the text in
                    error                                F9                 Compile package/ file
                                                         F11                Build main project                the right-column below by typing the abbreviation that is
Ctrl-Shift-1/2/3    Select in Projects/Files/Favorites                                                        listed in the left-column and then pressing Tab.
Ctrl-[              Move caret to matching bracket       Shift-F11          Clean & build main project
Ctrl-K/Ctrl-Shift K Next/previous word match             Ctrl-Q             Set request parameters            Java Editor Code Templates
Alt-Left/Alt-       Go backward/forward/to last          Ctrl-Shift-U       Create JUnit test
                                                                                                              En        Enumeration
Right/Ctrl-Q        edit                                 Ctrl-F6/Alt-F6     Run JUnit test on file/project    Ex        Exception
Alt Up/Down         Next/previous marked                 F6/Shift-F6        Run main project/file             Ob        Object
                    occurrence                                                                                Psf       public static final
                                                                                                              Psfb      public static final boolean
                                                                                                              Psfi      public static final int
                                                                                                              Psfs      public static final String
                                                                                                              St        String
Highlights of NetBeans IDE 6.9 Keyboard Shortcuts & Code Templates
ab        abstract                                       le       length                                        JSP Editor Code Templates
as        assert true;                                   na       native
bcom      /**/                                           newo     Object name = new Object(args);               ag      application.getAttribute("|")
bo        boolean                                        pe       protected                                     ap      application.putAttribute("|",)
br        break;                                         pr       private                                       ar      application.removeAttribute("|")
ca        catch (                                        psf      private static final                          cfgi    config.getInitParameter("|")
cl        class                                          psfb     private static final boolean                  jspf    <jsp:forward page="|"/>
cn        continue                                       psfi     private static final int                              <jsp:getProperty name="|"
                                                                                                                jspg
db        double                                         psfs     private static final String                            property="" />
df        default:                                       pst      printStackTrace();                            jspi    <jsp:include page="|"/>
dowhile   do {                                           psvm     public static void main(String[] args){               <jsp:plugin type="|" code=""
                                                                                                                jspp
          } while (condition);                                    }                                                      codebase=""></jsp:plugin>
eq        equals                                         pu       public                                        jsps    <jsp:setProperty name="|" property=""/>
ex        extends                                        re       return                                        jspu    <jsp:useBean id="I" type=""/>
fa        false                                          runn     Runnable runnable = new Runnable() {          oup     out.print("|")
fcom      // <editor-fold></editor-fold>                           public void run() {}};                       oupl    out.println("|")
fi        final                                          serr     System.err.println ("|");                     pcg     pageContext.getAttribute("|")
fl        float                                          sh       short                                         pcgn    pageContext.getAttributeNamesInScope("|")
          for (Iterator it = collection.iterator();      sout     System.out.println ("|");                     pcgs    pageContext.getAttributesScope("|")
forc                                                                                                            pcr     pageContext.removeAttribute("|")
              it.hasNext();) {                           soutv    System.out.println("Object = " + Object);
              Object elem = (Object) it.next();          st       static                                        pcs     pageContext.setAttribute("|",)
          }                                              su       super                                         pg      <%@page |%>
fore      for (Object elem : iterable) {                 sw       switch (var) { case val: break;               pga     <%@page autoFlush="false"%>
          }                                                          default: throw new AssertionError();}      pgb     <%@page buffer="|kb"%>
fori      for (int i = 0; i < arr.length; i++) {}        sy       synchronized                                  pgc     <%@page contentType="|"%>
forl      for (int i = 0; i < lst.size(); i++) {         tds      Thread.dumpStack();                           pgerr   <%@page errorPage="|"%>
            Object object = lst.get(i); }                th       throws                                        pgex    <%@page extends="|"%>
forst     for (StringTokenizer st = new                  tr       transient                                     pgie    <%@page isErrorPage="true"%>
           StringTokenizer(""); st.hasMoreTokens();) }   trycatch try {}                                        pgim    <%@page import="|"%>
forv      for (int i = 0; i < vct.size(); i++) {                   catch (Exception e) {}                       pgin    <%@page info="|"%>
           Object object = vct.elementAt(i);}            tw       throw                                         pgit    <%@page isThreadSafe="false"%>
fy        finally{ |}                                    twn      throw new                                     pgl     <%@page language="java"%>
ie        interface                                      vo       volatile                                      pgs     <%@page session="false"%>
ifelse    if (condition){}else {                         wh       while (                                       rg      request.getParameter("|")
          }                                              whileit  while (it.hasNext()) {                        sg      session.getAttribute("|")
iff       if (exp) {}                                                Object elem = (Object) it.next();}         sp      session.setAttribute("|", )
im        implements                                                                                            sr      session.removeAttribute("|")
inst      if (exp instanceof Object) {                   whilen    while (en.hasMoreElements()) {               tglb    <%@taglib uri="|"%>
            Object obj = (Object) exp;                              Object elem = (Object) en.nextElement();}
iof       instanceof
 ir       import                                         whilexp   while (exp) {}

More Related Content

Viewers also liked

Konsep oop pada php dan mvc pada php framework, 1200631047 1200631018 1200631028
Konsep oop pada php dan mvc pada php framework, 1200631047 1200631018 1200631028Konsep oop pada php dan mvc pada php framework, 1200631047 1200631018 1200631028
Konsep oop pada php dan mvc pada php framework, 1200631047 1200631018 1200631028iis dahlia
 
GUI Programming in JAVA (Using Netbeans) - A Review
GUI Programming in JAVA (Using Netbeans) -  A ReviewGUI Programming in JAVA (Using Netbeans) -  A Review
GUI Programming in JAVA (Using Netbeans) - A ReviewFernando Torres
 
GUI Programming In Java
GUI Programming In JavaGUI Programming In Java
GUI Programming In Javayht4ever
 

Viewers also liked (7)

State of NetBeans
State of NetBeansState of NetBeans
State of NetBeans
 
Konsep oop pada php dan mvc pada php framework, 1200631047 1200631018 1200631028
Konsep oop pada php dan mvc pada php framework, 1200631047 1200631018 1200631028Konsep oop pada php dan mvc pada php framework, 1200631047 1200631018 1200631028
Konsep oop pada php dan mvc pada php framework, 1200631047 1200631018 1200631028
 
Administrasi MongoDB
Administrasi MongoDBAdministrasi MongoDB
Administrasi MongoDB
 
Java swings
Java swingsJava swings
Java swings
 
Method pada Java
Method pada JavaMethod pada Java
Method pada Java
 
GUI Programming in JAVA (Using Netbeans) - A Review
GUI Programming in JAVA (Using Netbeans) -  A ReviewGUI Programming in JAVA (Using Netbeans) -  A Review
GUI Programming in JAVA (Using Netbeans) - A Review
 
GUI Programming In Java
GUI Programming In JavaGUI Programming In Java
GUI Programming In Java
 

Similar to Netbeans help

Netbeans 8.0 Keyboard Shortcuts & Code Templates
Netbeans 8.0 Keyboard Shortcuts & Code TemplatesNetbeans 8.0 Keyboard Shortcuts & Code Templates
Netbeans 8.0 Keyboard Shortcuts & Code TemplatesMollah Nayeem Ahmed
 
best hotels in Pune
best hotels in Punebest hotels in Pune
best hotels in PuneKhushiRaj39
 
Shortcuts JAVA
Shortcuts JAVAShortcuts JAVA
Shortcuts JAVATito O
 
IntelliJIDEA_ReferenceCard.pdf
IntelliJIDEA_ReferenceCard.pdfIntelliJIDEA_ReferenceCard.pdf
IntelliJIDEA_ReferenceCard.pdfDvrIsis2
 
IntelliJ IDEA Default Keymap
IntelliJ IDEA Default KeymapIntelliJ IDEA Default Keymap
IntelliJ IDEA Default KeymapThanh Nguyen
 
Eclipse shortcut[most usuage]
Eclipse shortcut[most usuage]Eclipse shortcut[most usuage]
Eclipse shortcut[most usuage]Siddiq Abu Bakkar
 
Using eclipse-shortcuts-key-for-fast-coding
Using eclipse-shortcuts-key-for-fast-codingUsing eclipse-shortcuts-key-for-fast-coding
Using eclipse-shortcuts-key-for-fast-codingParikshit Kumar Singh
 
High productivity development with Eclipse and Java 8
High productivity development with Eclipse and Java 8High productivity development with Eclipse and Java 8
High productivity development with Eclipse and Java 8Noopur Gupta
 
Visual Studio 2010 - Microsoft Visual C# Key Bindings
Visual Studio 2010 - Microsoft Visual C# Key BindingsVisual Studio 2010 - Microsoft Visual C# Key Bindings
Visual Studio 2010 - Microsoft Visual C# Key BindingsGlobalLogic Ukraine
 
Quick reference r2005
Quick reference r2005Quick reference r2005
Quick reference r2005Alaa Wafa
 
Phim tat-macbook
 Phim tat-macbook Phim tat-macbook
Phim tat-macbookVân Anh
 

Similar to Netbeans help (20)

Netbeans 8.0 Keyboard Shortcuts & Code Templates
Netbeans 8.0 Keyboard Shortcuts & Code TemplatesNetbeans 8.0 Keyboard Shortcuts & Code Templates
Netbeans 8.0 Keyboard Shortcuts & Code Templates
 
Shortcuts
ShortcutsShortcuts
Shortcuts
 
best hotels in Pune
best hotels in Punebest hotels in Pune
best hotels in Pune
 
Shortcuts JAVA
Shortcuts JAVAShortcuts JAVA
Shortcuts JAVA
 
IntelliJIDEA_ReferenceCard.pdf
IntelliJIDEA_ReferenceCard.pdfIntelliJIDEA_ReferenceCard.pdf
IntelliJIDEA_ReferenceCard.pdf
 
Php storm reference_card
Php storm reference_cardPhp storm reference_card
Php storm reference_card
 
IntelliJ IDEA Default Keymap
IntelliJ IDEA Default KeymapIntelliJ IDEA Default Keymap
IntelliJ IDEA Default Keymap
 
Eclipse shortcut[most usuage]
Eclipse shortcut[most usuage]Eclipse shortcut[most usuage]
Eclipse shortcut[most usuage]
 
Netbeans keyboard shortcut
Netbeans keyboard shortcutNetbeans keyboard shortcut
Netbeans keyboard shortcut
 
Short cutkey
Short cutkeyShort cutkey
Short cutkey
 
Ruby mine referencecard
Ruby mine referencecardRuby mine referencecard
Ruby mine referencecard
 
rstudio-ide
rstudio-iderstudio-ide
rstudio-ide
 
Using eclipse-shortcuts-key-for-fast-coding
Using eclipse-shortcuts-key-for-fast-codingUsing eclipse-shortcuts-key-for-fast-coding
Using eclipse-shortcuts-key-for-fast-coding
 
High productivity development with Eclipse and Java 8
High productivity development with Eclipse and Java 8High productivity development with Eclipse and Java 8
High productivity development with Eclipse and Java 8
 
Visual Studio 2010 - Microsoft Visual C# Key Bindings
Visual Studio 2010 - Microsoft Visual C# Key BindingsVisual Studio 2010 - Microsoft Visual C# Key Bindings
Visual Studio 2010 - Microsoft Visual C# Key Bindings
 
Notepad
NotepadNotepad
Notepad
 
groovy & grails - lecture 5
groovy & grails - lecture 5groovy & grails - lecture 5
groovy & grails - lecture 5
 
Quick reference r2005
Quick reference r2005Quick reference r2005
Quick reference r2005
 
Vim and Python
Vim and PythonVim and Python
Vim and Python
 
Phim tat-macbook
 Phim tat-macbook Phim tat-macbook
Phim tat-macbook
 

Recently uploaded

Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 

Recently uploaded (20)

Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 

Netbeans help

  • 1. Highlights of NetBeans IDE 6.9 Keyboard Shortcuts & Code Templates Finding, Searching, and Replacing Opening and Toggling between Views Coding in Java Ctrl-F3 Search word at insert point Ctrl-Tab (Ctrl-`) Toggle between open F3/Shift-F3 Find next/previous in file Alt-Insert Generate code documents Ctrl-F/H Find/Replace in file Ctrl-Shift-I Fix all class imports Shift-Escape Maximize window (toggle) Alt-F7 Find usages Alt-Shift-I Fix selected class's import Ctrl-F4/Ctrl-W Close currently selected window Ctrl-Shift-F/H Find/replace in projects Alt-Shift-F Format selection Ctrl-Shift-F4 Close all windows Alt-Shift-U Find usages results Alt-Shift Left/ Shift lines left/right/up/down Shift-F10 Open contextual menu Alt-Shift-H Turn off search result highlights Right/Up/Down Alt-Shift-D Undock window Ctrl-R Rename Ctrl-Shift-Up/D Copy lines up/down Ctrl/Alt-F12 Inspect members/hierarchy Debugging Ctrl-U, then U Convert selection to uppercase Ctrl-U, then L Convert selection to lowercase Ctrl-/ Add/remove comment lines Ctrl-F5 Start debugging main project Ctrl-U, then S Toggle case of selection Ctrl-E Delete current line Ctrl-Shift-F5 Start debugging current file Ctrl-Shift-V Paste formatted Coding in C/C++ Ctrl-Shift-F6 Start debugging test for file Ctrl-I Jump to quick search field (JUnit) Alt-Shift-C Go to declaration Shift-F5/F5 Stop/Continue debugging session Navigating through Source Code Ctrl-F9 Evaluate expression F4 Run to cursor location in file Ctrl-O/Alt-Shift-O Go to type/file Coding in Ruby F7/F8 Step into/over Ctrl-Shift-T Go to JUnit test Ctrl-F7 Step out Alt-O Go to source Ctrl-Shift-A Jump Rails action > view Ctrl-Alt-Up Go to called method Ctrl-B Go to declaration Alt-Shift- Select Next/Previous element Ctrl-Alt-Down Go to calling method Ctrl-G Go to line Period/Comma Ctrl-F9 Evaluate expression Ctrl-Shift-M Toggle add/remove bookmark Ctrl-Shift-Space Show documentation Ctrl-F8 Toggle breakpoint Ctrl-Shift- Next/previous bookmark Ctrl-Shift-T Jump from test file to file Ctrl-Shift-F8 New breakpoint Period/Comma Compiling, Testing, and Running Ctrl-Shift-F7 New watch Ctrl-Period/CommaNext/previous usage/compile When typing in the Source Editor, generate the text in error F9 Compile package/ file F11 Build main project the right-column below by typing the abbreviation that is Ctrl-Shift-1/2/3 Select in Projects/Files/Favorites listed in the left-column and then pressing Tab. Ctrl-[ Move caret to matching bracket Shift-F11 Clean & build main project Ctrl-K/Ctrl-Shift K Next/previous word match Ctrl-Q Set request parameters Java Editor Code Templates Alt-Left/Alt- Go backward/forward/to last Ctrl-Shift-U Create JUnit test En Enumeration Right/Ctrl-Q edit Ctrl-F6/Alt-F6 Run JUnit test on file/project Ex Exception Alt Up/Down Next/previous marked F6/Shift-F6 Run main project/file Ob Object occurrence Psf public static final Psfb public static final boolean Psfi public static final int Psfs public static final String St String
  • 2. Highlights of NetBeans IDE 6.9 Keyboard Shortcuts & Code Templates ab abstract le length JSP Editor Code Templates as assert true; na native bcom /**/ newo Object name = new Object(args); ag application.getAttribute("|") bo boolean pe protected ap application.putAttribute("|",) br break; pr private ar application.removeAttribute("|") ca catch ( psf private static final cfgi config.getInitParameter("|") cl class psfb private static final boolean jspf <jsp:forward page="|"/> cn continue psfi private static final int <jsp:getProperty name="|" jspg db double psfs private static final String property="" /> df default: pst printStackTrace(); jspi <jsp:include page="|"/> dowhile do { psvm public static void main(String[] args){ <jsp:plugin type="|" code="" jspp } while (condition); } codebase=""></jsp:plugin> eq equals pu public jsps <jsp:setProperty name="|" property=""/> ex extends re return jspu <jsp:useBean id="I" type=""/> fa false runn Runnable runnable = new Runnable() { oup out.print("|") fcom // <editor-fold></editor-fold> public void run() {}}; oupl out.println("|") fi final serr System.err.println ("|"); pcg pageContext.getAttribute("|") fl float sh short pcgn pageContext.getAttributeNamesInScope("|") for (Iterator it = collection.iterator(); sout System.out.println ("|"); pcgs pageContext.getAttributesScope("|") forc pcr pageContext.removeAttribute("|") it.hasNext();) { soutv System.out.println("Object = " + Object); Object elem = (Object) it.next(); st static pcs pageContext.setAttribute("|",) } su super pg <%@page |%> fore for (Object elem : iterable) { sw switch (var) { case val: break; pga <%@page autoFlush="false"%> } default: throw new AssertionError();} pgb <%@page buffer="|kb"%> fori for (int i = 0; i < arr.length; i++) {} sy synchronized pgc <%@page contentType="|"%> forl for (int i = 0; i < lst.size(); i++) { tds Thread.dumpStack(); pgerr <%@page errorPage="|"%> Object object = lst.get(i); } th throws pgex <%@page extends="|"%> forst for (StringTokenizer st = new tr transient pgie <%@page isErrorPage="true"%> StringTokenizer(""); st.hasMoreTokens();) } trycatch try {} pgim <%@page import="|"%> forv for (int i = 0; i < vct.size(); i++) { catch (Exception e) {} pgin <%@page info="|"%> Object object = vct.elementAt(i);} tw throw pgit <%@page isThreadSafe="false"%> fy finally{ |} twn throw new pgl <%@page language="java"%> ie interface vo volatile pgs <%@page session="false"%> ifelse if (condition){}else { wh while ( rg request.getParameter("|") } whileit while (it.hasNext()) { sg session.getAttribute("|") iff if (exp) {} Object elem = (Object) it.next();} sp session.setAttribute("|", ) im implements sr session.removeAttribute("|") inst if (exp instanceof Object) { whilen while (en.hasMoreElements()) { tglb <%@taglib uri="|"%> Object obj = (Object) exp; Object elem = (Object) en.nextElement();} iof instanceof ir import whilexp while (exp) {}