问题
In Eclipse IDE, open "template" view, it has a button "Insert into Editor", how can I bind a key shortcut to it ?
Thanks.
回答1:
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.
回答2:
Use Ctrl+Space
twice to elicit the template dialog (usually comes with the desired template selected).
来源:https://stackoverflow.com/questions/5665179/eclipse-ide-template-key-shortcut