question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

There is no document formatter for 'javascript'-files installed.

See original GitHub issue

Format 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:closed
  • Created 5 years ago
  • Reactions:8
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
xiaodeauxcommented, Dec 16, 2018

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?

3reactions
lorensrcommented, Jul 24, 2018

@meowwwls do .js files work in other windows, or in other projects? The issue has somehow gone away for me

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found