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 26K
  • Win 7K
  • OS X 13K
  • Linux 6K
Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 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
Windows 15 15 5 6 23 16 21 13 4 2 3 9 8 7 11 10 1 5 8 10 17 4 7 5 5 9 10 11 9 7 5 6 8 10 10 4 10 4 6 5 4 11 9 15 6 2
OS X 13 27 9 9 22 26 29 26 13 7 4 18 13 16 10 11 5 5 13 18 9 10 12 9 6 14 14 23 20 10 4 0 20 16 11 18 10 7 8 8 21 18 12 10 6 5
Linux 6 6 3 4 14 19 9 7 10 4 1 9 11 2 7 9 4 9 3 4 12 5 8 5 2 9 9 10 10 13 3 2 7 5 6 8 3 0 4 8 11 6 10 4 1 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)