標籤:for exe java 詞典 out cli atl 灰色 查看
外掛程式配置 ctrl+alt+s
- 搜尋maven,進行配置maven倉庫
- 搜尋plugins添加mybatis外掛程式
- 搜尋git配置路徑指向安裝目錄的git.exe
- 有道詞典外掛程式:Translation(alt + 0 和 alt+1)
- maven視圖外掛程式 搜尋maven helper
- 主題地址:http://www.riaway.com/themeshow.php?tid=58$cid=1
- 外掛程式網站:http://www.hollischuang.com/archives/966
常用快速鍵
- try catch : ctrl + alt + T
- 參數名提示 : ctrl + p
- 忽略大小寫設定:code completion 中 第一個選擇框改為none
- 自動補全:alt + enter 或者 ctrl + alt + V
- 格式化: ctrl + alt + L
- 匯入包:ctrl + enter
- 最佳化包:ctrl + alt + o
- get set 構造:alt + insert
- Ctrl+Alt+I,將選中的代碼進行自動縮排編排
- ctrl + Q 傳回值提示
調式
- F9 resume programe 恢複程式
- Alt+F10 show execution point 顯示執行斷點
- F8 Step Over 相當於eclipse的f6 跳到下一步
- F7 Step Into 相當於eclipse的f5就是 進入到代碼
- Alt+shift+F7 Force Step Into 這個是強制進入代碼
- Shift+F8 Step Out 相當於eclipse的f8跳到下一個斷點,也相當於eclipse的f7跳出函數
- Atl+F9 Run To Cursor 運行到游標處
- ctrl+shift+F9 debug運行java類
- ctrl+shift+F10 正常運行java類
- alt+F8 debug時選中查看值
添加SerialVersionUID
ctrl+alt+s 下搜尋Inspections在Java下 Serialization issues 下 Serializable class without ‘SerialVersionUID‘
去除IDEA報黃色或灰色的重複代碼的下劃波浪線
ctrl+alt+s 下搜尋Inspections在General下Duplicated Code 取消勾選.提交之後就可以了
配置如何查看位元組碼
ctrl+alt+s 下搜尋External Tools 新增添加如下內容name中填寫Show Byte CodeProgram中填寫$JDKPath$\bin\javap.exeParameters中填寫-c $FileClass$Working中填寫$OutputPath$點擊OK最後在類中右鍵選擇External Tools 下Show Byte Code
java之idea基本配置