From 276479cba3c72488484a7c647cded4e8cb9fc986 Mon Sep 17 00:00:00 2001 From: SmallMain Date: Thu, 5 Dec 2024 12:59:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20VSCode=20=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/mega.code-workspace | 25 +++++++++++++++++++++++++ .vscode/settings.json | 10 +++++++--- 2 files changed, 32 insertions(+), 3 deletions(-) create mode 100644 .vscode/mega.code-workspace 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", + }, }, }