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

JSON Reindent

by ThomasKliszowski ALL Trending

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

Details

Installs

  • Total 216K
  • Win 87K
  • Mac 88K
  • Linux 41K
Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 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
Windows 11 27 17 15 15 6 2 14 20 26 14 18 4 9 14 19 28 20 19 6 4 17 25 20 21 23 10 5 26 20 21 15 11 7 11 18 22 14 22 15 8 6 21 18 17 24
Mac 10 11 31 19 15 11 6 23 25 17 22 15 7 6 19 16 25 32 21 8 3 20 35 27 27 18 14 4 20 19 26 28 25 6 6 17 20 30 31 16 5 4 18 29 22 21
Linux 5 8 6 8 12 4 1 6 8 4 9 9 5 3 8 6 6 11 14 3 1 12 10 5 11 5 4 4 5 3 9 3 7 8 3 6 7 8 2 11 4 2 7 7 6 9

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