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