文章目录
- 1、lombok 【真香】
- 3、Alibaba Java Coding Guidelines 【推荐】
- 4、nodeJS 【推荐】
- 5、Vue.js 【推荐】
- 6、RestfulTool 【真香】
- 7、EasyCode 【推荐】
- 8、Alibaba Cloud Toolkit 【真香之最香】
- 9、grep-console 【推荐】
- 10、Translation 【真香】
- 11、Sequence Diagram 【真香】
- 12、GsonFormat 【推荐】
- 13、Key Promoter X 【真香】
- 14、CamelCase【真香】
- 15、maven-search【真香】
- 16、Code Geex
- 17、GitToolBox【真香】
- 18、MybatisX【真香】
- IntelliJ IDEA Community Edition
俗话说,磨刀不误砍柴工!
作为一名programmer
,拥有一些好用的工具对我们来说是很关键的。
它们能极大地的提高我们的工作效率
和学习效率
。
1、lombok 【真香】
https://plugins.jetbrains.com/plugin/6317-lombok
推荐理由:
1 简化 java bean 代码
2 提供 log 功能
PS: 对于有考虑升级 JDK 的同学,不推荐使用。
3、Alibaba Java Coding Guidelines 【推荐】
https://plugins.jetbrains.com/plugin/10046-alibaba-java-coding-guidelines
推荐理由:
规范代码是每一个程序员都应该做的事
IDEA 插件 Alibaba Java Coding Guidelines - 阿里巴巴Java代码检测工具
4、nodeJS 【推荐】
https://plugins.jetbrains.com/plugin/6098-node-js
推荐理由:
在 idea 上直接运行 js 文件,当
WebStorem
一样使用
5、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
6、RestfulTool 【真香】
https://plugins.jetbrains.com/plugin/14280-restfultool
推荐理由:
1 根据 URL 直接跳转到对应的方法定义 ( Ctrl \ or Ctrl Alt N );
2 提供了一个Services tree
的显示窗口;
3 一个简单的 http 请求工具
4 在请求方法上添加了有用功能: 复制接口URL、复制接口入参…
5 其他功能: java 类上添加Convert to JSON
功能,格式化 json 数据 ( Windows: Ctrl + Enter; Mac: Command + Enter )
增强
6 支持 Http Method 过滤
7 支持依赖包中的接口也会检索出来
PS: RestfulToolKit 在19年更新了一版本之后,就没继续更新了,并且也不兼容 idea 2020 版了。
幸好有同学接了原作者的班,而且还在 RestfulToolKit 的基础上增加了功能,让这个插件变的更强了!
7、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.
8、Alibaba Cloud Toolkit 【真香之最香】
https://plugins.jetbrains.com/plugin/11386-alibaba-cloud-toolkit
推荐理由:
Alibaba Cloud Toolkit 可以帮助开发者更高效地部署、测试、开发和诊断应用。
Cloud Toolkit与主流IDE及阿里云其他产品无缝集成,帮助您大大简化应用部署到服务器,尤其是阿里云服务器中的操作。
您还可以通过其内嵌的Arthas程序诊断、Terminal Shell终端和MySQL执行器等工具,简化应用开发、测试和诊断的过程。
9、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*.
10、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.
11、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)
12、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,只发了一版 应该是做实验的
13、Key Promoter X 【真香】
https://plugins.jetbrains.com/plugin/9792-key-promoter-x
推荐理由:
Intellij IDEA 这么香的编辑器在你手上,你却说:这快捷键不会,那快捷键不会?
Key Promoter X 来帮助你把它调教的得心应手。
14、CamelCase【真香】
推荐理由
数据库字段与Java类属性命名,总是需要相互转换。
CamelCase
可以快速的帮我们驼峰转下划线
、下划线转驼峰
等等。
快捷键:Shift + Alt + U
15、maven-search【真香】
推荐理由
快速查找maven依赖,支持gav模糊查找、支持类名查找jar
快捷键 :Shift + Control + M
或者 Shift + Command + M
16、Code Geex
https://plugins.jetbrains.com/plugin/20587-codegeex
推荐理由:
CodeGeeX is a powerful intelligent programming assistant based on LLMs. It provides functions such as code generation/completion, comment generation, code translation, and AI-based chat, helping developers significantly improve their work efficiency. CodeGeeX supports multiple programming languages.
目前来看,优点在于对于个人免费,我们就当体验体验AI吧,希望它继续加油,未来可期~
17、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
18、MybatisX【真香】
https://plugins.jetbrains.com/plugin/10119-mybatisx
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)
IntelliJ IDEA Community Edition
Community Edition
版本和 IntelliJ IDEA Ultimate
相比较,Community Edition
版本的功能基本能够满足Java开发者的需求。
但是Community Edition
版本有很多好用的插件被限制安装,比如Database tools and SQL plugin
,社区里也没有可平替它的插件。
这对于后端开发来说是比较致命的,这就意味着我们连接数据库操作的工作需要切换到IDE的外部工具,并且这样一来我们的代码和数据库的表、字段也没有了link
的关系。