Prettier · Opinionated Code Formatter
An opinionated code formatter
Supports many languages
Integrates with most editors
Has few options
prettier/prettier-vscode: Visual Studio Code extension for Prettier
@GitHub
1. CMD + Shift + P -> Format Document
OR
1. Select the text you want to Prettify
2. CMD + Shift + P -> Format Selection
// Set the default "editor.formatOnSave": false, // Enable per-language "[javascript]": { "editor.formatOnSave": true }
Automated code formatting with Prettier
Use Prettier in Visual Studio Code - YouTube
No comments:
Post a Comment