Not formatting anything
See original GitHub issueJust switched to VS Code from Atom. I only have the prettier
extension installed currently.
No matter what I do, I can’t get Typescript or JSON files formatted using Format Document
in the command palette.
My settings: “prettier.singleQuote”: true, “prettier.trailingComma”: “none”, “prettier.printWidth”: 120, “prettier.requireConfig”: false, “prettier.eslintIntegration”: false
I’m using 1.23.0 VS Code Insiders and Prettier 1.3.1.
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (4 by maintainers)
Top Results From Across the Web
Why does Prettier not format code in VS Code? - Stack Overflow
Click on Preferences: Open Settings (JSON) from the suggestion dropdown. Inside the settings.json file, Check if "[html]" key exists. If the key ...
Read more >Format on Save (prettier) stopped working with latest update
My biggest problem is after setting a defaultFormatter, anything not formatted with Prettier (Go, Terraform, etc) throws "prettier can't ...
Read more >VS Code - You don't need a formatting extension (Prettier and ...
You configure how the formatting is done with the following settings: css. format. enable - Enable/disable default CSS formatter.
Read more >Reformat and rearrange code | PyCharm Documentation
In the Settings/Preferences dialog ( Ctrl+Alt+S ), go to Editor | Code Style. Switch to the Formatter tab and in the Do not...
Read more >Using Prettier and ESLint to automate formatting and fixing ...
Even if Prettier does not format your code 100% the way you like, ... specific to your project and whatever flavor of JavaScript...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Nxt3 I’ve not tried insider version lately, but we had report that reinstalling (cleanly) prettier would correct some strange issues. Seems this is what you did with “stable” version.
Prettier doesn’t format ruby (rails)
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.