Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij Idea doesn't see values in .yaml file, but successfully references .properties in @Value

I'm using @Value annotation in my spring boot application.
If I'm using application.properties file then Intellij Idea can go to those values if I Сtrl-Click them. But it doesn't work if I use application.yaml.

like image 990
Victor Denisov Avatar asked Apr 18 '17 19:04

Victor Denisov


1 Answers

i think that you use the community edition and i am not sure but i think this only supports .properties files.

OR what i see is that your file ending is .yml, rename it to .yaml and it should work if you use the ultimate edition

like image 63
user817795 Avatar answered Oct 01 '22 12:10

user817795