Reputation: 1479
In Eclipse IDE, open "template" view, it has a button "Insert into Editor", how can I bind a key shortcut to it ?
Thanks.
Upvotes: 5
Views: 5685
Reputation: 39433
Use Ctrl+Space
twice to elicit the template dialog (usually comes with the desired template selected).
Upvotes: 2
Reputation: 20803
Using key combination ctrl+Space
on a context ( for example text "main") will open the code template pane in your editor and you can use arrow keys to select the template you want to insert.
Upvotes: 3