diff --git a/.vscode/mega.code-workspace b/.vscode/mega.code-workspace new file mode 100644 index 00000000..f73b7ec8 --- /dev/null +++ b/.vscode/mega.code-workspace @@ -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" + }, + }, + } +} diff --git a/.vscode/settings.json b/.vscode/settings.json index aec1961e..6371a085 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -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", + }, }, }