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.

Please leave alone line wrapping

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

Info

  • Platform: Linux
  • Vetur version: 0.11.7
  • VS Code version: 1.19.2

Problem

VS code already has settings for line wrapping, and those work fine:

    "editor.wordWrap": "wordWrapColumn",
    "editor.wordWrapColumn": 120,

When vetur is enabled, it wraps lines around column 80. Please, let VS code handle that. Focus on areas not handled by VS code.

Reproducible Case

            if (typeof ar.applicability === "object" && ar.applicability) {
              if (typeof ar.applicability.when === "object" && ar.applicability.when) {
                if (typeof ar.applicability.when.months_since_last === "number" 
                && moment().diff(al.done_date, "months")  > ar.applicability.when.months_since_last) {
                  l("ar.applicability.when.months_since_last2", ar.applicability.when.months_since_last,
                    moment().diff(al.done_date, "months")
                  )
                }
              }
            }

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:6
  • Comments:15 (5 by maintainers)

github_iconTop GitHub Comments

7reactions
mater1996commented, Nov 10, 2020
"vetur.format.defaultFormatterOptions": {
    "js-beautify-html": {
      "wrap_attributes": "auto"
    },
    "prettyhtml": {
      "wrapAttributes": false,
      "printWidth": 80
    },
    "prettier": {
      "semi": false,
      "singleQuote": true,
      "eslintIntegration": true,
      "trailingComma": "none",
      "printWidth": 80
    }
  },
6reactions
octrefcommented, May 9, 2019

@SandyGifford Please give a repro by forking https://github.com/octref/veturpack.

format

Read more comments on GitHub >

github_iconTop Results From Across the Web

Leave me alone - Pinterest
Feb 7, 2019 - Explore terry jaster's board "Leave me alone" on Pinterest. See more ideas about me quotes, words, quotes.
Read more >
Alan Jackson - Small Town Southern Man (Official Music Video)
Watch the official music video for "Small Town Southern Man" by Alan JacksonListen to Alan Jackson: https://AlanJackson.lnk.to/listenYDWatch ...
Read more >
70 Leave Me Alone Quotes For Those Who Can't Get A Hint
Sometimes you just need a break. In a beautiful place. Alone. To figure everything out. Sometimes I shut down and don't talk to...
Read more >
25 Quotes from 'Home Alone' That'll Give You the Belly Laughs
You'll love these famous movie quotes from 'Home Alone,' ... You've gone crazy in the Christmas gift wrap, and your gifts look like...
Read more >
Chronic Loneliness: Causes, Symptoms, Treatments, and More
“Nobody wants to be lonely,” may be a line from a pop song, ... Isolation and loneliness often go hand in hand, and...
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