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