spring-configuration-metadata.json with micronaut and gradle
Answered
Hi, intellij team i experiment problem in completion with spring-configuration-metadata.json with micronaut in gralde env
is there a special setting to use to setup
Regards marc
Please sign in to leave a comment.
Make sure the Spring facet with the Spring context is configured for project. Also make sure to rebuild the project. After I build the project, and the IDE generates the
spring-configuration-metadata.jsonfile - auto-completion works:There could also be some issues with multi-module projects: IDEA-232629 Spring spring-configuration-metadata.json not recognized in multi-module Maven project
thks for you help andrey but is this the same thing for micronaut ? i need the spring facet ?
just to be sure if it the case do i need to add the library ? weird
Completion and navigation from application.properties to the corresponding java class work should work:
IDEA-233886 Micronaut: user-defined properties (from spring-configuration-metadata.json) are not supported
Could you please provide a minimal sample project and steps to reproduce? You can file it as a report at https://youtrack.jetbrains.com/issues/IDEA or upload at https://uploads.jetbrains.com with steps to reproduce and expected/actual result? Thank you.