I have YAML file containing for example below text
server:
port: 8084
session:
timeout: 600
Assuming there are many yaml files each containing a lot of lines, it is difficult to find certain key, for example 'server.session.timeout'.
I tried to find it using ctrl+shift+f it won't work because of new line characters and 'port' property betweeen.
Is there a way to find property keys in yaml files?
Open the properties file. Right click on editor region. Select 'Generate Yaml File' option.
Locate the idea. properties file in the bin directory in IntelliJ IDEA's installation directory. The default location is C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 10.5. 1/bin.
Thanks to Dmytro's comment I found a working solution. It is possible to find proprerties by path expression (dot separated) in yaml files using "Search everywhere" option. It can be invoked by pressing shift key twice or by invoking search menu (by pressing ctrl+n) and selecting 'all' tab.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With