Be more productive with Eclipse, RAD, MyEclipse ... or Dazzel your co-workers with your new found jedi powers for pushing your editor around.
I have been compiling shortcuts and tips that I use day-to-day for Eclipse Most will work for Rational Application Developer 6 and above.
I get asked quite a bit when I'm at other peoples desks how I can move so fast in the editor. Knowing the tool helps. Just learn a little each day about it. I'll be adding them as I they come up.
If you have short cuts or hot keys you would like me to add, send em on! Please, do say why they help you.
Tip: Put some tape on your mouse buttons to remind you to stop using it. Try to put the code down as you think about it.
*Most of these short cuts have been tried on Ubuntu Linux.
- CTRL + F8
- Switches your open perspectives. I like this when switching from a CVS perspective to a Java perspective.
- CTRL + F7
- Switches your views.
- CTRL + F6
- Move to different editors
- CTRL + M
- This one toggles the current window between maximized and regular.
- CTRL + F3
- Displays all the methods in the class you are working in and jumps to that one. I'm sure no one would write a 5000 line class but it's helpful when you need to refactor them.
- CTRL + J
- Incremental Find! Yes this one is great since you don't have to open another window. Look down at the status bar on the bottom when you use this one.
- CTRL + SHIFT + O
- Orginize imports. I'm sure everyone knows this one. Also, along this line, right clicking the project can do mass orginisation.
- ALT + SHIFT + S
- Hooks you up with the source options
- ALT + SHIFT + S + R
- Generate your accessors for your beans. This is a must know. If you are Groovy you can skip this step.
- F3
- On a methods opens that declaration in that class
- ALT + SHIFT + X
- This opens a sweet menu with short cuts for running your code, jUnits, Groovy if you have that installed. Anything in Run XX Run As XX your runner.
- ALT + SHIFT + D
- Same as the above except for Debug.
- Select a few lines or one and use the arrow to move that line or block up and down.
- Great for moving blocks of code up and down.
Feed Back
By: Java Donkey
By: Ex-Eclipse User
By: Jeremy Weiskotten
By: Dave Newton
By: Alex Miller
By: chris
By: mk
By: Raju
By: doyle