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