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?