dprint Documentation
dprint is a pluggable and configurable code formatting platform.
Features
-
Fast: Designed for speed.
-
Extensible: Supports plugins for various languages (TypeScript, JSON, Markdown, etc.).
-
Configurable: Use a
dprint.jsonfile to configure formatting rules.
Installation
You can install dprint via the VS Code extension or as a CLI tool.
VS Code Extension
-
Install the dprint extension.
-
Configure it in your
settings.json.
CLI Tool
See the official documentation for CLI installation instructions.