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
  • 3 years ago
  • 7 minutes ago
  • 9 years ago

Installs

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

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)