-
Notifications
You must be signed in to change notification settings - Fork 43
Configuration Properties Editor
The plugin enhances the standard NetBeans properties file editor when Spring Boot is detected on the project classpath.
The enhanced properties file editor adds Spring Boot configuration properties name and value completion and documentation based on processing of standard Spring Boot configuration metadata.
Properties names are completed trough a substring search. Documentation of the currently selected property in the completion list is shown.
Property values from the hints
attribute in spring configuration metadata are completed when completion is invoked after an equal sign.
If the spring configuration processor has been added as a maven dependency to the project, for example trough the maven code generators provided by the plugin, spring configuration properties metadata is also generated for @ConfigurationProperties
classes in the project and used to provide completion and documentation for user defined properties.
To provide list of allowed values for user defined properties create an additional-spring-configuration-metadata.json
file in the /META-INF
subdirectory of the project.