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",