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

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)