Java開(kāi)發(fā)工具(Eclipse中內(nèi)容輔助鍵的使用)
- A:option+/起提示作用
- B:main+alt+/,syso+alt+/,給出其他提示
- C:補(bǔ)充輸出語(yǔ)句,選中需要輸出的部分,option+/選擇最后一項(xiàng)即可
- C:定義自己的
偏好設(shè)置--perference-Java-Editor-Templates--New
Java開(kāi)發(fā)工具(Eclipse中快捷鍵的使用)
- A:新建 command + n
- B:格式化 command+shift+f
- C:導(dǎo)入包 command +shift+o
- D:注釋 command+/,command+shift+/,command+shift+\
- E:代碼上下移動(dòng) 選中代碼alt+上/下箭頭
- F:查找具體的類 command+ shift + t* H:查找具體類的具體方法 command+ o
- G:給建議 command+1,根據(jù)右邊生成左邊的數(shù)據(jù)類型,生成方法
- H:刪除代碼 command
- I:抽取方法 option +command
- J:改名option+command+ r
Java開(kāi)發(fā)工具(Eclipse中如何提高開(kāi)發(fā)效率)
*option+command + s
- A:自動(dòng)生成構(gòu)造方法*
B:自動(dòng)生成get/set方法