Keyboard shortcuts to Java IDEs

This blog is about useful keyboard shortcuts for Top 5 Java IDEs. Java is an highly scalable and platform independent programming lang...

This blog is about useful keyboard shortcuts for Top 5 Java IDEs. Java is an highly scalable and platform independent programming language, which is used by almost every programmer in the world. Since it comes under open source category it has always been the first choice for every programmer around the world. Hence, knowing the keyboard shortcuts for the Java IDE of your choice will not only increase your productivity but will give you more time for the things you like to do. Here I have listed about some useful keyboard shortcuts for 5 most used Java IDEs.

Let me first list out the top 5 Java IDEs, 
  1. NetBeans 
  2. Eclipse
  3. IntelliJ IDEA
  4. My Eclipse
  5. IBM RAD

NetBeans Shortcuts

  1. Ctrl-Space                                 Code completion
  2. Esc                                           Close code completion
  3. Shift-Space                               Enter a space without expanding an abbreviation
  4. Alt-F1                                       Display Javadoc
  5. Shift-F1                                    Search Javadoc
  6. Alt-Shift-I                                  Import class
  7. Alt-G                                        Go to declaration
  8. Alt-O                                        Go to source
  9. Crtl-;                                        Add semicolon to the line on cursor
  10. F9                                            Compile selected file/package
  11. Ctrl-Shift-F9                             Compile project
  12. Alt-Shift-C                                Stop compilation
  13. F6                                            Run selected file
  14. Ctrl-Shift-F6                              Run project

Eclipse Shortcuts

  1. Ctrl-1                                      Quick fix errors
  2. Ctrl-T                                      Find class (From jar files also)
  3. Ctrl-R                                      Find resource files
  4. Ctrl-Shift-O                             Organize imports
  5. F3                                           Go to declaration
  6. Ctrl-/                                      Commenting and Uncommenting lines
  7. Ctrl-Shift-F                              Text Formatting
  8. Ctrl-E                                      Switch to other open editors
  9. Ctrl-W                                     Close current file
  10. Ctrl-D                                      Delete a line
  11. Ctrl-Q                                      Go to last modified line

IntelliJ IDEA Shortcuts

  1. Alt-F1                                      Switch between views(Project,Structure.etc)
  2. Alt-Home                                 Show Navigation Bar
  3. Ctrl-J                                      Insert a live template
  4. Alt-Enter                                  Quick fix
  5. Ctrl-Space                                Invoke Code Completion
  6. Ctrl-N                                       Find Class by name
  7. Ctrl-D                                       Duplicate the current line or selection
  8. Ctrl-Shift-Enter                         Smart Statement Completion

MyEclipse Shortcuts

  1. Shift-Ctrl-E                               Switch to Editor
  2. Ctrl-F10                                    Show view menu
  3. Shift-Ctrl-/                               Add Block comment
  4. Shift-Ctrl-M                              Add Import
  5. Shift-Alt-J                                Add Javadoc comment
  6. Ctrl-F11                                    Run
  7. F3                                            Open Declaration
  8. Shift-F2                                    Open attached JavaDoc
  9. Ctrl-1                                       Quick Fix
  10. Alt-/                                         Word Completion
  11. Ctrl+B                                       Build All

IBM RAD Shortcuts

  1. Ctrl-1                                     Quick Fix
  2. Ctrl-/                                     Comment
  3. Ctrl-\                                      Uncomment
  4. Ctrl-E                                     Next Problem
  5. Ctrl-Shift-E                             Previous Problem
  6. Ctrl-F11                                  Run
  7. Ctrl-U                                     Run Snippet
  8. Ctrl-Space                              Content Assist



Java 2451199098984114658

Post a Comment

  1. Thank you Priya.... it is very help ful for me to make my work more easily.

  2. Your most welcome. Thank you for your comment.

  3. Thank you Priya.... it is very help ful for me to make my work more easily.

  4. The Shortcut you share here is good, but few short cut was not working. I am design an Assignment Writing Services panel on Java but the short cut is not working.

  5. digitizing services USA said...
    wow, thanks for posting this ideas and this is very helpful for developers and I am also a developer so this is very helpful for me and once again thankyou and keep it up.

  6. Explore our top-tier Blockchain Development Services to harness the power of distributed ledger technology. Our expert team offers end-to-end solutions for creating secure and efficient blockchain applications tailored to your unique business needs.

  7. Are you ready to transform your online business into a thriving digital empire? Look no further! Our Ecommerce web design company specializes in creating visually stunning, user-friendly, and high-converting online stores tailored to your unique business needs.

  8. "WebsLeague:  Logo Design company USA . " WebsLeague, a renowned American logo design firm, is committed to assisting companies all across the country in creating a distinctive and powerful corporate identity.

  9. "WebsLeague: The USA's Premier Source for Outstanding Web Design USA. WebsLeague, a leading web design firm with headquarters in the USA, is dedicated to providing innovative, personalized web solutions that are suited to the various demands of people and companies around the country.

  10. Unlock the full potential of your business with our expert web app development services. From concept to launch, we specialize in crafting tailored solutions that drive growth and enhance user experiences. Let's build something amazing together. Get in touch today!

  11. I work at Graphic Design Eye, the premier design agency. When seeking excellence, choose our agency for custom packaging design.