EDITORIAL : I was sailing to the sea , the nickname comes from the name of my girlfriend's name as well. I love technology, open source love, love programming.Technology is open source, knowledge is shared.
This blog is a little summary and record their own learning, if you have the Java , algorithms interested, you can focus on my dynamic, we learn together.
With the knowledge to change the fate, let our family live a better life。
Learning to use some plug-ins, developers can improve the efficiency of ordinary work. For our developers very helpful!
IDEA inside, select Open File -> Settings -> Plugins, Plugins can search inside
1. Alibaba Java Coding Guidelines
Alibaba code specifications check-ins
Features:
Code standards checking
Instructions:
You need to check on behalf of the above, right click and select coding Statute scan
test results shown below will appear, and will give tips and coding specifications:
2. FindBugs-IDEA
Bug check-ins
Features:
This plug-in can help us find the hidden bug, the more important function is to locate potential null pointer.
All documents can analyze the current file, including the following, files in the entire module, files in the entire project. It can help us to check hidden Bug
Instructions:
On the file or click inside the right mouse button, select FingBugs
3. Key promoter
KeyTips plug
Features:
When you use the mouse on a button within the IDE, the key will start the X keyboard shortcuts that you ought to use.
Instructions:
When you click the mouse a function of time, what you can prompt the function keys yes.
For example, I clicked debug, when I clicked again next time, it will prompt shortcut debug is Ctrl + Shift + F10
4. Translation
Translation plugin
Features:
In the usual development, sometimes for naming variables in whether a headache, this plugin can help you.
Instructions:
选中你要翻译的汉语或英文,点击鼠标右键,选择Translate, (快捷键是Ctrl + Shift + Y)就会实现翻译,不用再去切换屏幕使用翻译软件翻译了。
5. Maven Helper
分析依赖冲突的插件
此插件可用来方便显示maven的依赖树,和显示冲突,在我们梳理依赖时帮助很大。
使用方法:
安装好后在pom文件的左下角有两个tab,打开Dependency Analyzer:
可以查看依赖冲突
可以清晰的查看maven依赖树
6. Free Mybatis plugin
增强idea对mybatis支持的插件
主要功能如下:
- 生成mapper xml文件
- 快速从代码跳转到mapper及从mapper返回代码
- mybatis自动补全及语法错误提示
- 集成mybatis generator gui界面
这个插件超级实用,可以从mapper接口跳转到mybatis的xml文件中,还能找到对应的方
使用方法:
点击箭头可以实现跳转
7. Grep Console
日志高亮显示插件
功能:
当你密密麻麻一大片的日志,去查看起来,很容易看花眼;使用该插件实现高亮显示
8. Rainbow Brackets
功能:
可以实现配对括号相同颜色,并且实现选中区域代码高亮的功能。
9. Lombok
功能:
当我们创建一个实体时,通常对每个字段去生成GET/SET方法,但是万一后面需要增加或者减少字段时,又要重新的去生成GET/SET方法,非常麻烦。可以通过该插件,无需再写那么多冗余的get/set代码。
注意:需要在pom引入依赖
<!--lombok用来简化实体类:需要安装lombok插件-->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
10. CodeGlance
代码编辑区缩略图插件
功能:
可以快速定位代码,使用起来比拖动滚动条方便多了
最后介绍一个没有用的插件,哈哈
Nyan progress bar
基于Idea使用的漂亮进度条。把你的加载进度条全都变成彩虹和猫咪
由于水平有限,本博客难免有不足,恳请各位大佬不吝赐教!