Showing the internal configuration items in the project properties in automatically prompts application.yml

1, reference articles

Springboot Based prefix custom configuration and auto-suggest - FeelTouch - CSDN blog

2, in order to be able to automatically display a custom name attribute when editing the configuration file yml, you can create documents by [spring-configuration-metadata.json] under [achieve] in the META-INF folder. Have created the file [Manual] and [Auto] in two ways, automatic mode is obtained by adding and then compile the project dependent [spring-boot-configuration-processor]. When you create a manual mode, the file format can refer to the above referenced article or automatically generated files.

3, in the idea, to build their own properties file springboot project does not automatically prompt - weixin_39520967's blog - CSDN blog , this article describes a custom name for the yml file, identified as SpringBoot how the idea of the profile, so automatically prompt attribute name.

Guess you like

Origin www.cnblogs.com/StarkBrothers/p/11984800.html