sublime-text-plugin-auto-json

A Sublime Text 3/4 plugin that format possible json string automatically when you edit/paste...

screenshot.png

Usage

  1. start your file content with first line like this: $ auto-json, or rename your file with a .auto-json suffix
  2. paste or input a json string, for example: {"package": "auto-json", "version": "v0.1"}
  3. this plugin will try format your json string, or do nothing if it's not a valid json string

How to install

  1. Make sure Package Control is installed
  2. Open the command palette (Win/Linux: ctrl+shift+p, Mac: cmd+shift+p)
  3. Type add repository, press Enter
  4. Paste https://github.com/zhjp0/sublime-text-plugin-auto-json.git, press Enter
  5. Open the command palette, type install package, press Enter
  6. Type auto json and installl it
  7. start your auto-json journey