ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Pretty YAML

by aukaost ALL

Sublime Text 2/3 plugin that allows to format a YAML file

Details

  • 0.2.0
  • github.​com
  • 5 years ago
  • 1 month ago
  • 11 years ago

Installs

  • Total 80K
  • Win 25K
  • Mac 38K
  • Linux 17K
Mar 25 Mar 24 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
Windows 5 3 2 2 8 8 2 6 7 2 2 8 5 7 7 1 2 3 2 8 7 8 8 1 5 0 9 7 3 2 3 4 4 3 5 1 5 4 1 8 7 4 5 7 6 5
Mac 6 8 3 5 5 8 1 3 5 3 0 3 6 8 12 7 2 2 6 5 5 10 5 1 3 5 10 7 12 4 3 4 8 9 8 10 3 3 3 4 3 9 5 5 6 6
Linux 2 4 0 0 0 1 0 5 2 3 0 3 2 4 2 2 2 0 5 3 1 0 1 2 0 2 2 3 1 4 2 2 0 1 3 3 3 3 1 4 7 8 3 1 0 2
05101520Mar 25Mar 22Mar 19Mar 16Mar 13Mar 10Mar 7Mar 4Mar 1Feb 26Feb 23Feb 20Feb 17Feb 14Feb 11Feb 8Mar 25 Linux: 2 Mac: 6 Windows: 5Mar 24 Linux: 4 Mac: 8 Windows: 3Mar 23 Linux: 0 Mac: 3 Windows: 2Mar 22 Linux: 0 Mac: 5 Windows: 2Mar 21 Linux: 0 Mac: 5 Windows: 8Mar 20 Linux: 1 Mac: 8 Windows: 8Mar 19 Linux: 0 Mac: 1 Windows: 2Mar 18 Linux: 5 Mac: 3 Windows: 6Mar 17 Linux: 2 Mac: 5 Windows: 7Mar 16 Linux: 3 Mac: 3 Windows: 2Mar 15 Linux: 0 Mac: 0 Windows: 2Mar 14 Linux: 3 Mac: 3 Windows: 8Mar 13 Linux: 2 Mac: 6 Windows: 5Mar 12 Linux: 4 Mac: 8 Windows: 7Mar 11 Linux: 2 Mac: 12 Windows: 7Mar 10 Linux: 2 Mac: 7 Windows: 1Mar 9 Linux: 2 Mac: 2 Windows: 2Mar 8 Linux: 0 Mac: 2 Windows: 3Mar 7 Linux: 5 Mac: 6 Windows: 2Mar 6 Linux: 3 Mac: 5 Windows: 8Mar 5 Linux: 1 Mac: 5 Windows: 7Mar 4 Linux: 0 Mac: 10 Windows: 8Mar 3 Linux: 1 Mac: 5 Windows: 8Mar 2 Linux: 2 Mac: 1 Windows: 1Mar 1 Linux: 0 Mac: 3 Windows: 5Feb 28 Linux: 2 Mac: 5 Windows: 0Feb 27 Linux: 2 Mac: 10 Windows: 9Feb 26 Linux: 3 Mac: 7 Windows: 7Feb 25 Linux: 1 Mac: 12 Windows: 3Feb 24 Linux: 4 Mac: 4 Windows: 2Feb 23 Linux: 2 Mac: 3 Windows: 3Feb 22 Linux: 2 Mac: 4 Windows: 4Feb 21 Linux: 0 Mac: 8 Windows: 4Feb 20 Linux: 1 Mac: 9 Windows: 3Feb 19 Linux: 3 Mac: 8 Windows: 5Feb 18 Linux: 3 Mac: 10 Windows: 1Feb 17 Linux: 3 Mac: 3 Windows: 5Feb 16 Linux: 3 Mac: 3 Windows: 4Feb 15 Linux: 1 Mac: 3 Windows: 1Feb 14 Linux: 4 Mac: 4 Windows: 8Feb 13 Linux: 7 Mac: 3 Windows: 7Feb 12 Linux: 8 Mac: 9 Windows: 4Feb 11 Linux: 3 Mac: 5 Windows: 5Feb 10 Linux: 1 Mac: 5 Windows: 7Feb 9 Linux: 0 Mac: 6 Windows: 6Feb 8 Linux: 2 Mac: 6 Windows: 5Mar 25 Linux: 2 Mac: 6 Windows: 5Mar 24 Linux: 4 Mac: 8 Windows: 3Mar 23 Linux: 0 Mac: 3 Windows: 2Mar 22 Linux: 0 Mac: 5 Windows: 2Mar 21 Linux: 0 Mac: 5 Windows: 8Mar 20 Linux: 1 Mac: 8 Windows: 8Mar 19 Linux: 0 Mac: 1 Windows: 2Mar 18 Linux: 5 Mac: 3 Windows: 6Mar 17 Linux: 2 Mac: 5 Windows: 7Mar 16 Linux: 3 Mac: 3 Windows: 2Mar 15 Linux: 0 Mac: 0 Windows: 2Mar 14 Linux: 3 Mac: 3 Windows: 8Mar 13 Linux: 2 Mac: 6 Windows: 5Mar 12 Linux: 4 Mac: 8 Windows: 7Mar 11 Linux: 2 Mac: 12 Windows: 7Mar 10 Linux: 2 Mac: 7 Windows: 1Mar 9 Linux: 2 Mac: 2 Windows: 2Mar 8 Linux: 0 Mac: 2 Windows: 3Mar 7 Linux: 5 Mac: 6 Windows: 2Mar 6 Linux: 3 Mac: 5 Windows: 8Mar 5 Linux: 1 Mac: 5 Windows: 7Mar 4 Linux: 0 Mac: 10 Windows: 8Mar 3 Linux: 1 Mac: 5 Windows: 8Mar 2 Linux: 2 Mac: 1 Windows: 1Mar 1 Linux: 0 Mac: 3 Windows: 5Feb 28 Linux: 2 Mac: 5 Windows: 0Feb 27 Linux: 2 Mac: 10 Windows: 9Feb 26 Linux: 3 Mac: 7 Windows: 7Feb 25 Linux: 1 Mac: 12 Windows: 3Feb 24 Linux: 4 Mac: 4 Windows: 2Feb 23 Linux: 2 Mac: 3 Windows: 3Feb 22 Linux: 2 Mac: 4 Windows: 4Feb 21 Linux: 0 Mac: 8 Windows: 4Feb 20 Linux: 1 Mac: 9 Windows: 3Feb 19 Linux: 3 Mac: 8 Windows: 5Feb 18 Linux: 3 Mac: 10 Windows: 1Feb 17 Linux: 3 Mac: 3 Windows: 5Feb 16 Linux: 3 Mac: 3 Windows: 4Feb 15 Linux: 1 Mac: 3 Windows: 1Feb 14 Linux: 4 Mac: 4 Windows: 8Feb 13 Linux: 7 Mac: 3 Windows: 7Feb 12 Linux: 8 Mac: 9 Windows: 4Feb 11 Linux: 3 Mac: 5 Windows: 5Feb 10 Linux: 1 Mac: 5 Windows: 7Feb 9 Linux: 0 Mac: 6 Windows: 6Feb 8 Linux: 2 Mac: 6 Windows: 5Mar 25 Linux: 2 Mac: 6 Windows: 5Mar 24 Linux: 4 Mac: 8 Windows: 3Mar 23 Linux: 0 Mac: 3 Windows: 2Mar 22 Linux: 0 Mac: 5 Windows: 2Mar 21 Linux: 0 Mac: 5 Windows: 8Mar 20 Linux: 1 Mac: 8 Windows: 8Mar 19 Linux: 0 Mac: 1 Windows: 2Mar 18 Linux: 5 Mac: 3 Windows: 6Mar 17 Linux: 2 Mac: 5 Windows: 7Mar 16 Linux: 3 Mac: 3 Windows: 2Mar 15 Linux: 0 Mac: 0 Windows: 2Mar 14 Linux: 3 Mac: 3 Windows: 8Mar 13 Linux: 2 Mac: 6 Windows: 5Mar 12 Linux: 4 Mac: 8 Windows: 7Mar 11 Linux: 2 Mac: 12 Windows: 7Mar 10 Linux: 2 Mac: 7 Windows: 1Mar 9 Linux: 2 Mac: 2 Windows: 2Mar 8 Linux: 0 Mac: 2 Windows: 3Mar 7 Linux: 5 Mac: 6 Windows: 2Mar 6 Linux: 3 Mac: 5 Windows: 8Mar 5 Linux: 1 Mac: 5 Windows: 7Mar 4 Linux: 0 Mac: 10 Windows: 8Mar 3 Linux: 1 Mac: 5 Windows: 8Mar 2 Linux: 2 Mac: 1 Windows: 1Mar 1 Linux: 0 Mac: 3 Windows: 5Feb 28 Linux: 2 Mac: 5 Windows: 0Feb 27 Linux: 2 Mac: 10 Windows: 9Feb 26 Linux: 3 Mac: 7 Windows: 7Feb 25 Linux: 1 Mac: 12 Windows: 3Feb 24 Linux: 4 Mac: 4 Windows: 2Feb 23 Linux: 2 Mac: 3 Windows: 3Feb 22 Linux: 2 Mac: 4 Windows: 4Feb 21 Linux: 0 Mac: 8 Windows: 4Feb 20 Linux: 1 Mac: 9 Windows: 3Feb 19 Linux: 3 Mac: 8 Windows: 5Feb 18 Linux: 3 Mac: 10 Windows: 1Feb 17 Linux: 3 Mac: 3 Windows: 5Feb 16 Linux: 3 Mac: 3 Windows: 4Feb 15 Linux: 1 Mac: 3 Windows: 1Feb 14 Linux: 4 Mac: 4 Windows: 8Feb 13 Linux: 7 Mac: 3 Windows: 7Feb 12 Linux: 8 Mac: 9 Windows: 4Feb 11 Linux: 3 Mac: 5 Windows: 5Feb 10 Linux: 1 Mac: 5 Windows: 7Feb 9 Linux: 0 Mac: 6 Windows: 6Feb 8 Linux: 2 Mac: 6 Windows: 5

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)