VsCode
settings.json
{
"editor.linkedEditing": true,
"liveServer.settings.donotShowInfoMsg": true,
"git.openRepositoryInParentFolders": "never",
"workbench.iconTheme": "vscode-icons",
// 设置背景图片位置
"backgroundCover.imagePath": "d:\\TenSoFlow\\Image\\JPEG\\Mood.jpeg",
// 删除文件时将其移至系统回收站
"files.enableTrash": true,
// 自动保存文件
"files.autoSave": "afterDelay",
// 自动猜测文件类型
"files.autoGuessEncoding": true,
// Tab键空格数
"editor.tabSize": 2,
// 字体大小
"editor.fontSize": 18,
// Tab键补全
"editor.tabCompletion": "on",
// 键入一行时自动格式化
"editor.formatOnType": true,
// 保存时自动格式化文件
"editor.formatOnSave": true,
// 粘贴代码时自动格式化
"editor.formatOnPaste": false,
// Ctrl + 滚轮缩放字体大小
"editor.mouseWheelZoom": true,
// 光标动画样式
"editor.cursorBlinking": "smooth",
// 设置字符数达到120时自动换行
"editor.wordWrapColumn": 120,
"editor.wordWrap": "wordWrapColumn",
// 平滑滚动效果
"editor.smoothScrolling": true,
"workbench.list.smoothScrolling": true,
"editor.cursorSmoothCaretAnimation": "on",
// 括号匹配
"editor.guides.bracketPairs": true,
"editor.acceptSuggestionOnEnter": "smart",
"editor.suggestSelection": "first",
"editor.suggest.snippetsPreventQuickSuggestions": false,
"window.dialogStyle": "custom",
"debug.showBreakpointsInOverviewRuler": true,
// ESLint 管理内容为 Vue, HTML, JavaScript
"eslint.validate": ["javascript", "javascriptreact", "vue", "html"],
// ESLint 配置文件路径
"eslint.options": {
"configFile": "./.eslintrc.js"
},
"typescript.locale": "zh-CN",
"terminal.integrated.env.windows": {},
"console-ninja.toolsToEnableSupportAutomaticallyFor": {
"live-preview-extension": true,
"live-server-extension": true
},
"console-ninja.featureSet": "Community",
"editor.renderWhitespace": "all",
"[vue]": {
"editor.defaultFormatter": "octref.vetur"
},
"liveServer.settings.port": 5500,
"console-ninja.fontSize": 14,
"explorer.confirmDelete": false,
"git.enableSmartCommit": true,
"git.autofetch": true,
"diffEditor.ignoreTrimWhitespace": true,
// 如果使用vue,ts 则这句是必需的
"vetur.format.defaultFormatter.js": "vscode-typescript",
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
"workbench.editor.wrapTabs": true,
// PowserMode-开启插件
"powermode.enabled": true,
// PowserMode-时间间隔
"powermode.combo.timeout": 0,
// PowserMode-关闭抖动
"powermode.shake.enabled": false,
// PowserMode- 烟花 fireworks 火焰 flames 爆炸 simple-rift 粒子 particles 炸裂 exploding-rift
"powermode.presets": "flames",
// PowserMode-关闭数字X
"powermode.combo.counterEnabled": "hide",
"json.schemas": [],
"vsicons.dontShowNewVersionMessage": true,
"explorer.confirmPasteNative": false,
"explorer.compactFolders": false,
"security.workspace.trust.untrustedFiles": "open",
}
...大约 4 分钟
