A Visual Studio Code extension for formatting and validating JSON with live preview and error highlighting.
Features
- Live JSON validation and formatting
- Two-panel interface with input and formatted output
- Automatic error detection and highlighting
- Syntax error explanations with line numbers
- Suggested fixes for common JSON errors
- Copy formatted JSON with one click
- Theme-aware styling that matches your VS Code theme
Usage
- Open Command Palette (Cmd+Shift+P / Ctrl+Shift+P)
- Type "JSON Formatter" and select the command
- Paste your JSON in the left panel
- See the formatted result in the right panel
- Use "Compare & Format" to validate and format your JSON
- Click "Copy" to copy the formatted JSON
Requirements
- Visual Studio Code version 1.60.0 or higher
Known Issues
Please report any issues on the repository.
Release Notes
1.0.0
Initial release of JSON Formatter:
- Two-panel JSON formatting interface
- Error detection and highlighting
- Auto-fix suggestions
- Copy formatted JSON
- Theme-aware styling
| |