AlexFalappa / nb-springboot

NetBeans IDE plugin supporting programming with Spring Boot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support multi-document configuration properties

AlexFalappa opened this issue · comments

Spring Boot 2.4 added a multi-document interpretation of properties files akin to multi-document YAML. See the reference guide here

Using a special comment (#---) starts a new document inside the same file. Multi-document configuration properties allow to use multiple profiles in a single configuration file.

This is not an easy task as the Abstract Syntax Tree of configuration properties files is currently single-document and assumes a java.util.Map behaviour, duplicates override their values.

Created duplicate by mistake