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

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)