【IDE】那些你必须安装的插件 - Intellij IDEA - 持续更新

本文精选了IntelliJ IDEA中提升开发效率的必备插件,涵盖了代码生成、调试、国际化支持等多个方面,旨在帮助开发者更好地利用这些工具提高工作效率。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

俗话说,磨刀不误砍柴工!
作为一名programmer,拥有一些好用的工具对我们来说是很关键的。
它们能极大地的提高我们的工作效率学习效率

真香系列 ⭐⭐⭐⭐⭐

lombok 【真香】

https://plugins.jetbrains.com/plugin/6317-lombok

推荐理由:

1 简化 java bean 代码
2 提供 log 功能

PS: 对于有考虑升级 最新版JDK 的同学,不推荐使用。

GitToolBox【真香】

https://plugins.jetbrains.com/plugin/7499-gittoolbox
https://github.com/zielu/GitToolBox

Features in detail (Free)

  • Git status display:
    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
    status bar widget with detailed information and additional actions
  • Current line blame:
    inline blame - show blame for line at caret in active editor
    blame details balloon for line at caret
    status bar widget with detailed information and additional actions
  • Branch name completion in commit message - provides branch name completion inside commit message
  • Gitmoji completion in commit message - provides gitmoji completion inside Commit dialog message
  • Commit message validation - check against pattern and branch issue reference
  • Recent branches switcher - switch between recently used branches
  • Branches cleanup - find and remove merged and stale branches
  • Issue Navigation integration - clickable issue links and navigation actions
  • Auto fetch - runs git fetch at fixed intervals
  • Push tags on current branch - select which tags you want to push (also force push)
  • Git Extender integration - can be selected as update action executed from behind tracker popup
  • Behind tracker - shows notification when behind count of current branch changes and is non-zero

MybatisX【真香】

https://plugins.jetbrains.com/plugin/10119-mybatisx

推荐理由:

XXXMapper.javaXXXMapper.xml 方法相互关联,点方法名就可以相互跳转,也太方便了吧~

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)

Diagrams.​net Integration【真香】

https://plugins.jetbrains.com/plugin/15635-diagrams-net-integration

This unofficial extension integrates diagrams.net (formerly known as draw.io) directly into IntelliJ and other JetBrains IDEs based on it like PyCharm, RubyMine and WebStorm. It supports diagram files with the extensions .drawio.(svg|png|xml) and .dio.(svg|png|xml). It also auto-detects editable PNGs and SVGs created with diagrams.net.
这个非官方的扩展将 diagrams.net(以前称为 draw.io)直接集成到 IntelliJ 和其他基于它的 JetBrains IDE 中,如 PyCharm、RubyMine 和 WebStorm。它支持扩展名为 .drawio.(svg|png|xml) 和 .dio.(svg|png|xml) 中。它还会自动检测可编辑的 PNG 和使用 diagrams.net 创建的 SVG。

The editor uses an offline version of diagrams.net by default, therefore it works without an internet connection and content stays local in your IDE.
默认情况下,编辑器使用 diagrams.net 的脱机版本,因此它可以在没有 Internet 连接的情况下工作,并且内容保留在 IDE 中的本地。

推荐理由:

IDEA 里面直接画流程图,也太爽了吧~

效果图:

在这里插入图片描述

Cool Request【真香】

https://plugins.jetbrains.com/plugin/23555-cool-request

官方文档:https://coolrequest.dev/

API请求工具 用来解决api的调用,以及Spring容器内任意方法的调用,非常方便.

推荐理由:

  1. 它可以绕过拦截器,如果你的项目使用了spring boot security,他可以无视spring boot security的认证,并且不需要配置什么

  2. 它支持前后置脚本,并且使用java编写,可以调用任意第三方库,和项目自身的class

Feature

  • 显示在Spring Boot中定义的所有API信息,支持 HTTP/反射 调用
  • 显示在Spring Boot中定义的定时器,在不等待指定时间的情况下手动触发
  • 在请求期间绕过拦截器
  • 在请求期间指定代理/原始对象
  • 一键导出为OpenAPI格式
  • 一键导入到ApiFox、ApiPost
  • 将请求复制为cURL
  • 兼容Gradle、Maven多模块项目
  • 兼容Java/Kotlin语言
  • 强大的HTTP请求参数猜测功能,减少开发人员填写参数的时间
  • 使用Java语言编写请求前/后脚本
  • 快速将响应结果保存到文件中
  • 快速预览JSON、XML、图像、HTML、文本响应
  • 多种布局切换

在这里插入图片描述
PS:

Cool Request 约等于 Postman + RestfulTool

Alibaba Cloud Toolkit 【真香】

https://plugins.jetbrains.com/plugin/11386-alibaba-cloud-toolkit

推荐理由:

Alibaba Cloud Toolkit 可以帮助开发者更高效地部署、测试、开发和诊断应用。
Cloud Toolkit与主流IDE及阿里云其他产品无缝集成,帮助您大大简化应用部署到服务器,尤其是阿里云服务器中的操作。
您还可以通过其内嵌的Arthas程序诊断、Terminal Shell终端和MySQL执行器等工具,简化应用开发、测试和诊断的过程。

Translation 【真香】

https://plugins.jetbrains.com/plugin/8579-translation

推荐理由:

英语才是互联网的通用语言,所以 … 你们懂得!

Features

  • Multiple translation engines.
    • Google translate.
    • Youdao translate.
    • Baidu translate.
  • Multiple languages inter-translation.
  • Document translation.
  • Text to speech.
  • Automatic word selection.
  • Automatic word division.
  • Word book.

ConvertX【真香】

https://plugins.jetbrains.com/plugin/23491-converterx

推荐理由:

A plugin tool designed to assist developers using IntelliJ IDEA in writing code, providing quick functionality for string, JSON, and date conversions. English Introduction

Features

  1. Select the string you want to convert, right-click, and choose “String Converter” in ConvertX. You can convert the string to various formats like camel case.
  2. Select the time format string you want to convert, right-click, and choose “Date Converter” in ConvertX. You can convert the time to various formats like timestamps.
  3. Select the JSON string you want to convert, right-click, and choose “JSON Converter” in ConvertX. You can perform operations like compression and formatting on the JSON.

推荐理由:

一款用于帮助使用 IntelliJ IDEA 编写代码的研发人员,快速进行字符串、JSON、日期转换等功能的插件工具。

Features

  1. 选中你要转换的字符串,右键,在 ConvertX 中选择 String Converter,你可以将字符串转化为驼峰等一系列格式。
  2. 选中你要转换的时间格式的字符串,右键,在 ConvertX 中选择 Date Converter,你可以将时间转化为时间戳等一系列格式。
  3. 选中你要转换的JSON字符串,右键,在 ConvertX 中选择 JSON Converter,你可以将JSON进行压缩、格式化等操作。

PS:结合Translation 插件食用效果更佳。

推荐系列 ⭐⭐⭐⭐

Alibaba Java Coding Guidelines 【推荐】

https://plugins.jetbrains.com/plugin/10046-alibaba-java-coding-guidelines

推荐理由:

规范代码是每一个程序员都应该做的事

IDEA 插件 Alibaba Java Coding Guidelines - 阿里巴巴Java代码检测工具

nodeJS 【推荐】

https://plugins.jetbrains.com/plugin/6098-node-js

推荐理由:

在 idea 上直接运行 js 文件,当 WebStorem 一样使用

Vue.js 【推荐】

https://plugins.jetbrains.com/plugin/9442-vue-js

推荐理由:

明明是以java工程师入职,没想到又成了全干工程师

Features

  • Completion for components, directives, props and methods in templates
  • Navigation from the component, directives and event handlers to their definition
  • Coding assistance for different languages inside template, script and style tags in .vue files
  • Extract component and rename component refactorings
  • Collection of code snippets for Vue.js
  • Create new projects from the IDE Welcome screen using Vue CLI

EasyCode 【推荐】

https://plugins.jetbrains.com/plugin/10954-easy-code

推荐理由:

之前废了好大功夫,使用FreeMarker来做entity -> dao -> service -> controller的基础代码编写,现在使用 EasyCode 一键就能生成!你说香不香?

Features

  • The code generation plug-in based on IntelliJ IDEA is developed to support custom templates (Java, HTML, JS, XML).
  • As long as database related code can be generated through custom templates. Support database type and Java type mapping relationship configuration.
  • The code that supports generating multiple tables at the same time. Each table has a separate configuration information. Full personalization definition, the rules are set by you.

PS:IntelliJ IDEA Community Edition 不支持

grep-console 【推荐】

https://plugins.jetbrains.com/plugin/7125-grep-console

推荐理由:

控制台彩色日志输出(根据不同的日志等级)

Features

  • Change colors of matching text.
  • Grep output into a new console tab.
  • Change output or execute any action using custom groovy scripts or plugins.
  • Filter out unwanted lines.
  • Workaround for stdout/stderr stream mixing
  • Fold output.
  • Play sounds on matches.
  • Clear Console on matches.
  • Tail files*.

Sequence Diagram 【推荐】

https://plugins.jetbrains.com/plugin/8286-sequencediagram

推荐理由:

一个时序图的神器!

拿到前辈"优秀"的代码,让你无从下手?
接手新项目,不清楚代码执行流程?
自己写的代码,居然都忘了执行逻辑?
别担心,SequenceDiagram照顾你,从此以后做一个看图说话的 programmer 。

Features

  • generate Simple Sequence Diagram.
  • Navigate the code by click the diagram shape.
  • Delete Class from diagram.
  • Export the diagram as image.
  • Exclude classes from diagram by Settings > Other Settings > Sequence
  • Smart Interface(experimental)
  • Lambda Expression(experimental)

GsonFormat 【推荐】

https://plugins.jetbrains.com/plugin/7654-gsonformat

推荐理由:

quickly to convert a JSON string to an InnerClassEntity class …
openSource
支持非严格模式的 json 转换
支持 lombok

Features

  • Support for autovalue
  • Support for lombok
  • Support for split generate class
  • Supports field type changes.
  • Supports shortcut to open GsonFormat, default option + s (mac), alt + s (win)
  • Support for field name changes.
  • Support to add the prefix field.
  • Support for multiple conversion libraries (Gson, Jackjson, FastJson, LoganSquare).
  • Support for private and public modes.
  • Supports filtering of superclass into existing fields.

PS: JsonFormat 和 GsonFormat 对比。 推荐 GsonFormat: 国人开发、下载量近100w。JsonFormat是基于 GsonFormat,只发了一版 应该是做实验的

Key Promoter X 【推荐】

https://plugins.jetbrains.com/plugin/9792-key-promoter-x

推荐理由:

Intellij IDEA 这么香的编辑器在你手上,你却说:这快捷键不会,那快捷键不会?
Key Promoter X 来帮助你把它调教的得心应手。

CamelCase【推荐】

推荐理由

数据库字段与Java类属性命名,总是需要相互转换。
CamelCase可以快速的帮我们驼峰转下划线下划线转驼峰等等。

快捷键:Shift + Alt + U

maven-search【推荐】

推荐理由

快速查找maven依赖,支持gav模糊查找、支持类名查找jar

快捷键 :Shift + Control + M 或者 Shift + Command + M

TINGYI Lingma【推荐】

https://plugins.jetbrains.com/plugin/17809-tongyi-lingma–your-ai-coding-assistant-type-less-code-more-

推荐理由:

目前体验来说,国内最好用的一款AI编码助手。

Imefix【推荐】

https://plugins.jetbrains.com/plugin/24138-imefix

【IDEA】解决JetBrains IDE 中 Shift+F6 快捷键失效的问题

推荐理由:

修复Win11微软中文输入法无法使用SHIFT F6, SHIFT F10快捷键

IntelliJ IDEA Community Edition

Community Edition版本和 IntelliJ IDEA Ultimate相比较,Community Edition版本的功能基本能够满足Java开发者的需求。
但是Community Edition版本有很多好用的插件被限制安装,比如Database tools and SQL plugin,社区里也没有可平替它的插件。
这对于后端开发来说是比较致命的,这就意味着我们连接数据库操作的工作需要切换到IDE的外部工具,并且这样一来我们的代码和数据库的表、字段也没有了link的关系。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值