更新 VSCode 配置

This commit is contained in:
SmallMain 2024-12-05 12:59:33 +08:00
parent d281210ff1
commit 276479cba3
No known key found for this signature in database
2 changed files with 32 additions and 3 deletions

25
.vscode/mega.code-workspace vendored Normal file
View File

@ -0,0 +1,25 @@
{
"folders": [
{
"path": "../../cocos-service-pack"
},
{
"path": "../../cocos-service-pack-extension"
},
{
"path": ".."
}
],
"settings": {
"files.trimFinalNewlines": false,
"files.trimTrailingWhitespace": false,
"files.trimTrailingWhitespaceInRegexAndStrings": false,
"editor.trimAutoWhitespace": false,
"[javascript][typescript][javascriptreact][typescriptreact]": {
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.organizeImports": "never"
},
},
}
}

10
.vscode/settings.json vendored
View File

@ -1,8 +1,12 @@
{
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {},
"files.trimFinalNewlines": false,
"files.trimTrailingWhitespace": false,
"files.trimTrailingWhitespaceInRegexAndStrings": false,
"editor.trimAutoWhitespace": false,
"[javascript][typescript][javascriptreact][typescriptreact]": {
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {},
"editor.codeActionsOnSave": {
"source.organizeImports": "never",
},
},
}