Sublime Text Json Pretty JSON

Installation

Install this sublime text 2/3 package via Package Control search for package: “Pretty JSON
or manually install

  • cd (for example on Mac it is ~/Library/Application Support//Packages)
  • git clone https://github.com/dzhibas/SublimePrettyJson.git

Usage

To prettify JSON, make selection of json (or else it will try to use full view buffer) and press keys:
Linux: ctrl+alt+j
Windows: ctrl+alt+j
OS X: cmd+ctrl+j

{ "keys": [ "ctrl+alt+m" ], "command": "un_pretty_json" }

你可能感兴趣的:(Sublime Text Json Pretty JSON)