目錄html
TOC
收集一些好用的插件供你們參考。java
Mybatis插件(推薦)
MyBatisCodeHelper-Pro
文檔地址: https://gejun123456.github.io/MyBatisCodeHelper-Pro/
功能描述:git
- 經過方法名(不須要方法的返回值和參數 會自動推導出來)來生成sql 能夠生成大部分單表操做的sql 只須要一個方法的名字便可 會自動補全好方法的參數和返回值 和springdatajpa的語句基本一致
- sql全自動提示,sql正確性檢測,插件會識別mybatis的一系列標籤 如 include trim set where,在這些標籤以後的sql能夠自動提示數據庫的字段,檢測sql的正確性,今後不用擔憂sql寫錯
- 直接從Intellij自帶的數據庫或者配置一個數據庫生成crud代碼 自動檢測好 useGeneratedkey 自動配置好模塊的文件夾 只用添加包名就能夠生成代碼了
- 從java類生成mybatis crud代碼 建表語句 支持生成service,建表支持生成多字段的索引
- 數據庫添加字段後能夠繼續生成,不會修改以前已經在接口或xml添加的自定義的方法 無需再去進行手動的添加
- mybatis接口和xml的互相跳轉 支持一個mybatis接口對應多個xml
- mybatis接口中的方法名重構支持
- xml中的 param的自動提示 if test的自動提示 resultMap refid 等的自動提示
- resultMap中的property的自動提示
- xml中refid,resultMap等的跳轉到定義
- 檢測沒有使用的xml 可一鍵刪除
- 檢測mybatis接口中方法是否有實現,沒有則報紅 可建立一個空的xml
- 檢測resultmap的property是否有誤
- param檢測 檢測#{ 中的內容是否有誤
- ognl 支持 if test when test foreach bind中的自動補全,跳轉和檢測
- mybatis接口中一鍵添加param註解
- mybatis接口一鍵生成xml
- 支持spring 將mapper注入到spring中 intellij的spring注入再也不報錯 支持springboot
- 一鍵生成mybatis接口的testcase 無需啓動spring,複雜sql可進行快速測試
- 一鍵生成兩張表關聯的join
- 一鍵從sql語句中 導出resultMap
Git相關插件
功能描述:github
- 文件語法突出顯示
- 在項目視圖中爲忽略的文件着色
- Gitignore模板按名稱和內容過濾和選擇規則生成器
- 用戶自定義模板
- 按指定的Gitignore文件顯示忽略的文件(右鍵單擊.gitignore文件)
- 在當前選擇的目錄中建立文件
- 根據GitHub的模板集合生成Gitignore規則
- 從彈出菜單將選定的文件/目錄添加到Gitignore規則
- 建議.gitignore爲新項目建立文件
- 帶有修復措施的條目檢查(重複,覆蓋,未使用,語法錯誤,相對條目)
- 註釋和括號支持
- 導航到項目視圖中的條目
- 重命名忽略文件中的條目
- 關閉打開的忽略文件操做
- 具備導入/導出功能的自定義用戶模板
- 文件語法突出顯示
- 在項目視圖中爲忽略的文件着色
- Gitignore模板按名稱和內容過濾和選擇規則生成器
- 用戶自定義模板
- 按指定的Gitignore文件顯示忽略的文件(右鍵單擊.gitignore文件)
- 在當前選擇的目錄中建立文件
- 根據GitHub的模板集合生成Gitignore規則
- 從彈出菜單將選定的文件/目錄添加到Gitignore規則
- 建議.gitignore爲新項目建立文件
- 帶有修復措施的條目檢查(重複,覆蓋,未使用,語法錯誤,相對條目)
- 註釋和括號支持
- 導航到項目視圖中的條目
- 重命名忽略文件中的條目
- 關閉打開的忽略文件操做
- 具備導入/導出功能的自定義用戶模板
Git Integration 或 Git
IDEA內提供git版本管理的基礎功能,使用git必需安裝的。
web
在Idea的狀態欄顯示git狀態,還提供了定時fecth等功能。
Featuresspring
- Git status display:
- shows number of ahead / behind commits for current branch as status bar widget
- ahead / behind, current branch, tags on HEAD as Project View decoration on modules
- can use remote tracking branch or any other 'parent' branch
- Status bar widget:
git status
- tooltip shows info for all repositories
- popup menu - status refresh
- popup menu - repository fetch
git blame
- tooltip shows detailed blame for file/line
- popup - detailed blame balloon
- action to open detailed blame balloon
- Auto fetch - runs git fetch at fixed intervals
- Push tags on current branch - available in VCS / Git
- Behind tracker - shows notification when behind count of current branch changes and is non-zero
- Branch name completion in Commit dialog - provides branch name completion inside Commit dialog message
- Blame inlined in active editor - show blame for line at caret in active editor
- Git Extender integration - can be selected as update action executed from behind tracker popup
Git Flow Integration(推薦)
用於在Idea裏面使用Gitflow工做流,使用這個插件須要先在本身的電腦上面安裝好Gitflow。
sql
GitLab Projects(推薦)
和GitLab Integration Plugin插件,使用Gitlab做爲私有倉庫時有用。
Features:數據庫
- GitLab Checkout support - add GitLab autocompleter to IDE Git checkout dialog
- GitLab Share dialog - allows quick import of new projects to GitLab, user can specify namespace and project visibility
- GitLab Merge Request dialog - user can quickly create new merge requests from current branch
- GitLab Merge Request List dialog - user can list and accept all open code reviews
Git Commint Template(推薦)
提供使用以下模板建立提交日誌的功能:springboot
<type>(<scope>): <subject>
<BLANK LINE>
<body>
<BLANK LINE>
<footer>
Alibaba Java Coding Guidelines(推薦)
用於檢查代碼是否符合阿里巴巴的代碼規範。須要在」Settings > Editor > Inspections > Ali-Check「中把檢查打開。
mybatis
Jrebel(強烈推薦)
熱部署插件,可大幅提升開發效率。
無償使用方法
激活地址:
http://jrebel.yanjiayu.cn:9001/{GUID}
https://jrebel.qekang.com/{GUID}
GenerateSerialVersionUID
用來在須要序列化的Java對象中生成GUID。
使用此插件前須要先在」Settings > Editor > Inspections > Java > Serialization issues"下把下圖中的檢查打開
Lombok(推薦)
在Idea裏面支持Lombok。Lombok的介紹1,介紹2,詳細使用說明
使用Lombok首先須要在項目中做以下設置