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 29K
  • Win 8K
  • OS X 14K
  • Linux 7K
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 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 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
Windows 1 11 10 11 15 8 4 5 13 7 5 10 10 2 3 9 9 13 8 2 3 5 11 8 10 5 5 3 2 9 11 14 12 11 3 5 4 16 5 13 6 4 3 10 9 12
OS X 0 14 26 18 24 8 11 2 18 18 13 16 16 6 4 16 13 10 12 9 6 2 14 9 10 17 7 8 4 16 17 16 18 12 7 10 10 18 20 36 15 9 12 12 26 11
Linux 1 7 8 11 12 3 7 6 4 9 5 5 6 0 4 4 5 9 3 2 1 3 3 6 9 2 2 2 5 8 3 8 7 7 4 3 9 6 6 7 6 2 7 7 6 6

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)