From 9868b7b80edc36107d8619188f89dad09c6210b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=87=E6=B0=B8=E8=BE=BE?= Date: Thu, 23 Mar 2023 18:09:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/_posts/Intellij Platform.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/source/_posts/Intellij Platform.md b/source/_posts/Intellij Platform.md index 36b2760..8eb369a 100644 --- a/source/_posts/Intellij Platform.md +++ b/source/_posts/Intellij Platform.md @@ -1,3 +1,32 @@ +# Intellij IDEA + +## Spring Boot DevTools热重载 + +pom.xml引入依赖 + +```xml + + org.springframework.boot + spring-boot-devtools + + runtime + + true + + + org.springframework.boot + spring-boot-maven-plugin + +``` + +打开IDEA设置 找到 Build, Execution, Deployment -> Compiler -> Build project automatically 勾选 + +![image-20230323102425710](https://markdownhexo.oss-cn-hangzhou.aliyuncs.com/img/image-20230323102425710.png) + +继续找到Advanced Settings 勾选 Allow auto-make to start even if developed application is currently running + +![image-20230323102621741](https://markdownhexo.oss-cn-hangzhou.aliyuncs.com/img/image-20230323102621741.png) + # JetBrains Rider ## 安装CodeGlance Pro后关闭原有的在滚动条悬停时显示代码