Navigate and explore JSON and YAML files with ease. Quickly find nested keys, visualize key paths in the status bar, and copy them with a click.
- Deep Key Search: Instantly locate any nested key within your JSON or YAML files. Simply enter a dot-separated key path (e.g.,
parent.child.key) to jump directly to its location. - Path Visualization: Click on any key or value to see its complete hierarchical path displayed in the status bar, providing immediate context and understanding of its structure.
- Easy Path Copy: Need to share or document a specific data path? Click on the status bar display to copy the full path to your clipboard with ease.
- Auto Line Highlighting: When you search for a specific key, the corresponding line is automatically highlighted, guiding you directly to the relevant information.
-
Deep Key Search:
- Use the command
Ctrl+Shift+P(orCmd+Shift+Pon Mac) to open the Command Palette. - Type
Search Nested Keyand enter the key path in the formatparent.child.key.
- Use the command
-
Path Visualization and Copy:
- Click on any key or value in your JSON or YAML file.
- The full path of the key will be displayed in the status bar.
- Click on the status bar display to copy the path to your clipboard or you can use
Copy Object Pathcommand from command palette.
Install JSONYAMLKeyNavigator from the Visual Studio Code Marketplace or by searching for JSONYAMLKeyNavigator in the VS Code extensions view.
Visual Studio Code version 1.76.0 or higher.
This project is licensed under the MIT License - see the LICENSE file for details.