鍍金池/ 問答/HTML/ vscode中怎么可以在字符串模板``里面自動閉合標(biāo)簽或者出現(xiàn)標(biāo)簽提示

vscode中怎么可以在字符串模板``里面自動閉合標(biāo)簽或者出現(xiàn)標(biāo)簽提示

我在Vue中寫

                    template:`
                        <div>
                            {{$route.params.name}}的詳細(xì)信息    
                        </div>`

在``里面寫標(biāo)簽,每次都要自己手動打,按tab只能是縮進(jìn)。
我想要在``里面就像在html里面寫標(biāo)簽一樣,我看的視頻不知道用的那個編輯器和插件,直接在里面寫標(biāo)簽,非常的流暢。
網(wǎng)上找了好多方法也不能解決。
我現(xiàn)在的emmet配置如下:

    "emmet.triggerExpansionOnTab": true,
    "emmet.showAbbreviationSuggestions": true,
    "emmet.showExpandedAbbreviation": "always",
    "emmet.includeLanguages": {
        "vue-html": "html",
        "vue": "html",
    },
    "files.associations": {
        "*.vue": "vue"
    },
    "vetur.format.defaultFormatter.html": "js-beautify-html",
    "eslint.validate": [
        "javascript",
        "javascriptreact",
        "vue"
    ],

全是網(wǎng)上找的,都不管用。

回答
編輯回答
薄荷糖

下個插件,比如 'auto close tag'

2018年4月4日 10:01
編輯回答
櫻花霓

同求,不知道題主有沒有找到辦法。。?,F(xiàn)在在模板字符串里面寫html,好煩

2018年7月11日 09:36