“Spring Boot Q&A”的版本间的差异
跳到导航
跳到搜索
Jihongchang(讨论 | 贡献) |
Jihongchang(讨论 | 贡献) |
||
(未显示同一用户的1个中间版本) | |||
第1行: | 第1行: | ||
− | === 在 IntelliJ IDEA 中点击 | + | === 在 IntelliJ IDEA 中点击 YAML|.yml|.properties 中的配置参数项无法跳转到 XXXProperties.java 配置类 === |
+ | |||
+ | === 在 IntelliJ IDEA 中编写 YAML|.yml|.properties 时配置参数不提示 === | ||
https://docs.spring.io/spring-boot/docs/current/reference/html/configuration-metadata.html | https://docs.spring.io/spring-boot/docs/current/reference/html/configuration-metadata.html | ||
− | |||
− | |||
pom.xml 中增加:<syntaxhighlight lang="xml"> | pom.xml 中增加:<syntaxhighlight lang="xml"> | ||
<dependency> | <dependency> |
2023年2月12日 (日) 05:37的最新版本
在 IntelliJ IDEA 中点击 YAML|.yml|.properties 中的配置参数项无法跳转到 XXXProperties.java 配置类
在 IntelliJ IDEA 中编写 YAML|.yml|.properties 时配置参数不提示
https://docs.spring.io/spring-boot/docs/current/reference/html/configuration-metadata.html
pom.xml 中增加:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>