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
  • 18 minutes ago
  • 11 years ago

Installs

  • Total 80K
  • Win 25K
  • Mac 38K
  • Linux 17K
Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 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
Windows 9 4 2 0 3 7 7 2 4 4 2 4 2 7 8 4 1 1 7 7 4 7 3 2 2 8 8 2 6 7 2 2 8 5 7 7 1 2 3 2 8 7 8 8 1 5
Mac 7 5 0 5 3 8 9 6 10 4 4 6 7 9 5 7 2 0 6 13 7 7 8 3 5 5 8 1 3 5 3 0 3 6 8 12 7 2 2 6 5 5 10 5 1 3
Linux 1 3 0 0 0 4 1 2 3 1 0 2 2 3 2 3 0 1 0 1 1 3 4 0 0 0 1 0 5 2 3 0 3 2 4 2 2 2 0 5 3 1 0 1 2 0
05101520Apr 15Apr 12Apr 9Apr 6Apr 3Mar 31Mar 28Mar 25Mar 22Mar 19Mar 16Mar 13Mar 10Mar 7Mar 4Mar 1Apr 15 Linux: 1 Mac: 7 Windows: 9Apr 14 Linux: 3 Mac: 5 Windows: 4Apr 13 Linux: 0 Mac: 0 Windows: 2Apr 12 Linux: 0 Mac: 5 Windows: 0Apr 11 Linux: 0 Mac: 3 Windows: 3Apr 10 Linux: 4 Mac: 8 Windows: 7Apr 9 Linux: 1 Mac: 9 Windows: 7Apr 8 Linux: 2 Mac: 6 Windows: 2Apr 7 Linux: 3 Mac: 10 Windows: 4Apr 6 Linux: 1 Mac: 4 Windows: 4Apr 5 Linux: 0 Mac: 4 Windows: 2Apr 4 Linux: 2 Mac: 6 Windows: 4Apr 3 Linux: 2 Mac: 7 Windows: 2Apr 2 Linux: 3 Mac: 9 Windows: 7Apr 1 Linux: 2 Mac: 5 Windows: 8Mar 31 Linux: 3 Mac: 7 Windows: 4Mar 30 Linux: 0 Mac: 2 Windows: 1Mar 29 Linux: 1 Mac: 0 Windows: 1Mar 28 Linux: 0 Mac: 6 Windows: 7Mar 27 Linux: 1 Mac: 13 Windows: 7Mar 26 Linux: 1 Mac: 7 Windows: 4Mar 25 Linux: 3 Mac: 7 Windows: 7Mar 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: 5Apr 15 Linux: 1 Mac: 7 Windows: 9Apr 14 Linux: 3 Mac: 5 Windows: 4Apr 13 Linux: 0 Mac: 0 Windows: 2Apr 12 Linux: 0 Mac: 5 Windows: 0Apr 11 Linux: 0 Mac: 3 Windows: 3Apr 10 Linux: 4 Mac: 8 Windows: 7Apr 9 Linux: 1 Mac: 9 Windows: 7Apr 8 Linux: 2 Mac: 6 Windows: 2Apr 7 Linux: 3 Mac: 10 Windows: 4Apr 6 Linux: 1 Mac: 4 Windows: 4Apr 5 Linux: 0 Mac: 4 Windows: 2Apr 4 Linux: 2 Mac: 6 Windows: 4Apr 3 Linux: 2 Mac: 7 Windows: 2Apr 2 Linux: 3 Mac: 9 Windows: 7Apr 1 Linux: 2 Mac: 5 Windows: 8Mar 31 Linux: 3 Mac: 7 Windows: 4Mar 30 Linux: 0 Mac: 2 Windows: 1Mar 29 Linux: 1 Mac: 0 Windows: 1Mar 28 Linux: 0 Mac: 6 Windows: 7Mar 27 Linux: 1 Mac: 13 Windows: 7Mar 26 Linux: 1 Mac: 7 Windows: 4Mar 25 Linux: 3 Mac: 7 Windows: 7Mar 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: 5Apr 15 Linux: 1 Mac: 7 Windows: 9Apr 14 Linux: 3 Mac: 5 Windows: 4Apr 13 Linux: 0 Mac: 0 Windows: 2Apr 12 Linux: 0 Mac: 5 Windows: 0Apr 11 Linux: 0 Mac: 3 Windows: 3Apr 10 Linux: 4 Mac: 8 Windows: 7Apr 9 Linux: 1 Mac: 9 Windows: 7Apr 8 Linux: 2 Mac: 6 Windows: 2Apr 7 Linux: 3 Mac: 10 Windows: 4Apr 6 Linux: 1 Mac: 4 Windows: 4Apr 5 Linux: 0 Mac: 4 Windows: 2Apr 4 Linux: 2 Mac: 6 Windows: 4Apr 3 Linux: 2 Mac: 7 Windows: 2Apr 2 Linux: 3 Mac: 9 Windows: 7Apr 1 Linux: 2 Mac: 5 Windows: 8Mar 31 Linux: 3 Mac: 7 Windows: 4Mar 30 Linux: 0 Mac: 2 Windows: 1Mar 29 Linux: 1 Mac: 0 Windows: 1Mar 28 Linux: 0 Mac: 6 Windows: 7Mar 27 Linux: 1 Mac: 13 Windows: 7Mar 26 Linux: 1 Mac: 7 Windows: 4Mar 25 Linux: 3 Mac: 7 Windows: 7Mar 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: 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)