spring-boot configuration processor 让配置文件有提示(不包括自定义的)

IDEA新建spring-boot时  勾选该项

勾选该项后pom.xml就会出现

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-configuration-processor</artifactId>
    <optional>true</optional>
</dependency>

在application.properties编写就会提示,点   后就会提示

猜你喜欢

转载自blog.csdn.net/qq_27886997/article/details/82805624