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

Installs

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

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)