Skip to content

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

Notifications You must be signed in to change notification settings

ThomasKliszowski/json_reindent

Repository files navigation

JSONReindent

Build Status Coverage 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

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages