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