user534009
user534009

Reputation: 1479

Eclipse IDE template key shortcut?

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

Answers (2)

neves
neves

Reputation: 39433

Use Ctrl+Space twice to elicit the template dialog (usually comes with the desired template selected).

Upvotes: 2

ring bearer
ring bearer

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

Related Questions