dzhibas/SublimePrettyJson — Issue #1: Enhancements?
Author: the3rdhbtaylor
Created: 2012-02-08 20:53:34+00:00
State: open

I really like this Sublime Package! Thanks for putting it together. There were a few things I thought it would be nice to add. Instead of just asking you to add them, I went ahead and patch a clone of your repository to add them. If you want, I can provide you with a patch so you can determine if you want to add any or all of the functionality.

Here is a list of the changes I made:
1. Allow it to process the entire file if there is no selection
2. Changed the keymap entries to only execute in the source.json scope
3. Added sublime-settings to control the "process entire file if there is no selection", "sort_keys", and "indent_size"
4. Added a Main.sublime-menu so that the default and user settings files are accessible via the Preferences menu
Added a Default.sublime-commands to surface the prettyjson command via the Command Palette.

If you would like the patch that I created, please let me know.

Thanks,

H.B. Taylor