目录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首先须要在项目中做以下设置
