Java程序员不可错过的IDEA插件[2022/01/28更新]

善用Intellij插件可大幅提升我们的效率
以下是我用过不错的Intellij插件
1. .ignore
地址:https://plugins.jetbrains.com/plugin/7495–ignore
生成各种ignore文件,一键创建git ignore文件的模板,免得自己去写
截图:

图片

2. lombok
地址:https://plugins.jetbrains.com/plugin/6317-lombok-plugin
支持lombok的各种注解,从此不用写getter setter这些 可以把注解还原为原本的java代码 非常方便
截图:

图片

3. p3c
地址:https://plugins.jetbrains.com/plugin/10046-alibaba-java-coding-guidelines
阿里巴巴出品的java代码规范插件
可以扫描整个项目 找到不规范的地方 并且大部分可以自动修复
更多可看: https://github.com/alibaba/p3c/tree/master/idea-plugin
4. FindBugs-IDEA
地址:https://plugins.jetbrains.com/plugin/3847-findbugs-idea
检测代码中可能的bug及不规范的位置,检测的模式相比p3c更多,
写完代码后检测下 避免低级bug,强烈建议用一下,一不小心就发现很多老代码的bug
截图:

图片

5. GsonFormat
地址:https://plugins.jetbrains.com/plugin/7654-gsonformat
一键根据json文本生成java类 非常方便
截图:

图片

6. Maven Helper
地址:https://plugins.jetbrains.com/plugin/7179-maven-helper
一键查看maven依赖,查看冲突的依赖,一键进行exclude依赖
对于大型项目 非常方便
截图:
图片
7. VisualVM Launcher
地址:https://plugins.jetbrains.com/plugin/7115-visualvm-launcher
运行java程序的时候启动visualvm,方便查看jvm的情况 比如堆内存大小的分配
某个对象占用了多大的内存,jvm调优必备工具
截图:

图片

8. GenerateAllSetter
地址:https://plugins.jetbrains.com/plugin/9360-generateallsetter
一键调用一个对象的所有set方法并且赋予默认值 在对象字段多的时候非常方便
截图:

图片

9. MyBatisCodeHelperPro
地址:https://plugins.jetbrains.com/plugin/9837-mybatiscodehelperpro
mybatis代码自动生成插件,大部分单表操作的代码可自动生成 减少重复劳动 大幅提升效率
截图:
图片

10. Rainbow Brackets

地址:https://plugins.jetbrains.com/plugin/10080-rainbow-brackets
彩虹颜色的括号 看着很舒服 敲代码效率变高
截图:
图片
11. Translation
地址:https://plugins.jetbrains.com/plugin/8579-translation
最好用的翻译插件,功能很强大,界面很漂亮

图片

以上插件均可在Intellij 插件市场中搜索到或者打开插件名字下方的链接从硬盘安装插件。
详细的可以看p3c插件的安装文档:https://github.com/alibaba/p3c/tree/master/idea-plugin
其他添加:
********************************************
Chinese:
Adds Chinese as the IDE interface language. It’s an EAP version, we’re making it better everyday. At the moment partial localization is available. Your feedback is very much appreciated. You can submit it directly from the IDE or via YouTrack either in English or Chinese. 添加中文作为 IDE 界面语言。 这是一个早期试用计划(EAP)版本,我们正在逐步完善当中。目前部分的本地化内容已经完成。 您的反馈至关重要。您可以直接通过 IDE 或者 YouTrack 以中文或者英文的形式提交您的反馈。
********************************************
Ideolog:
Interactive viewer for ‘.log’ files.
Features:
Code highlighting based of log level: error, warn, info, etc.
Intention to highlight columns (time, category, threads, stack frames) in log file editor.
Folding of uninteresting events
Hyperlinks of stack traces in log
Navigation to source code that emit log events (F7).
Go to next error action (Shift + F7)
Extends selection
Intention tp highlight distance between events (marks time as red)
Advanced error stripe (heat map)
Custom log format more info: https://github.com/JetBrains/ideolog/wiki/Custom-Log-Formats
Issue tracker: https://github.com/JetBrains/ideolog/issues
***********************************************
JBLSpringBootAppGen:
JBLSpringBootAppGen intro make the spring boot module generate Application.java and application.yml JBLSpringBootAppGen 简介 在使用SpringBoot项目的时候都需要创建启动引导类**Application; 使用该插件可以快速创建启动引导类**Application类内容。 bug 或问题请邮件。
*****************************************
MybatisPlus:
generator code live template MybatisPlus plugin from java to xml or from xml to java
Website | GitHub | Issues| support
****************************************
MybatisX:
plugin Features:
mapper and xml can jump back and forth
mybatis.xml,mapper.xml prompt
mapper and xml support auto prompt like jpa (reference MybatisCodeHelperPro)
integrate mybatis generator Gui (copy from free mybatis plugin)
QQ群号: 829161197
**********************************
WeChat Mini Program Support :
使用入门
打开微信小程序或QQ小程序项目
确保project.config.json配置文件存在
现在您可以使用所有此插件提供的功能
主要功能
wxml / wxss / wxs文件支持
创建微信小程序组件和页面
相关文件导航
微信小程序自定义组件支持
微信小程序配置文件支持
代码检查和自动修复
支持QQ小程序项目 (v3.1.0)
支持npm中的组件
Get started
Open WeChat Mini Program Project
Ensure that the project.config.json configuration file exists
Now you can use all the features provided by this plugin
Main functions
wxml / wxss / wxs file support
Create WeChat applet components and pages
Relevant file navigation
WeChat applet custom component support
WeChat applet configuration file support
Code inspection and automatic repairs
For detailed usage documents and function descriptions, please visit Gitee Wiki
********************************************
CamelCase:
Switch easily between kebab-case, SNAKE_CASE, PascalCase, camelCase, snake_case or space case. See Edit menu or use ⇧ + ⌥ + U / Shift + Alt + U. Please have a look at the preferences of this plugin: You can disable some conversions or change their order. If you find something is not working or missing, feel free to submit a PR on our GitHub repo.
********************************************
Maven Help:
A must have plugin for working with Maven.
easy way for analyzing and excluding conflicting dependencies
actions to run/debug maven goals for a module that contains the current file or on the root module
action to open terminal at the current maven module path
actions to run/debug the current test file.
********************************************
CMD Support:
CMD support plugin for Intellij Idea
********************************************
Batch Scripts support:
Windows Batch Scripts support for IntelliJ IDEA. Supports syntax highlighting, run configurations that can run any command, also empty configurations. Empty run configurations are useful when you want to execute an external tool through a run configuration.
扫码领红包

微信赞赏支付宝扫码领红包

发表回复

后才能评论