SpringBoot扩展

修改SpringBoot启动图标

在src/main/resources下新建一个banner.txt文档

通过地址: http://patorjk.com/software/taag 生成自己想要的图标

SpringBoot扩展

IDEA热更新+自动编译build

在pom.xml中要有热部署的依赖和插件

<!-- 热部署 -->
<dependency>
    <groupId>
org.springframework.boot</groupId>
    <artifactId>
spring-boot-devtools</artifactId>
   
<!-- 这个需要为 true 热部署才有效 -->
   
<optional>true</optional>
</dependency>

 

<plugin>
    <groupId>
org.springframework.boot</groupId>
    <artifactId>
spring-boot-maven-plugin</artifactId>
</plugin>

 

 

在Setting中找到自动编译

效果是,修改java代码,应用自动重启

修改jsp或者html代码,应用不重启,页面刷新。

SpringBoot扩展

 

使用快捷键Ctrl+Shift+N(ctrl+alt+shift+/) 查看是否勾选

SpringBoot扩展