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

  • 0.1.0
  • github.​com
  • 6 years ago
  • 2 hours ago
  • 6 years ago

Installs

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