vscode經常使用插件以及html&vue標籤自動補全配置

我的經常使用的18個vscode插件,具體功能自行百度。

image

html&vue標籤自動補全配置

ps:找了很久找到這個玩意,蛋疼ing。。。html

1-先安裝HTML Snippets插件vue

image

2-點擊 文件-首選項-設置,而後根據如下操做json

image

3-而後在setting.json中加入如下代碼ui

image

4-spa

{
    "workbench.iconTheme": "vscode-icons",
    // vscode-icons 文件圖標主題
    "files.associations": {
        // "*.vue": "html"
        //這行會改變vue圖標
    },
    "emmet.triggerExpansionOnTab": true,
    "emmet.includeLanguages": {
        "vue-html": "html",
        "vue": "html"
    },
    //這三行是設置標籤的關鍵
    "editor.formatOnSave": true,
    //這是保存自動格式化
    "files.autoSave": "afterDelay",
    "files.autoSaveDelay": 1500,
    "editor.quickSuggestions": null,
    //1.5s自動保存文件
    // "editor.quickSuggestions": null
}

持續更新中ing插件

相關文章
相關標籤/搜索