Esben Peterson, he's the original developer of Prettier for VS Code, as can be seen in the commit history.
Answer from Nick is tired on Stack OverflowGitHub
github.com › prettier › prettier-vscode › issues › 3438
`esbenp.prettier-vscode` isn't consistent with `prettier` in `package.json` · Issue #3438 · prettier/prettier-vscode
June 19, 2024 - The Prettier VSCode extension does not format them, and the prettier formatting check will fail. esbenp.prettier-vscode should format *.config.ts and test/ui/**.spec.ts files exactly as
Published Jun 19, 2024
esbenp.prettier-vscode formats more than needed by normal prettier
Summary esbenp.prettier-vscode reformats code that when running npx prettier --write filename it will format this : export class Test { private test(params: any) { console.log(); } private test2() ... More on github.com
visual studio code - What does "esbenp" stand for in Prettier config in settings.json? - Stack Overflow
I see esbenp a lot, but it's really hard to find what it stands for. ... Esben Peterson, he's the original developer of Prettier for VS Code, as can be seen in the commit history. More on stackoverflow.com
Why my VS code pettier not working ?
With the extension Prettier-Code Formatter installed, set "editor.defaultFormatter": "esbenp.prettier-vscode" in User Settings.json. Reload the window, then open command palette, choose format document with, you would see prettier there. Try this and see if it solves your question. More on reddit.com
Prettier is driving me crazy
I've found it will refuse to format if I have some serious syntax error which breaks its parser. ESLint can help track down the problem... or just running the file to make it crash. "No configuration provided for [path/file] Is your project set up in a non-root directory? Perhaps you need to tweak prettier to correctly resolve the config file? There is a precedence when resolving configs, and your VS Code settings will be at the very bottom of that, so make sure there's no conflicting config file. Take a look at their docs for the precedence. More on reddit.com
Videos
02:06
Install Prettier on VSCode | Set Up and configure Prettier - ...
00:47
How to fix Prettier Extension in VS Code - YouTube
05:07
Code Formatting Extensions in VSCode - YouTube
05:07
Code Formatting with Prettier in Visual Studio Code - YouTube
04:00
How to Setup VS Code + Prettier + ESLint - YouTube
GitHub
github.com › prettier › prettier-vscode › issues › 3631
esbenp.prettier-vscode formats more than needed by normal prettier · Issue #3631 · prettier/prettier-vscode
January 1, 2025 - Summary esbenp.prettier-vscode reformats code that when running npx prettier --write filename it will format this : export class Test { private test(params: any) { console.log(); } private test2() { this.test({ parameter1: 1, parameter2:...
Published Feb 19, 2025
Visual Studio Marketplace
marketplace.visualstudio.com › items
Prettier - Code formatter - Visual Studio Marketplace
Extension for Visual Studio Code - DEPRECATED: Please use esbenp.prettier-vscode instead.
userwei's Note
note.userwei.com › docs › setup › tool › vscode › extension › prettier
Prettier | userwei's Note
Prettier # Install the Prettier - Code formatter extension in Visual Studio Code Add configuration in Visual Studio Code settings { "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.formatOnSave": true }
Prettier
prettier.io › docs › editors
Editor Integration · Prettier
prettier-vscode can be installed using the extension sidebar – it’s called “Prettier - Code formatter.” Check its repository for configuration and shortcuts.
Reddit
reddit.com › r/vscode › why my vs code pettier not working ?
r/vscode on Reddit: Why my VS code pettier not working ?
March 13, 2021 -
I have been searching google for several hours.
Many user have similar problem with me. https://stackoverflow.com/questions/52586965/why-does-prettier-does-not-format-code-in-vs-code/64273353#64273353
But none of the solution works for me.
https://imgur.com/2ssn1Vt
I have prettier installed. And I have tried the following
1.Command + Shift + p
2.type format document with
3.select Configure Default Formatter...
https://imgur.com/xw5oYvS
Then I cant select Prettier as default.
I only give me Python(default) as the only option.
I have a setting.json inside my root. Is it related?
https://imgur.com/KbEdsOV
Top answer 1 of 2
2
With the extension Prettier-Code Formatter installed, set "editor.defaultFormatter": "esbenp.prettier-vscode" in User Settings.json. Reload the window, then open command palette, choose format document with, you would see prettier there. Try this and see if it solves your question.
2 of 2
1
I am having the very same issue. On one of my machines, Prettier doesn't even appear in the status bar and I keep getting an error saying, "Extension 'Prettier - Code fromatter' cannot format 'src\index.js'" I tried what u/Molly_Wang suggested but no luck. I have had it working before and it works fine on my other machine. Unfortunately, there are also no debug messages of any sort, so I can't figure out what the problem is. I made sure to try with a file that doesn't contain errors preventing formatting.
GitHub
github.com › prettier › prettier-vscode › releases
Releases · prettier/prettier-vscode
Visual Studio Code extension for Prettier. Contribute to prettier/prettier-vscode development by creating an account on GitHub.
Author prettier
MangoHost
mangohost.net › mangohost blog › format code with prettier in visual studio code
Format Code with Prettier in Visual Studio Code
August 3, 2025 - { "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.formatOnSave": true, "editor.formatOnPaste": true, "editor.formatOnType": false } For language-specific formatting, you can override the default formatter: { "[javascript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[typescript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[json]": { "editor.defaultFormatter": "esbenp.prettier-vscode" } } Creating a Prettier Configuration File: Create a .prettierrc file in your project root with your preferred settings: { "semi": true, "trailingComma": "es5", "singleQ
Robin Wieruch
robinwieruch.de › how-to-use-prettier-vscode
How to use Prettier in VS Code
February 14, 2022 - "editor.defaultFormatter": "esbenp.prettier-vscode" } Afterward, a JavaScript file should format automatically once you save it. Now you don't need to worry about your code formatting anymore, because Prettier takes care of it. Prettier comes with a few options which you can apply globally too; which I like to do for my personal projects: "editor.formatOnSave": true ·
DigitalOcean
digitalocean.com › community › tutorials › how-to-format-code-with-prettier-in-visual-studio-code
Format Code with Prettier in Visual Studio Code: Setup Guide | DigitalOcean
August 1, 2025 - Note: If you do not see a prompt for selecting a default formatter, you can manually set Prettier as the default formatter in VS Code. Open your Settings and set Editor: Default Formatter to esbenp.prettier-vscode.
YouTube
youtube.com › watch
How to use Prettier in VS Code - Code Formatting - YouTube
In this video I will show you how to install and configure Prettier Code Formatter in VS Code. Formatting code consistently can be a challenge. Code formatt...
Published October 8, 2023