From 0dce8f41049e053779dfa77d8936f647c5178042 Mon Sep 17 00:00:00 2001 From: Patrick Ellis Date: Thu, 22 Sep 2022 12:06:30 -0400 Subject: [PATCH 1/2] Add "Debug Current Test File" configuration for VSCode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Just press F5 (or ⌘+⇧+P -> `Debug Current Test File`) " --- .gitignore | 5 ++++- .vscode/launch.json | 17 +++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .vscode/launch.json diff --git a/.gitignore b/.gitignore index 9641d25748..812c684056 100644 --- a/.gitignore +++ b/.gitignore @@ -12,7 +12,10 @@ token package-lock.json -.vscode/ +# ignore files in /.vscode/ except for /.vscode/launch.json +/.vscode/** +!/.vscode/launch.json + cypress/platform/current.html cypress/platform/experimental.html local/ diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000000..92df7056e1 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,17 @@ +{ + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "node", + "request": "launch", + "name": "Debug Current Test File", + "autoAttachChildProcesses": true, + "skipFiles": ["/**", "**/node_modules/**"], + "program": "${workspaceRoot}/node_modules/vitest/vitest.mjs", + "args": ["run", "${relativeFile}"], + "smartStep": true, + "console": "integratedTerminal" + } + ] +} From 98d214fd60352a2d70910eed1468233818cff888 Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Fri, 23 Sep 2022 10:11:19 +0530 Subject: [PATCH 2/2] chore: Add recommended extensions --- .gitignore | 3 ++- .vscode/extensions.json | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .vscode/extensions.json diff --git a/.gitignore b/.gitignore index 812c684056..6e4fe723a2 100644 --- a/.gitignore +++ b/.gitignore @@ -12,9 +12,10 @@ token package-lock.json -# ignore files in /.vscode/ except for /.vscode/launch.json +# ignore files in /.vscode/ except for launch.json and extensions.json /.vscode/** !/.vscode/launch.json +!/.vscode/extensions.json cypress/platform/current.html cypress/platform/experimental.html diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000000..9633bed665 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,8 @@ +{ + "recommendations": [ + "dbaeumer.vscode-eslint", + "esbenp.prettier-vscode", + "zixuanchen.vitest-explorer", + "luniclynx.bison" + ] +}