JSON Compact PrettierA formatter for JSON FilesThis extension adds formatting for .json and .jsonc files Features
InstallationInstall through VS Code extensions. Search for JSON Compact Prettier Visual Studio Code Market Place: JSON Compact Prettier Can also be installed in VS Code: Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Setting as JSON FormatterTo use JSON Compact Prettier as the default formatter for JSON Files in your VSCode Settings
UsageUsing Command Palette (CMD/CTRL + Shift + P)
Format On SaveJSON Compact Prettier respects the
|