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 211K
  • Win 85K
  • Mac 85K
  • Linux 41K
Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9
Windows 16 22 15 21 12 4 17 27 29 20 29 15 13 22 10 25 27 10 10 3 23 24 12 27 17 6 4 14 30 21 19 19 5 3 24 20 25 22 12 8 7 22 25 25 23 25
Mac 18 30 31 14 3 4 16 17 25 13 10 11 7 13 16 31 16 21 11 6 17 20 15 20 18 5 3 20 28 34 35 22 5 3 19 28 23 28 23 3 5 17 30 23 21 20
Linux 4 16 10 8 7 0 6 10 11 5 10 1 3 5 9 9 6 11 7 3 5 8 13 9 10 3 2 9 6 12 11 6 3 4 9 4 8 11 7 1 2 5 11 11 4 7

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