Pretty YAML
Sublime Text 2/3 plugin that allows to format a YAML file
Details
Installs
- Total 82K
- Win 26K
- Mac 39K
- Linux 17K
| 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 | 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 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 6 | 6 | 6 | 2 | 1 | 3 | 4 | 5 | 1 | 5 | 2 | 0 | 3 | 2 | 2 | 5 | 11 | 4 | 0 | 0 | 3 | 5 | 1 | 3 | 4 | 1 | 1 | 5 | 4 | 4 | 0 | 2 | 0 | 3 | 4 | 7 | 7 | 4 | 5 | 4 | 1 | 4 | 9 | 2 | 3 | 6 |
| Mac | 12 | 8 | 7 | 11 | 2 | 5 | 4 | 6 | 3 | 3 | 6 | 2 | 1 | 4 | 3 | 8 | 8 | 7 | 1 | 1 | 6 | 8 | 8 | 4 | 6 | 3 | 1 | 3 | 5 | 3 | 10 | 2 | 2 | 1 | 5 | 5 | 9 | 6 | 8 | 3 | 1 | 6 | 9 | 11 | 7 | 8 |
| Linux | 3 | 3 | 3 | 0 | 1 | 1 | 4 | 7 | 3 | 2 | 1 | 2 | 1 | 0 | 3 | 3 | 2 | 3 | 3 | 0 | 1 | 2 | 2 | 2 | 1 | 1 | 1 | 1 | 5 | 2 | 1 | 4 | 1 | 0 | 0 | 3 | 3 | 4 | 0 | 0 | 2 | 2 | 0 | 2 | 0 | 5 |
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)