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