Skip to content
Sublime Text 2/3 plugin that allows to format a YAML file
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
yaml Initial commit of Pretty YAML Dec 16, 2013
.gitignore Initial commit of Pretty YAML Dec 16, 2013
.no-sublime-package Initial commit of Pretty YAML Dec 16, 2013
Default (Linux).sublime-keymap Initial commit of Pretty YAML Dec 16, 2013
Default (OSX).sublime-keymap Initial commit of Pretty YAML Dec 16, 2013
Default (Windows).sublime-keymap Initial commit of Pretty YAML Dec 16, 2013
Default.sublime-commands
LICENSE Initial commit Dec 16, 2013
Main.sublime-menu
Pretty YAML.sublime-settings
PrettyYaml.py Initial commit of Pretty YAML Dec 16, 2013
README.md Cosmetical changes to README Dec 16, 2013

README.md

Pretty YAML

Prettify YAML plugin for Sublime Text 2 & 3 (Based on Pretty JSON)

Installation

Install this sublime text package via Package Control

Usage To prettify YAML, make selection of YAML and press keys:

  • Linux: ctrl+alt+y

  • Windows: ctrl+alt+y

  • OS X: cmd+ctrl+y

If selection is empty and configuration entry use_entire_file_if_no_selection is true, tries to prettify whole file.

If YAML is not valid it will be displayed in status bar of sublime.

Default configuration

This plugin uses PyYAML to process YAML files. You can specify the arguments for the Dumper in the plugin's preferences.

Thanks

License

  • View LICENSE files in plugin root and yaml/ subfolders (both MIT)
You can’t perform that action at this time.