ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Pretty YAML

by aukaost ST2/ST3

Sublime Text 2/3 plugin that allows to format a YAML file

Details

Installs

  • Total 23K
  • Win 6K
  • OS X 11K
  • Linux 5K
Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9
Windows 6 4 10 11 11 11 8 4 8 6 10 7 6 8 6 2 11 9 12 4 12 2 2 13 11 10 10 6 4 1 6 9 11 13 10 2 8 10 7 12 11 11 2 8 8 8
OS X 5 10 12 14 18 18 10 5 12 12 23 26 20 8 8 5 17 19 16 17 15 4 15 7 21 19 15 19 8 4 14 10 17 19 16 8 9 15 30 17 16 23 5 9 14 18
Linux 1 1 4 9 6 11 5 5 2 7 10 11 7 8 3 5 6 7 2 12 6 1 3 11 7 8 9 8 4 5 8 10 5 7 4 5 4 10 9 8 5 5 1 5 7 4

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)