If you are developing an application that uses spring-boot with IntelliJ, are you using yaml for Configuration Properties?
When I was worried that complementation would not come out when writing Properties with yaml, I found out that there is a Plugin called Spring Assistant
in IntelliJ Plugin.
In this article, I would like to summarize how to introduce and use it.
Plugin Document is here (spring-assistant)
As far as the official document is seen, it seems that it collects the property information of the class with @ConfigurationProperties
contained in the jar under the classpath and gives a completion.
I tried it with my own project (not jarred), but unfortunately it didn't become a candidate for completion.
The introduction method is two steps, but ... plugin Install the Plugin by the following method.
spring assistant
in the search bar-> [install]You can use it by restarting IntelliJ.
Once installed, all you have to do is open ʻapplication.yml` and fill in the Properties.
I'm using IntelliJ, so I'd like to add more and more Plugins for these itchy parts!
Recommended Posts