ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

JSON Reindent

Sublime Text 2/3 Plugin - JSON Reindent: reindent file or selection

Details

Installs

  • Total 204K
  • Win 82K
  • Mac 82K
  • Linux 39K
Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 29 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13
Windows 2 19 18 25 21 2 10 14 24 21 21 15 10 6 21 18 22 27 15 10 6 17 17 26 24 21 6 8 21 22 17 22 26 8 9 26 18 21 23 21 10 13 18 16 21 23
Mac 4 22 20 23 23 4 10 24 30 32 34 18 3 2 24 17 28 23 21 5 7 15 20 34 21 23 6 5 15 23 24 20 23 5 5 24 30 23 21 19 9 6 23 27 23 29
Linux 1 5 10 9 6 5 0 8 4 3 9 18 7 1 5 8 9 3 12 1 3 9 10 10 10 8 2 3 10 9 7 10 11 5 2 5 10 14 7 9 2 3 1 11 8 11

Readme

Source
raw.​githubusercontent.​com

JSONReindent

Build Status

Description

Sublime Text 2/3 Plugin - JSON Reindent: reindent file or selection

Usage

Open your Sublime Text command palette (Ctrl+Shift+P) and type “JSON Reindent”.

This will reindent your whole file, or your selection if exists.

The error output is in your Sublime Text Console.

Logs

  • 2.0.0: Use PyYAML to parse user input because YAML is a superset of JSON. This way, the script is less restrictive than the use of the JSON parser, ie: the plugin is able to parse a JSON with trailing commas. In addition to that, you can parse a YAML file and format it to JSON by using this plugin.
  • 1.1.1: Fix non-ascii bug.
  • 1.1.0: Disable sorting by default, add a settings file to enable it (see Settings > JSON Reindent > Settings - Default) only on ST3.
  • 1.0.1: JSON Reindent now uses users's tab_size instead of 2 spaces to indent json
  • 1.0: Enable user to reindent current file or selection (single or multiple), silent if it can't