1
votes

I am new to spring and trying to use Spring Initilizr for my project. I am using the code that was generated by this tool after adding dependencies for 'Spring Web' and 'Spring Data Redis'. When I open the generated code in IntelliJ and try to edit the file application.properties, I notice that everything I type there is grayed out. According to IntelliJ it is an 'unused property'.

Any idea how to enable application.properties in my project?

You're doing fine, Spring will pick it up if you use the property. InteliJ doesn't always get it right for unused properties.Essex Boy