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.

When formatting the vue file, the `template lang='pug'` node will be cleared.

See original GitHub issue
  • I have searched through existing issues
  • I have read through docs
  • I have read FAQ
  • I have tried restarting VS Code or running Vetur: Restart VLS

Info

  • Platform: Windows 10 2004
  • Vetur version: 0.30.0
  • VS Code version: 1.51.1

Problem

a

No output from the Vue Language Server output panel. After falling back to 0.29.1, the problem no longer occurs.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
yoyo930021commented, Dec 6, 2020

Reason: https://github.com/vuejs/vetur/issues/2347#issuecomment-704664572 I will close searching plugin feature and use found lib from vetur in next version.

0reactions
yoyo930021commented, Dec 8, 2020

Ha, I found the problem. In your project, it have a prettier lib but version is 1.x.x. This version don’t support plugin.

In next version, vetur use bundled prettier in this case.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to tell VScode to format file-type A as file-type B, while ...
open your file in vscode · Ctrl+Shift+P (or View -> Command Palette from the menu) · and then type Change Language Mode ·...
Read more >
Code Style: Vue | IntelliJ IDEA Documentation - JetBrains
Use this page to configure formatting options for Vue files. ... by default, indentation is applied only to code inside template tags.
Read more >
Formatting adds indentation to commented HTML in *.vue files
Open VSCode 1.18.0 with Vetur installed and with js-beautify-html set up as the formatter · Create a new .vue file, be sure to...
Read more >
<script setup> | Vue.js
<script setup> is a compile-time syntactic sugar for using Composition API inside Single-File Components (SFCs). It is the recommended syntax if you are ......
Read more >
How to Setup Vue.js with VS Code and Fix Formatting and ES ...
When you create a Vue.js project with the Vue CLI or UI and select Prettier - you' ll have a bunch of ES...
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