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

Installs

  • Total 81K
  • Win 26K
  • Mac 38K
  • Linux 17K
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 May 7 May 6 May 5 May 4 May 3
Windows 3 5 3 1 6 2 8 5 4 2 1 7 3 6 0 5 4 2 3 5 3 5 6 2 3 5 2 7 6 3 3 3 4 3 7 4 3 0 2 5 6 6 3 1 8 3
Mac 2 3 3 4 6 6 8 4 4 1 2 8 7 4 3 2 4 2 7 11 7 2 4 3 7 6 7 4 6 4 4 1 9 5 9 7 12 3 2 10 12 8 7 7 4 2
Linux 0 0 0 0 0 3 4 2 3 2 1 1 2 2 0 0 0 0 1 3 6 0 3 1 0 2 3 3 1 1 2 1 2 0 0 2 5 0 0 0 0 2 1 1 0 0

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)