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.

HTML Formatting Stopped Working after 0.11.6 automatic update

See original GitHub issue
  • [*] I have searched through existing issues
  • [*] I have read through docs
  • [*] I have read FAQ

Info

  • Platform: Ubuntu 16.04
  • Vetur version: 0.11.6
  • VS Code version: 1.19.2

Problem

HTML automatic formatting stopped after 0.11.6 update. Please see the following screencast:

https://drive.google.com/file/d/1SAkOzrF59lHhUdxW9RnP2Au04X6ECVoe/view

All vetur settings are default with the exception of

"vetur.format.defaultFormatter.html": "js-beautify-html",
"vetur.format.defaultFormatterOptions": {
    "js-beautify-html": {
            "wrap_attributes": "force-aligned"
    }
  },
"prettier.disableLanguages": [ "vue" ],


Thanks

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
NickeyLincommented, Jan 18, 2018

@octref It used to work fine until it updated to 0.11.6, it seems to be broken. But after adding "prettier.disableLanguages": [ "vue" ] to user settings then restart vscode, it works again.

1reaction
sebastianmaciascommented, Jan 18, 2018

I was finally able to get this to work after adding a .prettierrc.json file with:

{
  "prettier.disableLanguages": [
    "vue"
  ]
}

in addition to have the same in my user settings. I kind of feel html formatting shouldn’t require so much configuration and should be enabled by default as soon a vetur has been installed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTML Tag Formatting Support · Issue #641 · vuejs/vetur - GitHub
So I want to use other formatting plugins, but after I set, it displays an error: The notice ... P.S. I have already...
Read more >
Prettier not formatting HTML files in VS Code - Stack Overflow
I've had Prettier stop formatting things when VS Code prompted me to restart to update. Closing and opening VS Code got it working...
Read more >
Tutorial: Todo-List Application — Bottle 0.11.6 documentation
This tutorial is a work in progess and written by noisefloor. This tutorial should give a brief introduction to the Bottle WSGI Framework....
Read more >
Version 0.11 | Exalate Documentation
When using the exalate postfunction in a workflow, delete it from the workflow and add it again. This version will stop working in...
Read more >
Conditional formatting does not update automatically (Excel
Excel 2010 does not appear to re-apply conditional formatting when cell values change as a result of a formula.
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