重点技术-20180815-IntelliJ常用设置

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/namelessfighter/article/details/81710284

一、设置JDK

点击菜单“File”,点击“Project Structure”

 

二、设置Lombok

File-->Settings-->Plugins,搜索Lombok Plugin,安装后重启Intellij

 

三、设置Maven

File-->Settings-->Build,Execution,Deployment-->Build Tools-->Maven,设置Maven home directory(如:D:/apache-maven)和User settings file(如:D:\apache-maven\conf\settings.xml)。

 

扫描二维码关注公众号,回复: 3125006 查看本文章

四、设置tomcat

1)、点击工程空间右上角,EditConfigurations

2)、点击弹窗左上角“+”号,选择tomcat,设置好路径、端口等

 

五、热部署

1、IDEA开启项目自动编译设置

File-->Settings-->Build,Execut,Deployment-->Compiler:勾选“Build Project automatically

2、IDEA开启项目运行时自动编译

同时按键ctrl + shift + alt + /   -->  点击registry --> 勾选“compiler.automake.allow.when.app.running

 

猜你喜欢

转载自blog.csdn.net/namelessfighter/article/details/81710284