From 4bca7ca78f6b81597570edebc0f709490ba22836 Mon Sep 17 00:00:00 2001 From: Aaron Powell Date: Tue, 2 Jul 2019 11:04:00 +1000 Subject: [PATCH] Creating a basic blank profile for testing --- .gitignore | 3 ++- .../simple-profile/data/User/settings.json | 3 +++ .vscode/launch.json | 13 +++++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100755 .test-profiles/simple-profile/data/User/settings.json diff --git a/.gitignore b/.gitignore index 2f845bd..9f93d0a 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ node_modules .vscode-test/ *.vsix .ionide -test-output.xml \ No newline at end of file +test-output.xml +.test-profiles \ No newline at end of file diff --git a/.test-profiles/simple-profile/data/User/settings.json b/.test-profiles/simple-profile/data/User/settings.json new file mode 100755 index 0000000..f1766e0 --- /dev/null +++ b/.test-profiles/simple-profile/data/User/settings.json @@ -0,0 +1,3 @@ +{ + "editor.fontSize": 24 +} diff --git a/.vscode/launch.json b/.vscode/launch.json index d60f8b3..962bc7f 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -14,6 +14,19 @@ "outFiles": ["${workspaceFolder}/out/**/*.js"], "preLaunchTask": "npm: watch" }, + { + "name": "Run Extension (clean profile)", + "type": "extensionHost", + "request": "launch", + "runtimeExecutable": "${execPath}", + "args": [ + "--extensionDevelopmentPath=${workspaceFolder}", + "--user-data-dir=${workspaceFolder}/.test-profiles/simple-profile/data", + "--extensions-dir=${workspaceFolder}/.test-profiles/simple-profile/ext" + ], + "outFiles": ["${workspaceFolder}/out/**/*.js"], + "preLaunchTask": "npm: watch" + }, { "name": "Extension Tests", "type": "extensionHost",