码迷,mamicode.com
首页 > 其他好文 > 详细

vs-code 配置

时间:2019-04-26 00:49:16      阅读:180      评论:0      收藏:0      [点我收藏+]

标签:json   模版   visual   代码片段   print   output   lis   ISE   des   

vs-code 快键键

  1. 命令面板 ctrl+shift+p

vs-code 相关插件

  1. AutoFileName
  2. Chinese (Simplified) Language Pack for Visual Studio Code
  3. markdownlint
  4. npm
  5. Npm Intellisense
  6. Vetur

vue.json 代码片段配置,通过vue 快速生成vue文件中的相关结构

{
    "Print to console": {
      "prefix": "vue",
      "body": [
        "<!-- 模版 -->",
        "<template>",
        "  <div></div>",
        "</template>",
        "",
        "<!-- 脚本 -->",
        "<script>",
        "export default {",
        "  data () {",
        "    return {",
        "    };",
        "  },",
        "",
        "  components: {},",
        "",
        "  computed: {},",
        "",
        " // mounted: {},",
        "",
        "  methods: {}",
        "}",
        "",
        "// 样式",
        "</script>",
        "<style  scoped>",
        "</style>"
    ],
      "description": "Log output to console"
    }
  }

vs-code 配置

标签:json   模版   visual   代码片段   print   output   lis   ISE   des   

原文地址:https://www.cnblogs.com/zhangjianbin/p/10771821.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!