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 224K
  • Win 90K
  • Mac 91K
  • Linux 43K
Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26
Windows 14 8 7 20 18 17 11 8 4 3 16 16 16 19 13 4 6 20 19 20 10 8 5 6 24 8 10 14 17 5 2 8 15 14 10 23 4 6 9 9 12 10 14 2 2 1
Mac 17 2 3 20 15 17 24 9 7 5 12 18 15 13 14 11 7 11 15 27 12 19 2 2 12 21 25 25 15 3 6 7 22 11 12 15 12 7 11 2 8 11 14 2 4 11
Linux 13 2 3 4 7 6 6 8 6 3 10 9 7 2 9 1 1 3 3 2 3 7 1 4 6 3 5 6 3 3 4 3 9 11 7 8 3 0 5 6 5 5 3 4 3 3

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