diff --git a/.vscode/launch.json b/.vscode/launch.json index 2c7d1a276..c598750f4 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -34,6 +34,7 @@ "request": "launch", "cwd": "${workspaceFolder}/extension", "args": [ + "${workspaceFolder}/extension/manual-testing-sandbox", "--extensionDevelopmentPath=${workspaceFolder}/extension", ], "outFiles": [ diff --git a/extension/manual-testing-sandbox/example.ts b/extension/manual-testing-sandbox/example.ts new file mode 100644 index 000000000..0633beaf2 --- /dev/null +++ b/extension/manual-testing-sandbox/example.ts @@ -0,0 +1,3 @@ +function mergeSortAlgorithm() { + // TODO: implement +} \ No newline at end of file diff --git a/extension/manual-testing-sandbox/readme.md b/extension/manual-testing-sandbox/readme.md new file mode 100644 index 000000000..5b25d31ee --- /dev/null +++ b/extension/manual-testing-sandbox/readme.md @@ -0,0 +1,3 @@ +The sole purpose of this folder is to open it when debugging the extension. +It is not used by the extension itself. +You can add more files that can be useful when manually testing the extension. \ No newline at end of file diff --git a/extension/package.json b/extension/package.json index 5bae8f054..c30b3aa9b 100644 --- a/extension/package.json +++ b/extension/package.json @@ -183,8 +183,8 @@ ] }, "scripts": { + "esbuild-base": "rm -rf ./out && node esbuild.mjs", "vscode:prepublish": "npm run esbuild-base -- --minify", - "esbuild-base": "rm -rf ./out && esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node", "esbuild": "npm run esbuild-base -- --sourcemap", "esbuild-watch": "npm run esbuild-base -- --sourcemap --watch", "tsc": "tsc -p ./",