WebStorm以及IDEA的使用

时间:2021-09-01 20:00:38   收藏:0   阅读:33

webstorm

问题:打开前台项目,index时间过长,

解决:在node_modules 文件夹上点击右键,make directory as —>excluded 

 

IntelliJ IDEA:

问题:Unregistered VCS root detected. The directory…is under Git, but is not registered in t

解决:由于需要使用idea中vcs所以,需要解决一下,点击configure或者preference->version control,选中项目点击+

 

lombok的使用

1.项目引入lombok的依赖

1 <dependency>
2     <groupId>org.projectlombok</groupId>
3     <artifactId>lombok</artifactId>
4     <version>1.18.12</version>
5     <scope>provided</scope>
6 </dependency>

2.安装lombok插件

File-Setting-Plugins,搜索lombok,install,restart idea

3.让idea支持lombok

File-Setting-Build Execution Deployment-Compiler-Annotation Processors-enable Annotation Processors

原文:https://www.cnblogs.com/anqiang1995/p/9909503.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!