Pretty YAML
Sublime Text 2/3 plugin that allows to format a YAML file
Details
Installs
- Total 79K
- Win 25K
- Mac 37K
- Linux 17K
Dec 6 | Dec 5 | Dec 4 | Dec 3 | Dec 2 | Dec 1 | Nov 30 | Nov 29 | Nov 28 | Nov 27 | Nov 26 | Nov 25 | Nov 24 | Nov 23 | Nov 22 | Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | Nov 6 | Nov 5 | Nov 4 | Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 5 | 8 | 7 | 5 | 6 | 0 | 1 | 4 | 1 | 0 | 0 | 0 | 0 | 2 | 4 | 5 | 5 | 0 | 6 | 5 | 4 | 2 | 0 | 0 | 4 | 2 | 3 | 2 | 6 | 5 | 6 | 10 | 2 | 2 | 7 | 3 | 1 | 10 | 4 | 9 | 2 | 3 | 8 | 4 | 5 | 7 |
Mac | 8 | 7 | 13 | 6 | 8 | 3 | 3 | 4 | 5 | 0 | 0 | 0 | 0 | 5 | 6 | 10 | 1 | 4 | 8 | 5 | 3 | 6 | 0 | 0 | 2 | 5 | 0 | 3 | 9 | 8 | 11 | 8 | 8 | 2 | 0 | 3 | 15 | 8 | 4 | 9 | 2 | 4 | 3 | 5 | 3 | 6 |
Linux | 2 | 0 | 2 | 3 | 0 | 1 | 0 | 3 | 1 | 0 | 0 | 0 | 0 | 1 | 2 | 1 | 1 | 1 | 3 | 3 | 0 | 2 | 0 | 0 | 2 | 0 | 0 | 1 | 2 | 2 | 1 | 3 | 2 | 1 | 1 | 1 | 0 | 1 | 3 | 3 | 2 | 0 | 1 | 1 | 3 | 3 |
Readme
- Source
- raw.githubusercontent.com
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)