Havent we all seen nested loofs and if statements spanning over 100’s of lines ?The problem then is to finding out where the different code blocks are starting and ending.
Eclipse shortcuts can help you there.
Place the cursor after the opening bracket, press Crtl+Shift+P and poof you are at the end of the codeblock..
Changing keyboard shortcuts in eclipse is really easy task.
Goto windows-preferences and type key in the input field.
This will open the dialog below and you can play around changing shortcuts as pleased.
After writing my first two articles on this subject i saw the popularity on the topic. So i decided to digg around and have a look at whats out there on other sites to.
I have always been a fan of using keyboard shortcuts when im working with gui based applications.
And i was happy when someone sent me a link to these posts:
FlexBuilder / Eclipse keyboard shortcuts that will change your life
Eclipse 3.5 and FDT 3.2 for Actionscript development – Part 5 – Keyboard Shortcut
In addition i also have [...]
(Blog post moved from gwinnem.wordpress.com)
This is the shortcuts i use most of the time.
Shortcuts
Most Common
Delete line
ctrl + d
Go to Method
ctrl + o
Format Code
ctrl + shift + f
Last Edit
ctrl + q
Line Number
ctrl + l
Move line(s)
alt + up/down
Open Resource
ctrl + shift + r
Open Proj Prop
alt + enter
Open Type
ctrl + shift + t
Run Java App
alt + shift + [...]