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,
- NetBeans
- Eclipse
- IntelliJ IDEA
- My Eclipse
- IBM RAD
NetBeans Shortcuts
- Ctrl-Space Code completion
- Esc Close code completion
- Shift-Space Enter a space without expanding an abbreviation
- Alt-F1 Display Javadoc
- Shift-F1 Search Javadoc
- Alt-Shift-I Import class
- Alt-G Go to declaration
- Alt-O Go to source
- Crtl-; Add semicolon to the line on cursor
- F9 Compile selected file/package
- Ctrl-Shift-F9 Compile project
- Alt-Shift-C Stop compilation
- F6 Run selected file
- Ctrl-Shift-F6 Run project
Eclipse Shortcuts
- Ctrl-1 Quick fix errors
- Ctrl-T Find class (From jar files also)
- Ctrl-R Find resource files
- Ctrl-Shift-O Organize imports
- F3 Go to declaration
- Ctrl-/ Commenting and Uncommenting lines
- Ctrl-Shift-F Text Formatting
- Ctrl-E Switch to other open editors
- Ctrl-W Close current file
- Ctrl-D Delete a line
- Ctrl-Q Go to last modified line
IntelliJ IDEA Shortcuts
- Alt-F1 Switch between views(Project,Structure.etc)
- Alt-Home Show Navigation Bar
- Ctrl-J Insert a live template
- Alt-Enter Quick fix
- Ctrl-Space Invoke Code Completion
- Ctrl-N Find Class by name
- Ctrl-D Duplicate the current line or selection
- Ctrl-Shift-Enter Smart Statement Completion
MyEclipse Shortcuts
- Shift-Ctrl-E Switch to Editor
- Ctrl-F10 Show view menu
- Shift-Ctrl-/ Add Block comment
- Shift-Ctrl-M Add Import
- Shift-Alt-J Add Javadoc comment
- Ctrl-F11 Run
- F3 Open Declaration
- Shift-F2 Open attached JavaDoc
- Ctrl-1 Quick Fix
- Alt-/ Word Completion
- Ctrl+B Build All
IBM RAD Shortcuts
- Ctrl-1 Quick Fix
- Ctrl-/ Comment
- Ctrl-\ Uncomment
- Ctrl-E Next Problem
- Ctrl-Shift-E Previous Problem
- Ctrl-F11 Run
- Ctrl-U Run Snippet
- Ctrl-Space Content Assist
0 comments:
Post a Comment