There is no document formatter for 'javascript'-files installed.
See original GitHub issueFormat Document
and Format Selection
have no effect. The first time I try to format after reloading the window, I get a message box that says There is no document formatter for 'javascript'-files installed.
The behavior persists after uninstalling, deleting ~/.vscode/extensions/esbenp.prettier-vscode-[version]
, restarting vscode, and installing. There are no errors under Help -> Developer Tools -> Console, and nothing that mentions prettier. Is there anything else I can do to diagnose the issue?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:8
- Comments:11 (1 by maintainers)
Top Results From Across the Web
Sorry, but there is no formatter for 'javascript'-files installed.
When I run "Format Document" in VS Code, an INFO notification pops up in VS Code with this message: "Sorry, but there is...
Read more >There is no formatter for 'java' files installed in VSCode
I was able to format Java code in VSCode, but now I see "there is no formatter for 'java' files installed." as:.
Read more >How to use Prettier in VS Code - Robin Wieruch
A brief step by step tutorial on how to install and use Prettier in VS Code (Visual Studio Code). Prettier is an opinionated...
Read more >VS Code - You don't need a formatting extension (Prettier and ...
VS Code has builtin formatters for HTML, JavaScript, TypeScript, and JSON. This is a decent basis for frontend developers and JavaScript- ...
Read more >There is no document formatter for 'css'-files installed
There is no document formatter for 'css'-files installed. I installed extensions for css, but it is not working. css · visual-studio-code.
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
Had this problem when I opened vscode and it reopened the previous workspace I had open, and then I created a new
.js
file and tried to format it.EDIT I just closed vscode and then when I did a little window popped up briefly saying that is was updating vscode. Perhaps this has something to do with the vscode updater?
@meowwwls do
.js
files work in other windows, or in other projects? The issue has somehow gone away for me