Eclipse Tips

Here are eclipse tips and tricks that I find useful in everyday use of eclipse.

Eclipse shortcuts: Shortcuts I use everyday

  1. Ctrl+1 seems to be the most useful shortcut of eclipse. It shows the quick help. e.g. create getter and setter on a property or rename a property. If you see an error or warning somewhere in the editor press ctrl+1 all eclipse suggested actions will popup.
  2. Ctrl+Shift+R shows the resources search box.
  3. Ctrl+Shift+T shows all the Types (Classes) in the workspace. You can even search the classes in the jars.
  4. Ctrl+PgUp/Ctrl+PgDn for going to previous or next tab.
  5. Ctrl+H search the worksapce.
  6. Ctrl+/ comments out the selected lines. If you select lines of codes that have been commented out, you can uncomment them using the same shortcut but the precondition is that all the lines should be commented out.
  7. Ctrl+D is another useful shortcut. It deletes the line on which the cursor is present. Also deleted the lines that are selected.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.