You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
837 B

{
// 一、格式化相关
"editor.formatOnType": false,
"editor.formatOnSave": true,
"editor.formatOnPaste": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
// 二、编辑器显示与行为
"editor.tabSize": 2,
"editor.snippetSuggestions": "top",
"editor.guides.bracketPairs": "active",
"editor.suggestSelection": "first",
"editor.acceptSuggestionOnCommitCharacter": false,
"editor.quickSuggestions": {
"other": true,
"comments": true,
"strings": true
},
// 三、换行和列宽限制
"editor.wordWrap": "on",
"editor.wordWrapColumn": 180,
"editor.rulers": [180],
// 四、文件与保存
"files.autoSave": "off",
// 五、Git 设置
"git.confirmSync": false,
// 六、工作台与启动项
"workbench.startupEditor": "newUntitledFile"
}