Readme changes

This commit is contained in:
Nikolajus 2012-02-09 09:45:17 +01:00
parent 1a2e9104ff
commit 55cfa47590
1 changed files with 13 additions and 2 deletions

View File

@ -4,10 +4,21 @@ Prettify JSON plugin for Sublime Text 2
Install this repository via [Package Control](http://wbond.net/sublime_packages/package_control)
## Usage
To prettify json, make selection of json and press keys:
To prettify JSON, make selection of json and press keys:
- Linux: `ctrl+alt+j`
- Windows: `ctrl+alt+j`
- OS X: `super+ctrl+j`
If JSON is not valid it will be displayed in status bar of sublime
If selection is empty and configuration entry "use_entire_file_if_no_selection" is true, tries to prettify whole file.
If JSON is not valid it will be displayed in status bar of sublime.
## Default configuration
"use_entire_file_if_no_selection" : true,
"indent_size" : 4,
"sort_keys" : true
## Thanks
https://github.com/the3rdhbtaylor