0

I have a custom-named property file inside a library, e.g. foo.properties which I then load in a configuration class, like so:

@Configuration
@PropertySource({"/foo.properties"})
public class FooConfiguration {}

IntelliJ doesn't recognise foo.properties as a Spring properties file and doesn't autocomplete it. Is there a way to hint to IntelliJ to treat this as a Spring properties file?

Dimitrios K.
  • 1,008
  • 13
  • 36

1 Answers1

0

I don't know if that possible.

But you can install some alternative plugins for your intelliJ like tabnine.

Abolfazl Mohajeri
  • 1,734
  • 2
  • 14
  • 26