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