1、安裝插件MyBatisCodeHelper-Pro,下載完后重啟IDEA即可使用mapper接口跳轉(zhuǎn)至mapper文件對(duì)應(yīng)方法的功能

安裝插件
2、點(diǎn)擊跳轉(zhuǎn)按鈕即可

3、自動(dòng)重構(gòu):修改mapper接口或mapper文件中的ID屬性或方法名后,使用快捷鍵 shift+F6
4、代碼錯(cuò)誤提示:當(dāng)mapper映射與接口不對(duì)應(yīng)時(shí),mapper映射文件的內(nèi)容會(huì)變灰色,mapper接口錯(cuò)誤的地方會(huì)變紅色;可以用 alt+回車 進(jìn)行刪除或補(bǔ)全
5、編輯mapper映射文件會(huì)自動(dòng)補(bǔ)全
6、當(dāng)下載插件速度很慢或下載一點(diǎn)點(diǎn)就報(bào)plugin mybatisCodeHalperPro download or installing failed 時(shí),可用下面的解決方法
打開(kāi)file - setting 找到下圖設(shè)置,將use secure cconnection取消勾選即可
