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