JSON Align
A simple VS Code extension to align JSON array objects by key, making them more readable.
Features
This extension provides a command and format-on-save functionality to vertically align values in a JSON array of objects.
Before:
[
{ "header": "Benchmark", "progress": 1 },
{ "header": "Lib", "progress": 0 },
{ "header": "Compiler", "progress": 0 }
]
After:
[
{ "header": "Benchmark", "progress": 1 },
{ "header": "Lib", "progress": 0 },
{ "header": "Compiler", "progress": 0 }
]
Enjoy!
| |