vscode 的使用笔记

1.使用vscode 的终端命令

ctrl +  打开 vs 的终端

 

这是使用windows 自带的shell终端,

使用git.bash的shell  在设置里面,找到 terminal.integrated.commandsToSkipShell 配置成自己的 git bash

编辑setting.json,粘贴代码段:

{
    "terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
    "window.zoomLevel": 1,
    "workbench.colorTheme": "Visual Studio Dark",
    "[json]": {}
}

 

 

ctrl + shift + p 查询:

选择第三个:

 

然后,重新ctrl ~ 就会重新打开shell 

 

关于快捷键的查询和设置:

 2.vue模板的代码片段

"Print to console": {
        "prefix": "vue",
        "body": [
            "<template>",
            "  <div>\n",
            "  </div>",
            "</template>\n",
            "<script>",
            "export default {",
            "    data () {",
            "        return {\n",
            "        }",
            "    },",
            "    components: {\n",
            "    }",
            "}",
            "</script>\n",
            "<style>\n",
            "</style>",
            "$2"
        ],
        "description": "Log print to vue-template"
    },

3.增加函数的注释

插件:Document This, 快捷键  ctrl + alt + d

如下显示:

 

更新npm 包的插件:Npm Dependency

 

摘录笔记:

https://juejin.im/post/5a08d1d6f265da430f31950e

 

https://segmentfault.com/a/1190000012811886

转载于:https://www.cnblogs.com/adouwt/p/9064031.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值