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.

Both Emmet and Scaffold Snippets not working

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

Info

  • Platform: Ubuntu 18.04
  • Vetur version: 0.21.0
  • VS Code version: 1.35.0 (vscodium)

Problem

Typing scaffold into a new Vue file does nothing. No IntelliSense, no expanding.

Also, Emmet is not working inside <template> unless this option is set:

"emmet.includeLanguages": {
  "vue": "html"
}

Reproducible Case

  1. Fresh installation of vscode/vscodium.
  2. Install Vetur.
  3. Create a new file, select type as Vue.
  4. Try some Snippets. In my case scaffold and h1 inside <template>.
  5. Both are not recognized.

Yes, not much of an info. Could I do anything to help debug this?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:18
  • Comments:35 (6 by maintainers)

github_iconTop GitHub Comments

361reactions
rochabiancacommented, Aug 15, 2019

Apparently on the new versions you have to use “vue” instead of “scaffold”

47reactions
davidtowojucommented, Oct 4, 2019

Type <vue> and it works

Read more comments on GitHub >

github_iconTop Results From Across the Web

Vue.js VSCode Vetur Emmet and Scaffold Snippets not ...
I am using Vue.js on VSCode, and I installed Vetur for formatting. According to this video, there should be Scaffold snippets and Emmett...
Read more >
Both Emmet and Scaffold Snippets not working #1325
I have searched through existing issues; I have read through docs; I have read FAQ. Info. Platform: Ubuntu 18.04; Vetur version: 0.21.0; VS...
Read more >
Vue.js VSCode Vetur Emmet and Scaffold Snippets not ...
[Solved]-Vue.js VSCode Vetur Emmet and Scaffold Snippets not recognized-Vue.js ... following configurations,then, restart vscode, it will work { "emmet.
Read more >
Emmet Snippets not working in VS Code? Here's the solution
Hi there,In the latest VS code update, Tab key is no longer the default way to expand Emmet Abbrevations.To continue to expand Emmet...
Read more >
Snippet | Vetur - GitHub Pages
Two exceptions: ... Vetur provides scaffolding snippets for quickly defining regions. ... Three sources supplement Vetur with scaffold snippets:.
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