bencodezen / vue-enterprise-boilerplate

An ever-evolving, very opinionated architecture and dev environment for new Vue SPA projects using Vue CLI.
7.77k stars 1.32k forks source link

Autoformat on save broken in vscode #195

Closed Perogy closed 4 years ago

Perogy commented 4 years ago

Using VSCode 1.42.1 auto-formatting vue files no longer works. An error message displays at the bottom of the screen "Extension 'Vetur' cannot format FILENAME".

formatting regular js files still appears to work fine.

chrisvfritz commented 4 years ago

@Perogy Are you able to replicate this with a fresh clone? I'm guessing there may be some updates to .vscode/extensions.json and/or .vscode/settings.json that you'll have to pull into your local project.

Perogy commented 4 years ago

I did try on a fresh clone, and still got the problem (work machine), however I also tried on my home machine and it worked fine. Clearly a problem with my system and/or configuration. Thanks Chris, closing.