修改 User Settings
在 VS Code 中使用 Ctrl+Shift+P打开命令面板,输入Preferences: Open User Settings或Preferences: Open Workspace Settings。

添加:
{
"workbench.startupEditor": "newUntitledFile",
"terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe",
"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {
// force-aligned | force-expand-multiline
"wrap_attributes": "force-aligned"
},
"prettyhtml": {
"printWidth": 100,
"singleQuote": false,
"wrapAttributes": false,
"sortAttributes": true
},
"prettier": {
"semi": false,
"singleQuote": true
}
},
}
VSCode设置详解

本文详细介绍如何在VSCode中修改设置,包括启动编辑器、终端、代码格式化等配置,适用于初学者快速上手。
5324

被折叠的 条评论
为什么被折叠?



