Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Prettier Problem MatchersNew to Visual Studio Code? Get it now.
Prettier Problem Matchers

Prettier Problem Matchers

Rayat Rahman

|
275 installs
| (0) | Free
Provides problem matchers for projects using prettier and prettier in watch-mode
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Prettier Problem Matchers for VS Code

Provides problem matchers for use with JS/TS projects using Prettier.

Features

Provides the following problem matchers:

  • $prettier - basic, prettier errors become Error problems
  • $prettier-warning - not so useful imo, but it reports file-level warnings for style check fails as Warning problems
  • $prettier-watch - for when prettier is run in 'watch mode' via onchange cli (per prettier docs)
  • $prettier-warning-watch - same as above, but reports warnings as well

Usage

The following example shows how to add problem matchers to your project:

{
	"version": "2.0.0",
	"tasks": [
		{
			"type": "npm",
			"script": "prettier",
			"problemMatcher": ["$prettier"]
		},
		{
			"type": "npm",
			"script": "prettier-watch",
			"isBackground": true,
			"problemMatcher": ["$prettier-watch"]
		}
	]
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft