java-lombok插件
lombok插件使用
Intellij idea使用
The Jetbrains IntelliJ IDEA editor is compatible with lombok without a plugin as of version 2020.3.
For versions prior to 2020.3, you can add the Lombok IntelliJ plugin to add lombok support for IntelliJ:
Go to File > Settings > Plugins
Click on Browse repositories...
Search for Lombok Plugin
Click on Install plugin
Restart IntelliJ IDEA
You can also check out Setting up Lombok with Eclipse and IntelliJ, a blog article on baeldung.
maven 添加pom依赖
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.22</version>
<scope>provided</scope>
</dependency>
</dependencies>
vscode使用
The Microsoft Visual Studio Code editor is compatible with lombok.
Add the vscode-lombok plugin to your Visual Studio Code IDE to add lombok support.
press Ctrl + Shift + X to open the extension manager.
Type lombok to find the plugin, and click install.
Reload VS Code when asked.
maven安装配置
(1.)下载:
链接:https://pan.baidu.com/s/12SuxtOXiUhNgkb0DH1eyCw
提取码:gnaf
(2.)配置:
https://www.cnblogs.com/csyzlm/p/11660710.html
(3.)阿里云仓库
<!-- 阿里云仓库 -->
<mirror>
<id>alimaven</id>
<mirrorOf>central</mirrorOf>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
</mirror>
Intellij idea java插件
https://www.oschina.net/news/69858/java-developer-need-intellij-idea-plugin
https://www.cnblogs.com/yz0812/p/10307775.html
相关链接
https://projectlombok.org/setup/javac
https://blog.csdn.net/WATERMELON2016/article/details/89350359
【励志篇】:
古之成大事掌大学问者,不惟有超世之才,亦必有坚韧不拔之志。