Eclipse IDE template key shortcut?

妖精的绣舞 提交于 2021-01-02 20:30:51

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!