This VS Code extension formats objects into a single line with appropriate newlines for better readability.
Features
- Formats objects to a single line.
- Adds newlines between each key-value pair.
- Automatically adds quotes around keys if they are missing.
Usage
- Select the object or text you want to format.
- Run the "Format with Newlines" command from the command palette.
- Your object will be formatted with newlines added between the key-value pairs.
Requirements
- VS Code version 1.96.0 or later.
License
This project is not licensed. You are free to do as you wish with the code, but please note that you do so at your own risk.
| |