Commit Graph

195 Commits

Author SHA1 Message Date
Tolga O 1dd6438d6f Corrected the configuration parameter name for indent in Readme 2013-08-03 18:07:31 -04:00
Nikolajus fd69613832 Issue #22 change syntax only if json object was prettified 2013-06-19 12:43:39 +02:00
Nikolajus 5bf0c1f16d Fixing issue #22 and some indent fix for pep8 e128 2013-06-19 12:25:41 +02:00
Nikolajus 98e788f2c8 Fixed plugin to work with st3 2013-04-23 21:23:43 +03:00
Nikolajus a101fa0f12 Fixing issue #21 moving loading of configuration to async callback function plugin_loaded 2013-04-23 12:49:30 +02:00
Nikolajus 4282802b65 Update README.md 2013-04-08 10:46:47 +03:00
Nikolajus 5bee6b391c Update README.md 2013-03-29 10:16:58 +01:00
Nikolajus 9b3917505d Update README.md 2013-03-29 10:14:44 +01:00
Nikolajus f60529df3b Thank you @crcastle make it work on ST3 2013-03-29 10:13:48 +01:00
Nikolajus 1944a2f114 Merge pull request #19 from crcastle/master
PrettyJson working in both ST2 and ST3
2013-03-29 02:11:23 -07:00
Chris Castle d92e8bbe49 Allow PrettyJson.py plugin to work in both ST2 and ST3 2013-02-22 23:12:15 -08:00
Chris Castle 7843edd433 Fixes import error in simplejson I mistakenly added 2013-02-22 23:11:36 -08:00
Chris Castle 17cad98d95 Prepend simplejson import with 'module' name 2013-02-14 19:51:12 -08:00
Nikolajus 11ee95a894 removing importing native python json 2013-02-14 09:51:48 +01:00
Nikolajus 2472af646f Exception handling change to work in python 2.6 and 3 2013-02-14 09:44:03 +01:00
Nikolajus 646b477e22 added more tests for other issues 2013-02-14 09:39:32 +01:00
Nikolajus 18170f022e Added simple test and removed one import 2013-02-14 09:19:36 +01:00
Nikolajus b0d2f5ae66 Importing newest version of simplejson which wors with PY3 and 2.6, refactoring code to work only with simplejson. Issue #18 2013-02-13 10:19:30 +01:00
Nikolajus a3ed167787 Refactoring code to work with SublimeText3 and Python 3 thanks to @crcastle issue #18 2013-02-13 08:37:11 +01:00
Nikolajus 5ab38e46a6 Remove debug print of decoded object and change of default ident size to 2 2012-12-28 17:17:14 +01:00
Nikolajus d0bb576c75 Proper fix of issues #15 and #16 2012-12-28 17:12:53 +01:00
Nikolajus a00ddf43f1 fix issue #15 preserving real values as the user had it in json 2012-12-20 10:49:36 +01:00
Nikolajus ab3ff92cbf Merge pull request #13 from johnjansen/patch-1
Update README.md. Indeed super key in osx always "command" key.
2012-11-26 13:31:40 -08:00
John Jansen 40217544cf Update README.md 2012-11-26 12:48:20 -08:00
Nikolajus d529976ca0 adding ensure_ascii to configuration, and renaming configuration variable indent_size to indent. it's possible to specify not only the size of spaces but also string 2012-10-09 15:57:06 +02:00
Nikolajus cb43119624 Default value for sort_keys is changed to false 2012-06-15 17:14:23 +02:00
Nikolajus b14ec716e3 Adding copy of simplejson because package control is not suporting submodules, fixing issue #3 reordering of keys is disabled by default 2012-06-15 17:01:53 +02:00
Nikolajus 0f08d22cc2 Merge pull request #4 from naehrstoff/patch-1
Prevent single whitespace at the end of lines
2012-02-22 23:44:59 -08:00
Peter Gassner e3604b5f0c Configure json.dumps() to use an item separator of "," instead of the default ", " to prevent single whitespace at the end of lines.
Without this option, all prettyfied JSON has one space at the end of each line, which is not so pretty:

{
  "key": "value",_
  "key": "value",_
  "key": "value"
}

This could of course be configured, but with the current simplicity of the package it would probably be overkill.
2012-02-23 08:36:26 +01:00
Nikolajus dcb34211d6 Readme changes 2012-02-09 09:48:10 +01:00
Nikolajus 17f753737d Readme changes 2012-02-09 09:47:01 +01:00
Nikolajus 55cfa47590 Readme changes 2012-02-09 09:45:17 +01:00
Nikolajus 1a2e9104ff Estetic changes 2012-02-09 09:42:50 +01:00
Nikolajus c5d3554ff7 converting tabs to spaces 2012-02-09 09:42:28 +01:00
Nikolajus 386bdab8f0 removing scope for keyboard shortcuts. sometimes (for me it's always) its usefull to have shortcuts in any type of file 2012-02-09 09:40:29 +01:00
Nikolajus ab00db3628 Merge pull request #2 from the3rdhbtaylor/master
The Enhancements I mentioned in my "Issue".
-- Commit Summary --

* Added Process entire file, and configuration settings
* Cleaned up TODO comments
* Added source.json scope to Linux and Windows keymaps
* Added Main.sublime-menu to surface the settings files
* Added Default.sublime-commands to add prettyjson to the Commant Palette
2012-02-08 23:52:20 -08:00
H.B. Taylor c7e3288175 Added comment to the run() method 2012-02-08 17:33:41 -06:00
H.B. Taylor 73721049cb Added Default.sublime-commands to add prettyjson to the Commant Palette 2012-02-08 13:27:22 -06:00
H.B. Taylor ac63699d94 Added Main.sublime-menu to surface the settings files 2012-02-08 13:19:09 -06:00
H.B. Taylor 9fa1573683 Added source.json scope to Linux and Windows keymaps 2012-02-08 13:14:52 -06:00
Taylor cd50ed6216 Cleaned up TODO comments 2012-02-08 13:04:45 -06:00
Taylor 5021a2d37c Added Process entire file, and configuration settings 2012-02-08 13:03:59 -06:00
Nikolajus c55fdfb5e3 removing package metadata 2012-02-03 21:07:02 +01:00
Nikolajus 469dad9c52 fixed readme shortcuts 2012-02-03 16:08:40 +01:00
Nikolajus 6f5cfc4c4a first commit of json prettify plugin 2012-02-03 15:32:42 +01:00