Intellij IDEA有用、效率配置

Intellij IDEA設置位置:File->Setting,後面Setting默認在此位置下。

1)通過Ctrl + 鼠標滾輪改變字號
選中Setting->Editor->General->Change font size(Zoom) with Ctrl + Mouse Wheel

2)編輯提示相關
a)高亮匹配的括號:選中Setting->Editor->General->Highlight matched brace
b)高亮當前作用域:選中Setting->Editor->General->Highlight current scope
c)顯示行號:選中Setting->Editor->General->Appearance->Show line numbers

3)字體和字號
代碼顯示區:Setting->Editor->Colors & Fonts->Font
編輯框:Setting->Appearance & Behavior->Appearance->Override default fonts by (not recommended)
字號需要根據顯示器分辨率修改。

4)顯示scala變量類型
IDEA默認鼠標放在變量上顯示變量的類型:
Settings->Languages & Frameworks->Scala->Show type info on mouse motion with delay

5)自定義快捷鍵
Settings->Appearance & Behavior->Keymap
鍵盤流必備,開發效率有一定提升,附件有博主自用快捷鍵,vim型,取用自便。

6)常用語句縮寫
main、sout、psvm等等
Settings->Editor->Live Templates,根據所需語言設置

7)自動不全不區分大小寫
Settings->Editor->General->Code Completion->Case sensitive completion設置爲None

8)顯示代碼行數
選中Settings->Editor->Appearance->Show line number

9)修改tab鍵和編輯器的光標位置
Settings->Editor,Allow placement of caret after end of line取消選中

10)快捷工具欄
編輯界面下,view->toolbar,返回上一個光標編輯位置等功能

11)自動保存文件
選中Settings->Appearance & Behavior-> System Settings->Save file automatically if application is idle for XX sec.(XX爲自動保存時間間隔)

12)IDEA啓動時不打開工程
Settings->Appearance & Behavior->System Settings->Reopen last project on startup取消選中
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章