Skip to content

IntelliJ IDEA

快捷键作用
command+g快速生成代码

spring 热部署

xml
// devtools
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-devtools</artifactId>
</dependency>

IntelliJ IDEA 设置

  1. setting -> Build, Execution, Development -> Build project automatically
  2. setting -> advanced settings -> compiler -> Allow auto-make to start even if developed application is currently running