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 › 3631
esbenp.prettier-vscode formats more than needed by normal prettier · Issue #3631 · prettier/prettier-vscode
December 26, 2024 - 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:...
Author sebbi08
GitHub
github.com › prettier › prettier-vscode
GitHub - prettier/prettier-vscode: Visual Studio Code extension for Prettier · GitHub
{ "editor.defaultFormatter": "esbenp.prettier-vscode", "[javascript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" } } Note: VS Code does not support combined language syntax for editor.defaultFormatter.
Starred by 5.5K users
Forked by 509 users
Languages TypeScript 78.3% | JavaScript 20.3% | PHP 0.6% | Dockerfile 0.3% | HTML 0.3% | SCSS 0.1%
Videos
02:11
How to use Prettier in VS Code - Code Formatting - YouTube
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 › 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
GitHub
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 - esbenp.prettier-vscode doesn't format *.config.ts and test/ui/**.spec.ts files, but the prettier in package.json expects them to be.
Author hamirmahal
GitHub
github.com › prettier › prettier-vscode › issues › 2047
Prettier does not work as default formatter in VS Code 1.57.1 on Windows. · Issue #2047 · prettier/prettier-vscode
June 29, 2021 - { "editor.formatOnPaste": true, "editor.formatOnSave": true, "editor.defaultFormatter": "esbenp.prettier-vscode" } Manually formatting doesn't work either. Running prettier in the command line does correctly format the file. Short summary of what is going on or to provide context.
Author KerimG
GitHub
github.com › prettier › prettier-vscode › issues › 94
Format files with ts extension · Issue #94 · prettier/prettier-vscode
October 30, 2015 - Running prettier on a ts file from the command line works, but the "Format Document" command in VSCode for ts file does not work, it uses the default formatter rather than prettier.
Author newtack
Hacker News
news.ycombinator.com › item
I made a VS Code plugin for Prettier https://github.com/esbenp/prettier-vscode I... | Hacker News
January 11, 2017 - https://github.com/esbenp/prettier-vscode · It is my first VS code extension so have no idea if it is correct way. Feedback is welcome
GitHub
github.com › prettier › prettier-vscode › issues › 3104
prettier 3.0 and prettier-vscode v10.1.0 won't load plugins · Issue #3104 · prettier/prettier-vscode
August 1, 2023 - ["ERROR" - 18:34:42] Error handling text editor change ["ERROR" - 18:34:42] Error resolve node module 'prettier-plugin-organize-imports' Error: Error resolve node module 'prettier-plugin-organize-imports' at n (/Users/lewisflude/.vscode/extensions/esbenp.prettier-vscode-10.1.0/dist/extensi...
Author lewisflude
GitHub
github.com › prettier › prettier-vscode › issues › 51
can't get this to work · Issue #51 · prettier/prettier-vscode
August 10, 2014 - Installed with VSCode 1.9.1 on Ubuntu, reloaded, CTRL-SHIFT-P brings up VSCode's command palette, it doesn't format the code. Typing "prettier" in the command palette doesn't bring up anything. VSCode's Problems and Output panes don't sh...
Author pekeler
GitHub
github.com › prettier › prettier-vscode › issues › 3112
esbenp.prettier-vscode take to long time saving a file · Issue #3112 · prettier/prettier-vscode
July 10, 2023 - Type: Bug Visual studio code take to long time sanving a file with esbenp.prettier-vscode extension. Extension version: 10.1.0 VS Code version: Code 1.81.0 (6445d93c81ebe42c4cbd7a60712e0b17d9463e97, 2023-08-02T12:36:11.334Z) OS version: ...
Author angelocorreia27
GitHub
github.com › prettier › prettier-vscode › issues › 3912
Extension not working in Cursor · Issue #3912 · prettier/prettier-vscode
December 2, 2025 - Install Prettier extension (esbenp.prettier-vscode@12.1.0) from Extensions marketplace
Author Kareem-AEz
Visual Studio Marketplace
marketplace.visualstudio.com › items
Prettier - Code formatter - Visual Studio Marketplace
Extension for Visual Studio Code - Code formatter using prettier
GitHub
github.com › prettier › prettier-vscode › issues › 64
Instructions to change settings for Prettier · Issue #64 · prettier/prettier-vscode
November 27, 2015 - In the README Settings section, it mentions different settings such as singleQuote, printWidth etc. that can be changed for Prettier. How/where do I set these settings?
Author varungupta85
MangoHost
mangohost.net › mangohost blog › format code with prettier in visual studio code
Format Code with Prettier in Visual Studio Code
August 3, 2025 - # GitHub Actions example name: Code Quality on: [push, pull_request] jobs: prettier: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: node-version: '18' - run: npm ci - run: npm run format:check ... Prettier follows a specific configuration hierarchy. Debug with this command: ... { "editor.formatOnSave": true, "editor.defaultFormatter": "esbenp.prettier-vscode", "[javascript]": { "editor.formatOnSave": true } }
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 › issues › 3431
Prettier VSCode Not Consistent With CLI · Issue #3431 · prettier/prettier-vscode
June 17, 2024 - Is there a way to update the version of prettier used within the VSCode extension or force it to use the same globally installed version? Reading the FAQ on the extension page it seems it should be using 3.0.0 as the extension is past version 10. ... ["INFO" - 3:21:29 PM] Extension Name: esbenp.prettier-vscode.
Author hamirmahal
Checkmarx
checkmarx.com › zero-post › checkmarx-zero-takes-down-malicious-prettier-alternative-found-in-vscode-marketplace
Checkmarx Zero Takes Down Malicious “Prettier” Alternative Found In VSCode Marketplace - Checkmarx
December 16, 2025 - We identified and reported this ... coordination with the VSCode Marketplace security team. We detected only 6 downloads and 3 installs before removal. This extension appears to be a fork of the legitimate “Prettier” extension (identifier `esbenp.prettier-vscode`) with malicious ...