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