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
  • 5 years ago
  • 14 minutes ago
  • 5 years ago

Installs

  • Total 33K
  • Win 9K
  • OS X 16K
  • Linux 8K
Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8
Windows 0 15 5 4 11 5 7 6 10 13 11 11 6 9 11 2 9 4 12 7 1 7 11 8 9 10 2 2 17 7 13 10 13 6 7 13 13 13 9 10 3 4 9 10 8 9
OS X 1 15 21 22 18 4 9 18 18 17 21 12 5 5 10 5 19 29 14 5 8 16 18 12 21 6 3 6 13 23 30 20 13 5 4 18 19 20 23 18 10 3 16 17 15 24
Linux 1 6 7 10 10 4 2 5 12 10 4 10 3 1 6 3 7 7 7 3 5 7 11 11 11 6 2 2 9 7 5 11 4 2 2 8 13 9 7 10 2 1 6 5 7 12

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)