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