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.
Features
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.
Usage
Deep Key Search:
Use the command Ctrl+Shift+P (or Cmd+Shift+P on Mac) to open the Command Palette.
Type Search Nested Key and enter the key path in the format parent.child.key.
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 Path command from command palette.
Installation
Install JSONYAMLKeyNavigator from the Visual Studio Code Marketplace or by searching for JSONYAMLKeyNavigator in the VS Code extensions view.
Requirements
Visual Studio Code version 1.76.0 or higher.
License
This project is licensed under the MIT License - see the LICENSE file for details.