目录
进入配置:ctrl+shift+p
终端设置terminal:中文乱码、光标闪烁
注释设置(头部、函数)
编辑器设置:字体
代码格式化
插件设置
文件设置
窗口设置
//解决终端显示中文乱码问题
"files.encoding": "utf8",
"terminal.integrated.shellArgs.windows": [
"-NoExit",
"/c",
"chcp 65001"
],
//解决输出端中文乱码
"code-runner.runInTerminal": true,
//控制终端光标是否闪烁。
"terminal.integrated.cursorBlinking": true,
//控制是否将终端中选定的文本复制到剪贴板。
"terminal.integrated.copyOnSelection": true,
//函数注释
"fileheader.cursorMode": {
"description": "",
"name": "",
"test": "test font",
"msg": "",
"param": "",
"return": ""
},
//头部注释
"fileheader.customMade": {
"Author":"Zero",
"Date":"Do not edit",
"Description":"file content",
"version": "",
"Filename":"",
"version":"V",
"LastEditTime": "Do not Edit"
"Copyright":" © 2019. All rights reserved.",
},
//字体设置:大小,粗细
"editor.fontSize": 17,
"editor.fontWeight": "bold",
//按住ctrl,滑动滚轮控制字体大小
"editor.mouseWheelZoom": true,
//编辑器显示缩进参考线
"editor.renderIndentGuides": true,
//定义java格式化
"[java]": {
"editor.defaultFormatter": "redhat.java"
}
// //用系统自己的设置
// "vetur.format.defaultFormatter.js": "vscode-typescript"
//插件是否自动更新
"extensions.autoUpdate": true,
"files.exclude": {
"**/.classpath": true,
"**/.project": true,
"**/.settings": true,
"**/.factorypath": true
},
//自动保存
"files.autoSave": "afterDelay",
//猜测字符集编码
"files.autoGuessEncoding": true,
//调整窗口缩放级别
"window.zoomLevel": 0,
未完待.......