Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>YAML OutlineNew to Visual Studio Code? Get it now.
YAML Outline

YAML Outline

wongyouth

|
378 installs
| (2) | Free
List all key path in the outline for YAML files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

YAML Outline Extension

Enhance your YAML editing experience with improved symbol navigation and key path management.

Features

Outline View

  • Display all key paths as symbols in the outline window
  • Quickly navigate through complex YAML structures

Outline View

Quick Search

  • Search for symbols across your YAML files
  • Fast navigation to specific keys

Quick Search

Status Bar Integration

  • 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

Status Bar

Key Path Management

  • Copy the current key path with a single command
  • Easily reference and share key paths

Copy Key Path

Installation

  1. Open the Extensions view in VS Code (Ctrl+Shift+X or Cmd+Shift+X on macOS)
  2. Search for "YAML Outline"
  3. Click Install

Configuration

Configuration

Settings

  1. 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 to key.to.value
  2. 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
  3. Show Key Path in the Status Bar (default: true)

Usage

  1. Open any YAML file
  2. Use the Outline view (Ctrl+Shift+O or Cmd+Shift+O on macOS) to navigate symbols
  3. The status bar will show:
    • Current key path (click to copy)
  4. Click the key path on the status bar to copy the key path.

Known Issues

None currently reported. Please open an issue if you encounter any problems.

Release Notes

0.3.2

Add new config showKeyPathInStatusBar to provide a way to hide key path in status bar.

0.3.1

Update Readme

0.3.0

  • Rename extension from YAML-Symbols to YAML Outline

0.2.0

  • Added status bar integration with:
    • Current key path display
    • Click-to-copy functionality

0.1.1

  • Bug fixes and stability improvements

0.1.0

  • Added configuration options:
    • Ignore root key
    • Show leaf node only
  • Added copy key path command

0.0.1

  • Initial release with basic symbol navigation

Enjoy enhanced YAML editing!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft