From 55cfa47590ccd1da350dd8ac2f7132ec7f512265 Mon Sep 17 00:00:00 2001 From: Nikolajus Date: Thu, 9 Feb 2012 09:45:17 +0100 Subject: [PATCH] Readme changes --- README.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a7ad552..6fee3a8 100644 --- a/README.md +++ b/README.md @@ -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 \ No newline at end of file +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