Enhance your YAML editing experience with improved symbol navigation and key path management.
- Display all key paths as symbols in the outline window
- Quickly navigate through complex YAML structures
- Search for symbols across your YAML files
- Fast navigation to specific keys
- Display the current key path in the status bar
- Click to copy the current key path
- Real-time updates as you navigate through the file
- Copy the current key path with a single command
- Easily reference and share key paths
- Open the Extensions view in VS Code (
Ctrl+Shift+X
orCmd+Shift+X
on macOS) - Search for "YAML Outline"
- Click Install
-
Ignore Root Key
- Hide root key for specific files using file patterns
- Supports minimatch patterns
- Useful for frameworks like Ruby on Rails where the top key represents locale names
- Example: Converts
zh-CN.key.to.value
tokey.to.value
-
Show Leaf Node Only (default: true)
- Controls whether to display only leaf nodes or all nodes in the outline
- Example YAML:
parent: first_child_name: Ryan second_child_name: Lee
- When enabled (true):
- parent.first_child_name
- parent.second_child_name
- When disabled (false):
- parent
- parent.first_child_name
- parent.second_child_name
-
Show Key Path in the Status Bar (default: true)
- Open any YAML file
- Use the Outline view (
Ctrl+Shift+O
orCmd+Shift+O
on macOS) to navigate symbols - The status bar will show:
- Current key path (click to copy)
- Click the key path on the status bar to copy the key path.
None currently reported. Please open an issue if you encounter any problems.
Add new config showKeyPathInStatusBar
to provide a way to hide key path in status bar.
Update Readme
- Rename extension from
YAML-Symbols
toYAML Outline
- Added status bar integration with:
- Current key path display
- Click-to-copy functionality
- Bug fixes and stability improvements
- Added configuration options:
- Ignore root key
- Show leaf node only
- Added copy key path command
- Initial release with basic symbol navigation
Enjoy enhanced YAML editing!