- 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
- a:Java代碼區(qū)域的字體大小和顏色:
- 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)快速打開返回值類型




