Some things users love about Sublime Text:
- Use Goto Anything to open files with only a few keystrokes, and instantly jump to symbols, lines or words.
- Make ten changes at the same time, not one change ten times. Multiple selections allow you to interactively change many lines at once, rename variables with ease, and manipulate files faster than ever.
- The Command Palette holds infrequently used functionality, like sorting, changing the syntax and changing the indentation settings. With just a few keystrokes, you can search for what you want, without ever having to navigate through the menus or remember obscure key bindings.
- When you need to focus, Distraction Free Mode is there to help you out. Distraction Free Mode is full screen, chrome free editing, with nothing but your text in the center of the screen. You can incrementally show elements of the UI, such as tabs and the find panel, as you need them.
- Get the most out of your wide screen monitor with split editing support. Edit files side by side, or edit two locations in the one file. You can edit with as many rows and columns as you wish. Take advantage of multiple monitors by editing with multiple windows, and using multiple splits in each window.
- Projects in Sublime Text capture the full contents of the workspace, including modified and unsaved files. You can switch between projects in a manner similar to Goto Anything, and the switch is instant, with no save prompts - all your modifications will be restored next time the project is opened.
- Key Bindings, Menus, Snippets, Macros, Completions and more - just about everything in Sublime Text is customizable with simple JSON files. This system gives you flexibility as settings can be specified on a per-file type and per-project basis.
- Sublime Text is available for OS X, Windows and Linux. One license is all you need to use Sublime Text on every computer you own, no matter what operating system it uses.
Download sublime text 32bit for free. Development Tools downloads - Sublime Text 2 by Sublime HQ Pty. And many more programs are available for instant and free download. Download Sublime Text for Windows now from Softonic: 100% safe and virus free. More than 9578 downloads this month. Download Sublime Text latest version 2021. Download Sublime for Windows 10 for Windows to sublime is a cloud-based software developed for beauty salon and spa.
BrowsePrettify/Minify/Query/Goto/Validate/Lint JSON plugin for Sublime Text 2 & 3 Best computer backup hardware.
Sublime Download Windows 10 64 Bit
Installs
- Total819K
- Win336K
- Mac351K
- Linux131K
Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | Mar 4 | Mar 3 | Mar 2 | Mar 1 | Feb 28 | Feb 27 | Feb 26 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | Feb 17 | Feb 16 | Feb 15 | Feb 14 | Feb 13 | Feb 12 | Feb 11 | Feb 10 | 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 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 3 | 253 | 276 | 243 | 92 | 87 | 237 | 263 | 254 | 249 | 221 | 87 | 94 | 233 | 258 | 252 | 241 | 186 | 74 | 120 | 197 | 226 | 205 | 166 | 155 | 72 | 64 | 151 | 201 | 193 | 219 | 226 | 136 | 115 | 246 | 240 | 249 | 254 | 201 | 108 | 105 | 212 | 380 | 226 | 242 | 227 |
Mac | 7 | 369 | 321 | 234 | 87 | 100 | 260 | 311 | 313 | 305 | 250 | 90 | 91 | 233 | 310 | 315 | 298 | 280 | 71 | 104 | 278 | 287 | 255 | 243 | 171 | 81 | 79 | 195 | 229 | 267 | 285 | 284 | 140 | 76 | 281 | 323 | 295 | 333 | 270 | 91 | 84 | 244 | 306 | 341 | 294 | 297 |
Linux | 2 | 73 | 98 | 82 | 35 | 32 | 59 | 77 | 81 | 81 | 78 | 35 | 29 | 56 | 75 | 85 | 73 | 58 | 34 | 31 | 58 | 73 | 68 | 63 | 58 | 35 | 32 | 69 | 66 | 97 | 76 | 78 | 31 | 29 | 74 | 77 | 79 | 75 | 72 | 30 | 24 | 78 | 85 | 75 | 60 | 81 |
Readme
- Source
- raw.githubusercontent.com
Prettify/Minify/Query/Goto/Validate/Lint JSON plugin for Sublime Text 3 & 4
Installation
Package Control (Recommended)
Install this sublime text ¾ package via Package Control search for package: 'Pretty JSON'
Manual Installation
Sublime Text 4
cd
(MacOS:~/Library/Application Support/Sublime Text/Packages
)git clone https://github.com/dzhibas/SublimePrettyJson.git 'Pretty JSON'
Sublime Text 3
cd
(MacOS:~/Library/Application Support/Sublime Text 3/Packages
)git clone https://github.com/dzhibas/SublimePrettyJson.git 'Pretty JSON'
cd Pretty JSON
git checkout st3
Sublime Text 2No longer supported
Usage
To prettify JSON, make selection of json (or else it will try to use full view buffer) and press keys:
Sublime Text 2
- Linux: ctrl+alt+j
- Windows: ctrl+alt+j
- OS X: cmd+ctrl+j
or through Command Palette Ctrl+Shift+P find 'Pretty JSON: Format JSON' (you can search for part of it like 'pretty format')
If selection is empty and configuration entry use_entire_file_if_no_selection is true, tries to prettify whole file
If JSON is not valid it will be displayed in status bar of Sublime Text
Validate JSON
Using Command Palette Ctrl+Shift+P find 'Pretty JSON: Validate' (you can search for partial string 'validate') this will validate selection or full file and will show in dialog if it's valid or invalid. In case of found errors view will jump to error and will highlight it
Compress / Minify JSON
Using Command Palette Ctrl+Shift+P find 'Pretty JSON: Minify JSON' (you can search for part of it like 'json minify') this will make selection or full buffer as single line JSON which later you can use in command lines (curl/httpie) or somewhere else…
To map a key combination like Ctrl+Alt+M to the Minify command, you can add a setting like this to your .sublime-keymap file (eg: Packages/User/Default (Windows).sublime-keymap
):
Convert JSON to XML
Using Command Palette Ctrl+Shift+P search for 'Pretty JSON: json2xml' (you can search for part of it like '2XML') this will convert your selected JSON of full buffer to XML and replace syntax and buffer to XML output
./jQ query/filter usage
Demo:
If on your machine './jq' tool is available with ctrl+atl+shift+jyou can run against your json. output will be opened in new view so you can once again apply jq on new buffer
You can find instructions of tool here:
Default configuration
use_entire_file_if_no_selection
- Default:
true
- Default:
indent
- Default:
2
- Integer represents amount of spaces
t
will utilize a tab character
- Default:
sort_keys
- Default:
false
- Default:
ensure_ascii
- Default:
false
- Default:
line_separator
- ','
value_separator
- ': '
- Value separator in config, so if you need to get rid of extra space you can remove it with this param
keep_arrays_single_line
- Default:
false
- If we need to re-structure arrays and make them single-line
- Default:
Adobe lightroom download.
max_arrays_line_length
- Default:
120
- If array for example '['a', 'b', 123213, ….]' length will reach max it will be kept multi-line
- Default:
pretty_on_save
- Default:
false
- Do we need to automatically Pretty JSON on save
- Default:
validate_on_save
- Default:
true
- Do we need validate JSON files on each save
- Default:
reindent_block
- Default:
false
- If we are formatting a selection, if we need to reindent theresulting block to follow the flow of the source documentthe posible values are 'minimal' and 'start'
using
minimal
, the resulting json lines are indented as much spaces as the line where the selection starts. e.ggets formatted as:
using
start
, the resulting json lines are indented a numberof spaces equal to the column number of the start of the selectionwith
start
the previous example gets formatted as:- Default:
Using tabs for indentation
You can change configuration key indent to string value 't'
or any other string
Sublime Text 2No longer supported
Usage
To prettify JSON, make selection of json (or else it will try to use full view buffer) and press keys:
Sublime Text 2
- Linux: ctrl+alt+j
- Windows: ctrl+alt+j
- OS X: cmd+ctrl+j
or through Command Palette Ctrl+Shift+P find 'Pretty JSON: Format JSON' (you can search for part of it like 'pretty format')
If selection is empty and configuration entry use_entire_file_if_no_selection is true, tries to prettify whole file
If JSON is not valid it will be displayed in status bar of Sublime Text
Validate JSON
Using Command Palette Ctrl+Shift+P find 'Pretty JSON: Validate' (you can search for partial string 'validate') this will validate selection or full file and will show in dialog if it's valid or invalid. In case of found errors view will jump to error and will highlight it
Compress / Minify JSON
Using Command Palette Ctrl+Shift+P find 'Pretty JSON: Minify JSON' (you can search for part of it like 'json minify') this will make selection or full buffer as single line JSON which later you can use in command lines (curl/httpie) or somewhere else…
To map a key combination like Ctrl+Alt+M to the Minify command, you can add a setting like this to your .sublime-keymap file (eg: Packages/User/Default (Windows).sublime-keymap
):
Convert JSON to XML
Using Command Palette Ctrl+Shift+P search for 'Pretty JSON: json2xml' (you can search for part of it like '2XML') this will convert your selected JSON of full buffer to XML and replace syntax and buffer to XML output
./jQ query/filter usage
Demo:
If on your machine './jq' tool is available with ctrl+atl+shift+jyou can run against your json. output will be opened in new view so you can once again apply jq on new buffer
You can find instructions of tool here:
Default configuration
use_entire_file_if_no_selection
- Default:
true
- Default:
indent
- Default:
2
- Integer represents amount of spaces
t
will utilize a tab character
- Default:
sort_keys
- Default:
false
- Default:
ensure_ascii
- Default:
false
- Default:
line_separator
- ','
value_separator
- ': '
- Value separator in config, so if you need to get rid of extra space you can remove it with this param
keep_arrays_single_line
- Default:
false
- If we need to re-structure arrays and make them single-line
- Default:
Adobe lightroom download.
max_arrays_line_length
- Default:
120
- If array for example '['a', 'b', 123213, ….]' length will reach max it will be kept multi-line
- Default:
pretty_on_save
- Default:
false
- Do we need to automatically Pretty JSON on save
- Default:
validate_on_save
- Default:
true
- Do we need validate JSON files on each save
- Default:
reindent_block
- Default:
false
- If we are formatting a selection, if we need to reindent theresulting block to follow the flow of the source documentthe posible values are 'minimal' and 'start'
using
minimal
, the resulting json lines are indented as much spaces as the line where the selection starts. e.ggets formatted as:
using
start
, the resulting json lines are indented a numberof spaces equal to the column number of the start of the selectionwith
start
the previous example gets formatted as:- Default:
Using tabs for indentation
You can change configuration key indent to string value 't'
or any other string
Movie director download. Be sure 'Indent Using Spaces'
is unchecked otherwise you will not see effect and ST3/4 will convert it back to spaces
Contributors
Others
If you YAMLing then maybe you interested in this plugin: PrettyYAML