Shortcuts
in Eclipse
- Getting Resource- Shift+Ctrl+R
- Getting line number- Ctrl+L
- Import Packages- Shift+Ctrl+O
Instead
of having to type the import lines, you could just write your code first in the
editor and whenever you see red squiggly lines signaling that you need to
import a specific class, all you have to do is press Ctrl + Shift + O and ALL the unknown types will be
imported. No more going into the focus popup and pressing Import for each class
- Control + I: Indent/ Alignment of code
Is your code looking like this at times?
Simply highlight the code portion that looks hard to read, press Ctrl + i to indent everything nicely.
No comments:
Post a Comment