Navigate to YAML subnode in file structure popup

Answered

In a yaml file, is there a way to go to a particular inner node in file structure popup?

Example, in below structure, I need to navigate to the key bar under key2. Is it possible ? Something like file structure -> key2/foo/bar or better key2/**/bar for arbitrarily nested bar? The file is pretty long with multiple nesting(a helm chart yaml). Currently I'm navigating to the outermost key from file structure and doing simple text search from there 

key1:
foo:
bar:
key2:
foo:
bar: 2

 

0
1 comment

Hey Abhijith,

Yes, when using 'Search Everywhere' (Shift-Shift), YAML files are flattened, so you can jump to a specific key using this syntax:

0

Please sign in to leave a comment.