[spring-boot] Complement application.yml with IntelliJ spring assistant plugin

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)

What you can do

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.

Introduction method

The introduction method is two steps, but ... plugin Install the Plugin by the following method.

Reboot

You can use it by restarting IntelliJ.

How to use

Once installed, all you have to do is open ʻapplication.yml` and fill in the Properties.

spring_assistant.gif

Finally

I'm using IntelliJ, so I'd like to add more and more Plugins for these itchy parts!

Reference material

Spring Assistant

Recommended Posts

[spring-boot] Complement application.yml with IntelliJ spring assistant plugin
(Intellij) Hello World with Spring Boot
[Java] Connection with local DB (IntelliJ + SpringBoot)
(IntelliJ + gradle) Hello World with Spring Boot
Show a simple Hello World with SpringBoot + IntelliJ
MySQL JSON type Value search with SpringBoot + Spring JPA