Chmouel Boudjnah
Chmouel Boudjnah

Reputation: 2559

Shortcut key to Snippet in eclipse

I use a lot code templates which are great and I do control-space - control-space and choose my templates (down/down etc...)

I would like to have some code templates bind to a key for example the Template 'if' bind to control-meta i

Do you know if that's it possible or is there a plugin for that?

Thanks,

Upvotes: 4

Views: 4293

Answers (2)

Pradhan
Pradhan

Reputation: 508

Use Java Code Templates in Eclipse. Window->Preferences->Java -> Editor -> Templates

Useful Eclipse Java Code Templates

Upvotes: 0

ewang
ewang

Reputation: 31

CFEclipse plugin might be what you want. update site: http://cfeclipse.org/update

Upvotes: 3

Related Questions