如何将vs code变成中文
安装插件Chinese…
使用快捷键组合【Ctrl+Shift+p】,在搜索框中输入“configure display language”
选择中文显示即可
vs code设置.vue2模板
文件—首选项—配置用户片段-vue
{
"Print to console": {
"prefix": "vue",
"body": [
"<!--",
"* @Component: ",
"* @Maintainer: ",
"* @Description: ",
"-->",
"<template>",
" <div class=\"container\">\n",
" </div>",
"</template>\n",
"<script>",
"export default {",
" name: {\n",
" },",
" data() {",
" return {\n",
" }",
" },",
" mounted(){\n",
" },",
" methods: {\n",
" },",
" components: {\n",
" }",
"}",
"</script>\n",
"<style scoped lang=\"scss\">\n",
"</style>",
"$2"
],
"description": "Log output to console"
}
}
输入vue 回车生成模板