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 months ago
  • 46 minutes ago
  • 7 years ago

Installs

  • Total 53K
  • Win 15K
  • Mac 25K
  • Linux 12K
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 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21
Windows 10 12 8 2 5 1 6 14 6 7 8 4 11 10 8 7 7 4 4 14 11 8 12 5 4 6 16 8 8 17 5 4 3 7 2 5 6 10 7 3 5 8 4 18 7 7
Mac 10 16 8 4 7 15 18 12 19 16 5 15 19 13 20 11 16 8 8 11 16 16 11 13 7 6 13 18 17 17 14 4 2 8 9 16 10 11 3 10 9 15 14 23 13 3
Linux 8 7 7 3 5 11 5 9 14 5 5 7 4 0 3 8 6 5 6 5 5 3 6 7 1 3 4 4 2 5 9 4 2 8 8 3 10 8 5 4 6 4 6 10 6 2

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)