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
  • 6 months ago
  • 3 hours ago
  • 7 years ago

Installs

  • Total 54K
  • Win 16K
  • Mac 26K
  • Linux 12K
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 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
Windows 8 11 5 9 2 16 12 11 13 8 4 10 12 16 12 8 10 6 9 10 7 6 8 13 6 5 5 5 11 10 7 6 6 14 12 11 10 6 1 2 6 6 12 6 15 3
Mac 7 10 9 2 4 11 9 18 16 13 3 6 20 18 11 13 4 2 9 17 12 10 11 8 7 3 13 13 7 12 17 7 6 14 18 22 10 12 4 6 9 15 14 8 8 0
Linux 9 8 3 5 1 11 6 6 7 8 0 1 7 7 4 5 5 3 5 7 8 4 6 3 1 0 6 7 9 8 11 3 4 6 5 7 4 5 4 3 9 3 3 5 5 3

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)