https://github.com/fla9ua/vscode-yaml-preview-ui
VSCode extension for YAML visualization and editing
https://github.com/fla9ua/vscode-yaml-preview-ui
vscode-extension yaml yml
Last synced: about 2 months ago
JSON representation
VSCode extension for YAML visualization and editing
- Host: GitHub
- URL: https://github.com/fla9ua/vscode-yaml-preview-ui
- Owner: fla9ua
- License: mit
- Created: 2025-05-03T08:28:44.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-31T05:58:39.000Z (about 1 year ago)
- Last Synced: 2025-06-19T08:18:38.863Z (about 1 year ago)
- Topics: vscode-extension, yaml, yml
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=fla9ua.yaml-preview-ui
- Size: 336 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# YAML Preview UI
[](https://marketplace.visualstudio.com/items?itemName=fla9ua.yaml-preview-ui)
[](https://marketplace.visualstudio.com/items?itemName=fla9ua.yaml-preview-ui)
[](https://marketplace.visualstudio.com/items?itemName=fla9ua.yaml-preview-ui)
[](https://github.com/fla9ua/vscode-yaml-preview-ui)
[](https://github.com/fla9ua/vscode-yaml-preview-ui)
A Visual Studio Code extension that provides visualization and editing capabilities for YAML files.
## Features
- Hierarchical, interactive UI display for YAML files
- Edit mode toggleable with double-click
- Preview display from context menu
- Export to various formats (JSON, Markdown, HTML, XML, PNG)

## Usage
### Opening the Preview
1. Open a YAML file (`.yaml` or `.yml` extension)
2. Use one of the following methods to display the preview:
- Select "Show YAML Preview" from the command palette (Ctrl+Shift+P / Cmd+Shift+P)
- Right-click in the editor and select "Show YAML Preview" from the context menu
### Navigation and Interaction
- Click on triangle icons next to objects or arrays to expand/collapse
- Use the search box to filter content by key or value
- The breadcrumb navigation at the top shows your current position in the hierarchy
### Editing Mode
- Click the "Edit YAML" button to switch to editing mode
- Double-click on any value to edit it directly
- After editing, click "Show Preview" to apply and view your changes
### Exporting
1. Click the "Export" button in the preview toolbar
2. Select your desired export format:
- JSON: Structured data format
- Markdown: For documentation
- HTML: For web display
- XML: For data interchange
- PNG: For image representation