Prettier
Formats your code the same way every time.
One opinionated formatter, run on save. It ends arguments about spacing and, more usefully here, keeps every AI-generated file looking like the rest of the project instead of like whichever model wrote it.
Use it in
Pairs well with
Plugins
Key info
- Pricing
- Open source
- Platform
- macOS · Windows · Linux
- Category
- Plugins
- Best for
- Beginner
- Cost
- Free and open source (MIT)
- Install
- Prettier - Code formatter, in the VS Code marketplace
- Set up
- Make it the default formatter and tick Format on save
- Handles
- JavaScript, TypeScript, CSS, HTML, JSON, Markdown and more
- Good for
- Every file looking the same, whoever or whatever wrote it
