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