Sign in to follow this  
d000hg

[java] Does eclipse support nice shortcut macros?

Recommended Posts

I'm getting sick of typing "private final" in Eclipse Europa. Is there a convenient mechanism to shortcut this? I'd rather not use CTRL+P,F as that stretches my hands (not good for my RSI) and is actually less convenient than just typing. Any ideas?

Share this post


Link to post
Share on other sites
You can setup templates; Window -> Preferences; Java -> Editor -> Templates

You only have to type the template name, then press Ctrl + Space; and Eclipse inserts the pattern (Unless there's multiple items with the same name; then it displays them all in a list).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this