{
"terminal.integrated.confirmOnExit": true,
"workbench.editor.tabCloseButton": "right",
// 以下为编辑器配置
"editor.fontSize": 16, // 文字大小
"editor.tabSize": 2, // 使用 tab 缩紧的时候几个空格的位置
"editor.dragAndDrop": false, // 控制编辑器是否允许拖动来移动内容
"editor.detectIndentation": false, // 控制打开时候自动检测插入内容是 space 还是 tab
"editor.quickSuggestions": {
// 是否启用代码联想
"other": true, // 在注释和字符串外启用联想
"comments": true, // 注释中是否启用
"strings": true // 字符串中是否启用
}, // 编辑器保存时自动格式化
"csscomb.preset": {
"remove-empty-rulesets": true, // 移除空规则集
"always-semicolon": true, // 每个样式后面添加分号
"lines-between-rulesets": 1, // 每个规则集后面添加一个空行
"leading-zero": false, // 为 0 的属性是否要加 px
"unitless-zero": false, // 是否删除 0 值后面的单位
"quotes": "single", // 单引号还是双引号
"space-after-colon": " ", //
个人vscode配置项
最新推荐文章于 2025-04-15 12:00:35 发布