EclipseMAC快捷鍵使用

  • D:字體大小及顏色
    • a:Java代碼區(qū)域的字體大小和顏色:
      • window -- Preferences -- General -- Appearance -- Colors And Fonts --Java修改 -- Java Edit Text Font
    • b:控制臺
      • window -- Preferences -- General -- Appearance -- Colors And Fonts -- Debug -- Console font
    • c:其他文件
      • window -- Preferences -- General -- Appearance -- Colors And Fonts -- Basic -- Text Font
  • E:窗體給弄亂了,怎么辦?
    • window -- Reset Perspective
  • F:控制臺找不到了,怎么辦?
    • Window--Show View—Console

快捷鍵##

  • Alt + / 起到提示作用
  • A:新建 command + n
  • B:格式化 command+shift+f
  • C:導入包 command+shift+o
  • D:注釋 command+/ conmmand + control + /多行注釋。。conmmand + control + \取消注釋
  • E:代碼上下移動 選中代碼alt+上/下箭頭
  • F:查看源碼 選中類名(F3或者command+鼠標點擊)
  • G:查找具體的類 command + shift + t
  • H:查找具體類的具體方法 command + o
  • I:給建議 command+1, 根據(jù)右邊生成左邊的數(shù)據(jù)類型,生成方法
  • J:刪除代碼 command + d
  • command + alt + 上下鍵===復制一行
  • K:抽取方法alt + shift + m mac: alt + command + m
  • L:改名alt + shift + r mac: alt + command + r
  • 快速生成getter和setter方法:alt + command + s
  • commond + o 文件內(nèi)查找
  • command + 1根據(jù)方法名生成對應的方法。
  • command + shift + t 跳轉(zhuǎn)到對應的類,相當與 command + 點擊
  • 拋異常:在報錯上command + 1
  • 查找源代碼類:command + shift + t
  • command + alt + r 修改多個相同的字符
  • alt + shift + z (try catch快捷鍵)選中一段代碼,alt + shift + z
  • 增強for循環(huán)fore
  • alt + shift + r 修改文件名字
  • command + shift + t 查找系統(tǒng)的類
  • command + o 在類中查找方法
  • command + f 在類中查找關(guān)鍵字
  • command + d 刪除整行


    Snip20170514_242.png

快捷方法##

  • command + alt + s
  • try catch


    Snip20170611_59.png
  • command + t
Snip20170815_111.png
  • alt + shift + s ------------ command + alt + s


    Snip20170816_159.png
  • command + shift + t 查找系統(tǒng)的類


    Snip20170830_2.png
  • command + T 快速打開子類


    Snip20171013_7.png
  • alt + shift + s 自動生成判別方法

屏幕快照 2017-10-14 下午5.43.37.png
  • command + alt + L(shift + alt + L)快速打開返回值類型
最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容