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