{ "workbench.startupEditor": "none", "workbench.colorTheme": "GitHub Dark", "workbench.iconTheme": "vscode-icons", "editor.fontLigatures": false, "editor.fontSize": 20, "editor.fontFamily": "'Consolas','DejaVu Sans Mono'", "editor.fontWeight": "bold", "editor.wordWrap": "on", "extensions.ignoreRecommendations": true, "editor.cursorBlinking": "smooth", //使编辑器光标的闪动平滑,有呼吸感 "editor.cursorSmoothCaretAnimation": true, //让光标挪动、插入变得平滑 "editor.formatOnType": true, //敲完一行代码主动格式化 "editor.smoothScrolling": true, //使编辑器滚动变平滑 "editor.defaultFormatter": "esbenp.prettier-vscode", /* 文件主动保留 onFocusChange:以后文件失去焦点后主动保留. onWindowChange:须要以后 VScode 窗口失去焦点才会主动保留. afterDelay:与 files.autoSaveDelay 配置联动,也就是在距离多少毫秒主动保留,默认「1000毫秒」, 有个小细节,如果配置了保留格式化代码,这个配置下主动保留不会格式化代码. */ "files.autoSave": "onWindowChange", "files.autoSaveDelay": 2000, // 配置 Tab 空格数 "editor.tabSize": 2, // 保留主动格式化代码 "editor.formatOnSave": true, // 粘贴主动格式化 "editor.formatOnPaste": true, // 能够为不同语言或文档独自配置 "[typescript]": { "editor.formatOnSave": false }, "[markdown]": { "editor.formatOnSave": true }, "[javascript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[jsonc]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, //敞开自动更新 "update.mode": "none", "debug.internalConsoleOptions": "openOnSessionStart", //每次调试都关上调试控制台,不便调试 "debug.showBreakpointsInOverviewRuler": true, //在滚动条标尺上显示断点的地位,便于查找断点的地位 "window.dialogStyle": "custom", //应用更具备VSCode的UI格调的弹窗提醒(更好看) "workbench.editor.wrapTabs": true, //编辑器标签页在空间有余时以多行显示 "html.format.indentHandlebars": true, //在写蕴含形如{{xxx}}的标签的html文档时,也对标签进行缩进(更好看) "files.autoGuessEncoding": true, //让VScode主动猜源代码文件的编码格局 "files.watcherExclude": { //不索引一些不必要索引的大文件夹以缩小内存和CPU耗费 "**/.git/objects/**": true, "**/.git/subtree-cache/**": true, "**/node_modules/**": true, "**/tmp/**": true, "**/bower_components/**": true, "**/dist/**": true }, "terminal.integrated.fontSize": 20, "terminal.integrated.fontFamily": "Hack", "terminal.integrated.cursorBlinking": true, "explorer.confirmDelete": false //终端光标闪动}