从官网 https://code.visualstudio.com 下载相应安装包
快捷键ctrl + shift + p
搜索language
,选择 configure display language,选择语言,重启
快捷键ctrl + ,
进入常用设置,编辑 Font Size
查看 -> 外观 -> 缩略图
快捷键ctrl + shift + p
搜索connect to host
,配置Hosts
设置 -> 用户代码片段 -> 搜索vue.json
,编辑保存
{
// Place your snippets for vue 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": "vue2Init",
"body": [
"/**",
"*",
"* Author: yourName",
"* CreatDate: $CURRENT_YEAR-$CURRENT_MONTH-$CURRENT_DATE $CURRENT_HOUR:$CURRENT_MINUTE:$CURRENT_SECOND",
"*",
"* Description: $0",
"*",
"*/",
"",
" ",
" $TM_FILENAME_BASE
",
" ",
"",
"",
"",
"",
"",
""
],
"description": "vue2快速构建模板"
},
}
输入vue.json配置prefix参数vue2Init 即可快速构建vue2模板
快捷键ctrl + shift + p
搜索Open User Settings
,打开用户设置,搜索editor.wordSeparators
找到需要的字符-
删除,即可双击选中连字符