Eclipse templates

Eclipse templates

you should know its default hotkey is ctrl + space,but it maybe be used by other software.

and you can edit the hot key map,  在keys設定中 Content Assist 的設定默認 alt + / ,ok!!!

1,在window->preferences->java->editors->templates中定義模板

編輯的時候,錄入模板的名字,然後alt+/

比如,錄入runnable,敲alt+/,能看到什麼?

2,向上(下)複製一行

ctrl+alt+up(down)

3,向上(下)移動一行

alt+up(down)

4,

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章