vscode用户设置
目前配置适用于vscode 1.24.1,1.25.1,1.28.1,推荐使用1.28.1,win7系统界面配色更加统一
插件目前建议必装 Chinese, Beautify, C/C++, Python 插件,其他插件将在稍后使用时安装。
pasting
// 将设置放入此文件中以覆盖默认设置
{
// 以像素为单位控制字号。
"editor.fontSize": 18,
// 控制已更新文件的自动保存。接受的值:“off”、"afterDelay”、"onFocusChange”(编辑器失去焦点)、"onWindowChange”(窗口失去焦点)。如果设置为“afterDelay”,则可在 "files.autoSaveDelay" 中配置延迟。
"files.autoSave": "onFocusChange",
// 配置 glob 模式以排除文件和文件夹。
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/.DS_Store": true
},
// 控制 Markdown 预览中使用的字号(以像素为单位)。
"markdown.preview.fontSize": 16,
// 控制终端的字号(以像素为单位)。
"terminal.integrated.fontSize": 16,
"window.zoomLevel": 0,
//"workbench.iconTheme": "vscode-icons",
//"vsicons.dontShowNewVersionMessage": true,
//"workbench.colorTheme": "Solarized Light",
"workbench.colorTheme": "Monokai",
"editor.renderWhitespace": "all",
"editor.fontFamily": "'Courier New', Menlo, Monaco, monospace",
"window.openFilesInNewWindow": "off",
"[c]": {
"editor.insertSpaces": true,
"editor.tabSize": 4,
"files.insertFinalNewline": true,
"editor.detectIndentation": true,
"editor.quickSuggestions": {
"other": true,
"comments": true,
"strings": false
},
"editor.autoIndent": true,
"editor.useTabStops": true,
"editor.renderWhitespace": "none",
"editor.trimAutoWhitespace": true,
"editor.fontWeight": "normal",
"editor.wrappingIndent": "indent",
"editor.quickSuggestionsDelay": 10,
"editor.emptySelectionClipboard": true,
"editor.parameterHints": true
},
"[cpp]": {
"editor.insertSpaces": true,
"editor.tabSize": 4,
"files.insertFinalNewline": true,
"editor.detectIndentation": true,
"editor.quickSuggestions": {
"other": true,
"comments": true,
"strings": false
},
"editor.autoIndent": true,
"editor.useTabStops": true,
"editor.renderWhitespace": "none",
"editor.trimAutoWhitespace": true,
"editor.fontWeight": "normal",
"editor.wrappingIndent": "indent",
"editor.quickSuggestionsDelay": 10,
"editor.emptySelectionClipboard": true,
"editor.parameterHints": true
},
"beautify.config": {
"indent_size": 2,
"indent_char": " ",
"css": {
"indent_size": 2
},
"html": {
"indent_size": 2
}
},
"extensions.ignoreRecommendations": false,
"editor.formatOnSave": true,
// "workbench.panel.location": "bottom",
"editor.fontWeight": "bold",
"update.enableWindowsBackgroundUpdates": false,
//"window.menuBarVisibility": "toggle",
"workbench.statusBar.feedback.visible": false,
"git.ignoreMissingGitWarning": true,
"editor.mouseWheelZoom": true,
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true
}
刘总