久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      vscode怎么生成模板

      vscode怎么生成模板

      vscode怎么生成模板?vs code中設(shè)置html5 快速生成模板

      相關(guān)文章教程推薦:vscode教程

      按英文的!和h:5都可以快速生成html模板,但是找了半天都找不到如何修改模板設(shè)置。只好自己從snippets里重新編寫了一個html5的模板,以免自己以后忘了。

      首先打開 snippets

      vscode怎么生成模板

      然后輸入以下代碼段:

      {     // Place your snippets for html here. Each snippet is defined under a snippet name and has a prefix, body and      // description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:     // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the      // same ids are connected.     // Example:     // "Print to console": {     //     "prefix": "log",     //     "body": [     //         "console.log('$1');",     //         "$2"     //     ],     //     "description": "Log output to console"     // }     "Html5-Vue": {         "prefix": "vh",         "body": [             "<!DOCTYPE html>",             "<html lang="zh-CN">n",             "<head>",             "t<meta charset="UTF-8">",             "t<meta name="viewport" content="width=device-width, initial-scale=1.0">",             "t<meta http-equiv="X-UA-Compatible" content="ie=edge">",             "t<title>Document</title>",             "t<script src="./lib/vue.min.js"></script>",             "</head>n",             "<body>",             "t<div id="app">$1</div>n",             "t<script>",             "ttvar vm = new Vue({",             "tttel: '#app',",             "tttdata: {},",             "tttmethods: {}",             "tt});",             "t</script>",             "</body>n",             "</html>"         ],         "description": "快速創(chuàng)建在html5編寫的vue模板"     } }

      這里的 “prefix”: “vh”,指的是你自定義的快捷代碼,這里我輸入h就會出現(xiàn)快速生成代碼提示,也可以自定義其他字段。

      vscode怎么生成模板

      效果如下:

      vscode怎么生成模板

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號