Using the built-in emmet tools in vue-language-server #11005
Unanswered
overbyte
asked this question in
Troubleshooting
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I'm attempting to get emmet to handle self-closing tags in .vue files.
When using the emmet-language-server I got the following result when trying
self/
and then hitting tab:In a JSX file:
In a vue file:
I asked this question in the emmet-language-server (olrtg/emmet-language-server#41) and the answer was that emmet is bundled with the vue language tools already so another emmet lsp shouldn't be necessary.
I tried to use emmet from the bundled tools in the same way - by removing the "emmet-lsp" from the vue language config
however when i test it in the
<template>
in an sfc by addingSelfClosing/
and hitting tab, nothing happens.I have also tried using the autocomplete (ctrl-x in INSERT mode) and the "code action" in NORMAL mode (space-a) but neither had any affect
Do you have any insight on how to use the tool please?
thanks
;oB
Beta Was this translation helpful? Give feedback.
All reactions