settings.json在vs code中的默认配置
时间: 2023-06-19 07:07:20 浏览: 351
在 VS Code 中,`settings.json` 文件存储了用户的设置和首选项。默认配置如下:
```json
{
"workbench.startupEditor": "welcomePage",
"workbench.colorTheme": "Default Dark+",
"workbench.iconTheme": "vscode-icons",
"workbench.editor.enablePreview": true,
"editor.fontSize": 14,
"editor.tabSize": 2,
"editor.renderWhitespace": "none",
"editor.renderControlCharacters": false,
"editor.formatOnSave": true,
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 1000,
"terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\cmd.exe",
"terminal.integrated.fontFamily": "Consolas",
"terminal.integrated.fontSize": 14,
"python.pythonPath": "python",
"python.linting.enabled": true,
"python.formatting.provider": "autopep8",
"python.formatting.autopep8Args": ["--max-line-length", "120"],
"python.linting.pylintEnabled": true,
"python.linting.pylintArgs": ["--disable=C0111"],
"python.linting.pylintPath": "pylint",
"git.autofetch": true,
"git.enableSmartCommit": true,
"git.confirmSync": false,
"git.path": "",
"git.ignoreLegacyWarning": true
}
```
这些设置可以通过 `File -> Preferences -> Settings` 菜单打开 `settings.json` 文件进行修改。
阅读全文
相关推荐

















