I am trying to add custom variables in application.properties file. When I add, the IDEs (both Eclipse 2019-06 (4.12.0) and Spring Tool Suite 4.3.1) show the yellow warning "abc.def is an unknown property".
The problem is similar to Spring boot - custom variables in Application.properties. I tried the method given by @StephaneNicoll in the answer. It is still showing the same warning. In fact, I opened the project https://github.com/snicoll-demos/spring-boot-configuration-binding in Eclipse. It still gives the same warning. Is there anything else that I need to do?
It's a minor annoyance. But would like to get rid of it.