Issue
I've got a multi-module maven project (monorepo) with a directory for config (used by the spring cloud config server), and I'm hoping to configure IntelliJ to autocomplete the properties using the spring-boot-configuration-processor.
href="https://i.stack.imgur.com/J4qFq.png" rel="nofollow noreferrer">
The metadata (additional-spring-configuration-metadata.json) is correctly generated in the microservices modules, but I can't figure out how to configure Intellij to autocomplete in the directory with the externalised config. Is this possible?
I've tried making the plain config directory a maven module, and adding spring facet.
Solution
I couldn't find a straight forward way, but this could help you:
https://intellij-support.jetbrains.com/hc/en-us/community/posts/360005091880-spring-cloud-config-documentation-and-completion
This approach is to make some dummy app with spring initializer and place it inside config repo. That way the intellij will enable auto complete. You must add all the modules you need autocomplete for.
Answered By - Dragoslav Petrovic
Answer Checked By - Marilyn (JavaFixing Volunteer)