[
  {
    "path": ".editorconfig",
    "content": "root = true\n\n[{src,scripts}/**.{ts,json,js}]\nend_of_line = crlf\ncharset = utf-8\ntrim_trailing_whitespace = true\ninsert_final_newline = true\nindent_style = space\nindent_size = 4"
  },
  {
    "path": ".github/FUNDING.yml",
    "content": "# These are supported funding model platforms\n\ngithub: [danielpinto8zz6]\ncustom: ['paypal.me/danielpinto8zz6', 'https://www.buymeacoffee.com/danielpinto8zz6']\n"
  },
  {
    "path": ".github/ISSUE_TEMPLATE/bug_report.md",
    "content": "---\nname: Bug report\nabout: Create a report to help us improve\n\n---\n\n**Describe the bug**\nA clear and concise description of what the bug is.\n\n**To Reproduce**\nSteps to reproduce the behavior:\n1. Go to '...'\n2. Click on '....'\n3. Scroll down to '....'\n4. See error\n\n**Expected behavior**\nA clear and concise description of what you expected to happen.\n\n**Screenshots**\nIf applicable, add screenshots to help explain your problem.\n\n**Environment**\n - VSCode Version: [e.g. 1.28.2]\n - OS Version: [e.g. Windows_NT x64 10.0.17134]\n\n**Additional context**\nAdd any other context about the problem here.\n"
  },
  {
    "path": ".github/ISSUE_TEMPLATE/feature_request.md",
    "content": "---\nname: Feature request\nabout: Suggest an idea for this project\n\n---\n\n**Is your feature request related to a problem? Please describe.**\nA clear and concise description of what the problem is. Ex. I'm always frustrated when [...]\n\n**Describe the solution you'd like**\nA clear and concise description of what you want to happen.\n\n**Describe alternatives you've considered**\nA clear and concise description of any alternative solutions or features you've considered.\n\n**Additional context**\nAdd any other context or screenshots about the feature request here.\n"
  },
  {
    "path": ".github/workflows/cd.yml",
    "content": "name: Continuous deployment\n\non:\n  push:\n    branches: [master]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        node-version: [20.x]\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: fregante/setup-git-user@v2\n      - name: Use Node.js ${{ matrix.node-version }}\n        uses: actions/setup-node@v4\n        with:\n          node-version: ${{ matrix.node-version }}\n      - shell: bash\n        env:\n          VSCE_PAT: ${{ secrets.VSCE_TOKEN }}\n          GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}\n          CI: true\n        run: |\n          npm ci\n          npm run release\n\n      - name: Publish to Open VSX Registry\n        uses: HaaLeo/publish-vscode-extension@v1\n        id: publishToOpenVSX\n        with:\n          pat: ${{ secrets.OPEN_VSX_TOKEN }}\n      - name: Publish to Visual Studio Marketplace\n        uses: HaaLeo/publish-vscode-extension@v1\n        with:\n          pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}\n          registryUrl: https://marketplace.visualstudio.com\n          extensionFile: ${{ steps.publishToOpenVSX.outputs.vsixPath }}\n"
  },
  {
    "path": ".github/workflows/ci.yml",
    "content": "name: Continuous integration\n\non:\n  push:\n    branches: [master, development]\n  pull_request:\n    branches: [master, development]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        node-version: [20.x]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Use Node.js ${{ matrix.node-version }}\n        uses: actions/setup-node@v4\n        with:\n          node-version: ${{ matrix.node-version }}\n      - run: npm ci\n      - run: npm run compile --if-present\n      - run: npm run lint\n        env:\n          CI: true\n"
  },
  {
    "path": ".gitignore",
    "content": "out\ndist\nnode_modules\n.vscode-test/\n*.vsix\n.idea"
  },
  {
    "path": ".release-it.json",
    "content": "{\n    \"git\": {\n        \"commitMessage\": \"chore: 🤖 release v${version}\",\n        \"tagName\": \"v${version}\",\n        \"changelog\": \"npx auto-changelog --stdout -l false -u -p -t changelog-template.hbs\"\n    },\n    \"github\": {\n        \"release\": true,\n        \"releaseName\": \"v${version}\",\n        \"assets\": [\n            \"c-cpp-compile-run-*.vsix\"\n        ],\n        \"releaseNotes\": \"npx auto-changelog --stdout -l false -u -p -t release-notes-template.hbs --unreleased-only\"\n    },\n    \"npm\": {\n        \"publish\": false\n    },\n    \"hooks\": {\n        \"after:bump\": \"npx auto-changelog -p\",\n        \"before:github:release\": \"npx @vscode/vsce package\"\n    }\n}"
  },
  {
    "path": ".vscode/extensions.json",
    "content": "{\n  // See http://go.microsoft.com/fwlink/?LinkId=827846\n  // for the documentation about the extensions.json format\n  \"recommendations\": [\"dbaeumer.vscode-eslint\", \"amodio.tsl-problem-matcher\", \"ms-vscode.extension-test-runner\"]\n}\n"
  },
  {
    "path": ".vscode/launch.json",
    "content": "// A launch configuration that compiles the extension and then opens it inside a new window\n// Use IntelliSense to learn about possible attributes.\n// Hover to view descriptions of existing attributes.\n// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387\n{\n\t\"version\": \"0.2.0\",\n\t\"configurations\": [\n\t\t{\n\t\t\t\"name\": \"Run Extension\",\n\t\t\t\"type\": \"extensionHost\",\n\t\t\t\"request\": \"launch\",\n\t\t\t\"args\": [\n\t\t\t\t\"--extensionDevelopmentPath=${workspaceFolder}\"\n\t\t\t],\n\t\t\t\"outFiles\": [\n\t\t\t\t\"${workspaceFolder}/dist/**/*.js\"\n\t\t\t],\n\t\t\t\"preLaunchTask\": \"${defaultBuildTask}\"\n\t\t}\n\t]\n}\n"
  },
  {
    "path": ".vscode/settings.json",
    "content": "// Place your settings in this file to overwrite default and user settings.\n{\n\t\"files.exclude\": {\n\t\t\"out\": false, // set this to true to hide the \"out\" folder with the compiled JS files\n\t\t\"dist\": false // set this to true to hide the \"dist\" folder with the compiled JS files\n\t},\n\t\"search.exclude\": {\n\t\t\"out\": true, // set this to false to include \"out\" folder in search results\n\t\t\"dist\": true // set this to false to include \"dist\" folder in search results\n\t},\n\t// Turn off tsc task auto detection since we have the necessary tasks as npm scripts\n\t\"typescript.tsc.autoDetect\": \"off\",\n\t// Prevent TS server from picking up tsconfig files inside node_modules\n\t\"typescript.tsserver.watchOptions\": {\n\t\t\"excludeDirectories\": [\"**/node_modules\"]\n\t}\n}\n"
  },
  {
    "path": ".vscode/tasks.json",
    "content": "// See https://go.microsoft.com/fwlink/?LinkId=733558\n// for the documentation about the tasks.json format\n{\n\t\"version\": \"2.0.0\",\n\t\"tasks\": [\n\t\t{\n\t\t\t\"type\": \"npm\",\n\t\t\t\"script\": \"watch\",\n\t\t\t\"problemMatcher\": \"$ts-webpack-watch\",\n\t\t\t\"isBackground\": true,\n\t\t\t\"presentation\": {\n\t\t\t\t\"reveal\": \"never\",\n\t\t\t\t\"group\": \"watchers\"\n\t\t\t},\n\t\t\t\"group\": {\n\t\t\t\t\"kind\": \"build\",\n\t\t\t\t\"isDefault\": true\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"type\": \"npm\",\n\t\t\t\"script\": \"watch-tests\",\n\t\t\t\"problemMatcher\": \"$tsc-watch\",\n\t\t\t\"isBackground\": true,\n\t\t\t\"presentation\": {\n\t\t\t\t\"reveal\": \"never\",\n\t\t\t\t\"group\": \"watchers\"\n\t\t\t},\n\t\t\t\"group\": \"build\"\n\t\t},\n\t\t{\n\t\t\t\"label\": \"tasks: watch-tests\",\n\t\t\t\"dependsOn\": [\n\t\t\t\t\"npm: watch\",\n\t\t\t\t\"npm: watch-tests\"\n\t\t\t],\n\t\t\t\"problemMatcher\": []\n\t\t}\n\t]\n}\n"
  },
  {
    "path": ".vscode-test.mjs",
    "content": "import { defineConfig } from '@vscode/test-cli';\n\nexport default defineConfig({\n\tfiles: 'out/test/**/*.test.js',\n});\n"
  },
  {
    "path": ".vscodeignore",
    "content": ".vscode/**\n.vscode-test/**\nout/**\nnode_modules/**\nsrc/**\n.gitignore\n.yarnrc\nwebpack.config.js\nvsc-extension-quickstart.md\n**/tsconfig.json\n**/eslint.config.mjs\n**/*.map\n**/*.ts\n**/.vscode-test.*\n"
  },
  {
    "path": "CHANGELOG.md",
    "content": "### Changelog\n\nAll notable changes to this project will be documented in this file. Dates are displayed in UTC.\n\nGenerated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).\n\n#### [v1.0.92](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.91...v1.0.92)\n\n- feat(debugger): offer explicit debugger extension install choices wit… [`#413`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/413)\n- feat: add support for kylinideteam.cppdebug as alternative debugger [`#412`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/412)\n- feat(debugger): offer explicit debugger extension install choices with Microsoft first [`83bda2a`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/83bda2a0bcaed0020f1d660d34047a1e50398d9e)\n\n#### [v1.0.91](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.90...v1.0.91)\n\n> 5 March 2026\n\n- fix: replace ShellExecution with ProcessExecution for PowerShell compile task on Windows [`#407`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/407)\n- fix: use ProcessExecution for Windows PowerShell compile task to fix spinner/task-never-ends issue [`3023540`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/3023540a93d06ceee64df91de6e73d81240fbb9c)\n- chore: 🤖 release v1.0.91 [`6967152`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/696715219d7c57583fb5b83ee8b6599eb5ce4777)\n- Initial plan [`d264334`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/d264334262cc06c4916af55a73d544980b103163)\n\n#### [v1.0.90](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.89...v1.0.90)\n\n> 5 March 2026\n\n- Add `mirror-output-location` setting to make folder structure mirroring opt-in [`#408`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/408)\n- Add mirror-output-location setting to control folder structure mirroring [`c54cf5e`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/c54cf5e4507df9acbac81e4bc0e513b66860f581)\n- chore: 🤖 release v1.0.90 [`87c9409`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/87c9409c38a78eb204e26b4fbf443f74ae5c6712)\n- Initial plan [`3d94d41`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/3d94d4187e97768a10109619d569d1628db3c6ee)\n\n#### [v1.0.89](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.88...v1.0.89)\n\n> 5 March 2026\n\n- fix: improve shell argument quoting for PowerShell execution [`#404`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/404)\n- Update src/compiler.ts [`92e26cd`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/92e26cd6732f15ff8076e160b9f7569e0e737a01)\n- chore: 🤖 release v1.0.89 [`0e28550`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/0e28550a699457d7c7eb61d3947d5ed7bd0444f3)\n- Refactor compiler.ts for improved readability [`5dd3db2`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/5dd3db249e9ebe897187cccf88a8ca24bb9a32ef)\n\n#### [v1.0.88](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.87...v1.0.88)\n\n> 4 March 2026\n\n- Fix non-ASCII path corruption in GCC diagnostics and Problems panel on Windows [`#403`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/403)\n- Fix Chinese path display corruption by using chcp 65001 on Windows for UTF-8 encoding [`3f97b73`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/3f97b7362f9f9bead3044da9a175e1b35f04a38f)\n- chore: 🤖 release v1.0.88 [`d82927c`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/d82927c2a371d42d1dd199fb3fb5de798cbee4c7)\n- Initial plan [`3db8c79`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/3db8c79306342c6d98caeb1bf3bd672513e81664)\n\n#### [v1.0.87](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.86...v1.0.87)\n\n> 3 March 2026\n\n- Make compilation skipping toggleable and detect header file changes [`#401`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/401)\n- feat: add skip-if-compiled toggle and detect header file changes [`f0e1704`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/f0e1704be73fa68de06f6943867937b8052e2999)\n- chore: 🤖 release v1.0.87 [`02b20c3`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/02b20c39352ceb48b5027d2a505bfaf5c6decf15)\n- docs: document skip-if-compiled setting in README [`8360f86`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/8360f86a613e85d1ed554238a79133123c91b3cf)\n\n#### [v1.0.86](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.85...v1.0.86)\n\n> 2 March 2026\n\n- Fix spurious `-I` flag in compiler args when include paths contain empty strings [`#400`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/400)\n- chore: 🤖 release v1.0.86 [`74fb43b`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/74fb43beb8f1f4a7ed5d24d03a1fda74e18904c7)\n- Fix extra -I flag when include paths contain empty strings [`7c7b59e`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/7c7b59e6a6c1977001afbc39045ecdebd7923ddf)\n- Initial plan [`4fcbc12`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/4fcbc121da831debaf2856e964e1206876d38cd3)\n\n#### [v1.0.85](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.84...v1.0.85)\n\n> 26 February 2026\n\n- chore(deps-dev): bump basic-ftp from 5.0.5 to 5.2.0 [`#396`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/396)\n- chore: 🤖 release v1.0.85 [`f42314d`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/f42314d195c4e781b508f2933a450fc1b2e11fcf)\n\n#### [v1.0.84](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.83...v1.0.84)\n\n> 25 February 2026\n\n- fix: use child_process for compilation in single-file mode [`77bd838`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/77bd8387c02e4641704267b5c33260c379595abc)\n- fix: wait for trust grant before proceeding with terminal actions [`2b4aec5`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/2b4aec5b9536f1755dbd765c8c6b6e60ed2c44da)\n- fix: handle untrusted workspace in single-file mode [`f8f46e5`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/f8f46e5fb6ca7be20826a38305f003d64456f162)\n\n#### [v1.0.83](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.82...v1.0.83)\n\n> 24 February 2026\n\n- fix: restore session-level trust cache for single files [`6ba6b1c`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/6ba6b1cbfeb8b37a6a0e50c1ccea00673d0de62d)\n- chore: 🤖 release v1.0.83 [`c953b8b`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/c953b8b05c92fdc2dce9ae295e196a2e9108e4a8)\n\n#### [v1.0.82](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.81...v1.0.82)\n\n> 24 February 2026\n\n- feat: add trust-single-files setting for single file mode [`a01d6c4`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/a01d6c4090c462ea362afface8d3f297ad6ef690)\n- chore: 🤖 release v1.0.82 [`b02921f`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/b02921f4d24894de4c7297a28ec46f52424af740)\n\n#### [v1.0.81](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.80...v1.0.81)\n\n> 24 February 2026\n\n- fix: prompt trust confirmation when compiling a single file without a workspace folder [`db449c1`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/db449c180a27878b941fb51b96221560dcbb753f)\n- chore: 🤖 release v1.0.81 [`365868e`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/365868e420645db49fa34796a25a4807b4de7539)\n\n#### [v1.0.80](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.79...v1.0.80)\n\n> 24 February 2026\n\n- Fix VS Code workspace trust API integration [`#395`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/395)\n- chore: 🤖 release v1.0.80 [`a56e9f0`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/a56e9f0991a417fb09cbfe480593b6ff05e52f75)\n- fix: add workspace trust API check in extension activation [`5648e95`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/5648e9505193482bb34fb36012950c023d171d4e)\n- Initial plan [`ffeb4e1`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/ffeb4e19ea6429f38bbb8bd692ae1e70bf3ca3ec)\n\n#### [v1.0.79](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.78...v1.0.79)\n\n> 20 February 2026\n\n- Fix glob patterns in c_cpp_properties.json include paths causing all folder files to be compiled [`#393`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/393)\n- chore: 🤖 release v1.0.79 [`b33cac0`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/b33cac0d72ade2d19bad4fca0b21199e5a919909)\n- Fix: filter out glob patterns from c_cpp_properties.json include paths [`aacef3b`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/aacef3bbfa8e12db4cda5f23cc56042cc1e6af04)\n- Initial plan [`731d020`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/731d02028b7033dc00bd406228a85c5671bb99f1)\n\n#### [v1.0.78](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.77...v1.0.78)\n\n> 20 February 2026\n\n- [WIP] Fix output folder mirroring issue in compilation [`#392`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/392)\n- chore: 🤖 release v1.0.78 [`0eefea5`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/0eefea5147a9bea18c75de695b9dbaea7fd75b0d)\n- Fix output folder mirroring when output-location is configured [`f26bbbf`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/f26bbbf47bb9835da5984e03684e9a57eba7a16e)\n- Initial plan [`8fdd78d`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/8fdd78dc145cd01ffeca919c347db12b4d87cd8b)\n\n#### [v1.0.77](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.76...v1.0.77)\n\n> 19 February 2026\n\n- Fix `${workspaceFolder}` resolving to source file's directory instead of workspace root [`#386`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/386)\n- Fix ${workspaceFolder} substitution using file directory instead of workspace root [`d6459ed`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/d6459ed8ed22e87f7e9b78f75e0923514b58a4c7)\n- chore: 🤖 release v1.0.77 [`159f972`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/159f972ab45014b3263c4f66da263cc85306609e)\n- Initial plan [`2ebcc19`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/2ebcc1937ad78f8b26ef0ae0182fb92ead98b324)\n\n#### [v1.0.76](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.75...v1.0.76)\n\n> 19 February 2026\n\n- Fix Chinese path display corruption in Problems panel on Windows [`#387`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/387)\n- Initial plan: fix Chinese path encoding in compiler output on Windows [`7901faf`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/7901faff5c5cf373f8d014dda821c88a0feb6dad)\n- chore: 🤖 release v1.0.76 [`bfd2693`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/bfd26932474711fdd6e3c3a2c3782c394ff852f2)\n- fix: set LANG=C.UTF-8 env var on Windows to fix Chinese path encoding in compiler output [`a101440`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/a101440f849197416e87c456df2f39adf6e3d5fe)\n\n#### [v1.0.75](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.74...v1.0.75)\n\n> 19 February 2026\n\n- Fix `run-in-external-terminal` setting not respected by Debug (F5) and Custom Run [`#388`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/388)\n- fix: respect run-in-external-terminal setting in debug (F5) and custom run [`5385446`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/538544656b7f059183594bdad2bb5ddb884b1a3b)\n- chore: 🤖 release v1.0.75 [`92b4840`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/92b4840425dc4684d82c8a6d9cecac56837f0a77)\n- Initial plan [`85d7a90`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/85d7a9070c0dfe29ba8f3f734415af66f6d128a0)\n\n#### [v1.0.74](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.73...v1.0.74)\n\n> 19 February 2026\n\n- Fix bugs: dispose task listener, linux terminal msg, flag splitting, imports, and find-process v2 [`d939f36`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/d939f36ac94be29bcbd2015376c6d2c3f1cac2e9)\n- Fix multiple bugs and cleanup [`01c2efc`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/01c2efccee0372e071e2f7f23b0c4d9e3355ad4d)\n- chore: 🤖 release v1.0.74 [`2c2daba`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/2c2daba93f7dbbdc7e6d6315b48bb50d8fd51c40)\n\n#### [v1.0.73](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.72...v1.0.73)\n\n> 19 February 2026\n\n- feat: implement workspace trust checks and improve output path resolution [`4f5aa2d`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/4f5aa2d0aa230978ad2cb6563eb3235458b127e8)\n- chore: 🤖 release v1.0.73 [`7d8dbd9`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/7d8dbd96975b6ee278e6e5a227c5227855f465cf)\n\n#### [v1.0.72](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.71...v1.0.72)\n\n> 19 February 2026\n\n- chore: 🤖 release v1.0.72 [`bd94176`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/bd9417661fff59f974c207507a744cca2a5389b3)\n- Revert \"fix: resolve issue #377 by implementing output folder mirroring and updating getOutputLocation signature\" [`91922c7`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/91922c742cf632c2c30e346afe3031a68f7b18db)\n\n#### [v1.0.71](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.70...v1.0.71)\n\n> 19 February 2026\n\n- feat: allow configuring debugger MIMode and path [`8fce83a`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/8fce83a8f1bdf6e652b316c9821ce78e9f8b95f8)\n- chore: 🤖 release v1.0.71 [`7a84c92`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/7a84c924ed6e0538a255f5712e6fecba9c1ce5f5)\n\n#### [v1.0.70](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.69...v1.0.70)\n\n> 19 February 2026\n\n- chore: 🤖 release v1.0.70 [`76a942a`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/76a942a7733b520967c5c77f1ef60ca721fd0ac2)\n- fix: resolve issue #377 by implementing output folder mirroring and updating getOutputLocation signature [`b9ca186`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/b9ca186e9e6de6c5d521a73e15aafc17187121ca)\n\n#### [v1.0.69](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.68...v1.0.69)\n\n> 30 December 2025\n\n- feat: support Ptyxis for external terminal [`#379`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/379)\n- chore: 🤖 release v1.0.69 [`9da31ab`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/9da31abb0f4e1f5e9a14458b1bcc29daa1ea718f)\n\n#### [v1.0.68](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.67...v1.0.68)\n\n> 30 June 2025\n\n- feat: 🎸 Add the ability to specify additional include paths [`e498235`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/e4982352f19861d11652262975c5df72c04cbe0d)\n- chore: 🤖 release v1.0.68 [`6638aa7`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/6638aa79afbdb89d7376679bdbba79097591b718)\n\n#### [v1.0.67](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.66...v1.0.67)\n\n> 30 June 2025\n\n- feat: 🎸 If a exe is up-to-date, then don't compile it [`33a9328`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/33a93289db9f8b2ae9e8b54f6ceb6b63a115fc31)\n- chore: 🤖 release v1.0.67 [`5bd0d10`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/5bd0d101b6a80afe09a7216a2db870febeba5cdd)\n\n#### [v1.0.66](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.65...v1.0.66)\n\n> 30 June 2025\n\n- feat: 🎸 Relative output location [`accd105`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/accd105edbb3c595e149b4dd6c91898f024ac870)\n- chore: 🤖 release v1.0.66 [`d712fbd`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/d712fbdf86d5ccdcd06893e3fa191ef821a76f68)\n\n#### [v1.0.65](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.64...v1.0.65)\n\n> 30 June 2025\n\n- feat: 🎸 Improve code + error messages [`e01ee27`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/e01ee27616cf3c3a08bd654f50fca659c62afe03)\n- feat: 🎸 Make sure debugger only runs if cpptools ext exist [`284076f`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/284076fc4b1979f469ba1c4f8b956d9a4f8f8424)\n- chore: 🤖 release v1.0.65 [`38a4ed9`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/38a4ed911d6a941da0a347a090d24aa280cfbdae)\n\n#### [v1.0.64](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.63...v1.0.64)\n\n> 29 June 2025\n\n- chore: 🤖 Update configuration descriptions [`f615d3b`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/f615d3b0bf6dc670d65413cafb07059ed655ea8f)\n- chore: 🤖 release v1.0.64 [`b95345a`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/b95345a6985977157c40c371de5a4f70f90bf6e7)\n\n#### [v1.0.63](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.62...v1.0.63)\n\n> 29 June 2025\n\n- chore: 🤖 Update commands title [`c63ca4a`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/c63ca4afb03f81d05d2336a289a5c1b179ea27c8)\n- chore: 🤖 release v1.0.63 [`b197707`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/b19770754e5e05f4116c8ca687cc16a20a61f6fd)\n\n#### [v1.0.62](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.61...v1.0.62)\n\n> 29 June 2025\n\n- docs: ✏️ Improve documentation [`a2b245d`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/a2b245d8352857e6acab736ea2c449f3bc8d85a8)\n- chore: 🤖 release v1.0.62 [`6fc1d09`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/6fc1d099e0d7e832dc1b7c2ddfbdcaccb5a1f53b)\n\n#### [v1.0.61](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.60...v1.0.61)\n\n> 29 June 2025\n\n- fix: 🐛 Attempt to fix #367 [`#371`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/371)\n- chore: 🤖 update deps [`#370`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/370)\n- Merge pull request #371 from danielpinto8zz6/attempt_to_fix_367 [`#367`](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/367)\n- fix: 🐛 Attempt to fix #367 [`#367`](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/367)\n- chore: 🤖 release v1.0.61 [`f2137e5`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/f2137e5728f57dd1c8e7430f7473814a4315800b)\n- chore: 🤖 release v1.101.1 [`186f94d`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/186f94da44444f11f5cb417ec7f8f9690aaf6c43)\n- cleanup [`3d8c001`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/3d8c0010bdb705e0c5c50b11944d125a03d23ae8)\n\n#### [v1.0.60](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.59...v1.0.60)\n\n> 24 September 2024\n\n- ci: 🎡 update vscode engine version [`#365`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/365)\n- chore: 🤖 release v1.0.60 [`1af6a54`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/1af6a54402103100a6774066d21559ad9592dbe2)\n\n#### [v1.0.59](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.58...v1.0.59)\n\n> 22 September 2024\n\n- feat: 🎸 Add support for linker-flags [`#364`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/364)\n- feat: 🎸 Add support for linker flags [`4e5b508`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/4e5b508f261b386d4e013e440a882e2eec9816e9)\n- chore: 🤖 release v1.0.59 [`a01d15a`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/a01d15a0f880082e1af2c92f73d3989b8864e379)\n\n#### [v1.0.58](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.57...v1.0.58)\n\n> 4 February 2024\n\n- chore: 🤖 release v1.0.58 [`3da422d`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/3da422dcad3349678630ad614149b311bd62ae31)\n- fix: 🐛 Fix wsl external terminal [`d8838d3`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/d8838d3e2708866353f073c04a650476cc1a3532)\n\n#### [v1.0.57](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.56...v1.0.57)\n\n> 4 February 2024\n\n- chore: 🤖 release v1.0.57 [`5debd7b`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/5debd7b98c50514052f8554cbb2ce607feb649d5)\n- fix: 🐛 Attemp to fix wsl error [`b04e499`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/b04e499b715f3bd209cd65397fc36598498308aa)\n\n#### [v1.0.56](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.55...v1.0.56)\n\n> 4 February 2024\n\n- chore: 🤖 release v1.0.56 [`9b3507f`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/9b3507f9f6cbf8f10a5af4df58aab6a18c4d98b4)\n- fix: 🐛 Fix wsl [`9b81aeb`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/9b81aeb4220cdf79c91f4214ce2147fee2337db1)\n\n#### [v1.0.55](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.54...v1.0.55)\n\n> 31 January 2024\n\n- fix: 🐛 Fix slow compilation on windows with temporary workaroun [`#350`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/350)\n- chore: 🤖 release v1.0.55 [`8212358`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/821235820cfd043fe48952cee81269425ea3d4aa)\n\n#### [v1.0.54](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.53...v1.0.54)\n\n> 31 January 2024\n\n- chore: 🤖 update ci/cd actions [`#349`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/349)\n- chore: 🤖 release v1.0.54 [`8390791`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/8390791a33b4ac6999b5d9b29af70be3e931ca8f)\n\n#### [v1.0.53](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.52...v1.0.53)\n\n> 31 January 2024\n\n- chore: 🤖 release v1.0.53 [`671618a`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/671618a591c4a71d6b975864652caae7dc70dd79)\n- chore: 🤖 cleanup [`8d66acf`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/8d66acf9a3c39b632c2aaa6c3cf782c2659b526b)\n\n#### [v1.0.52](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.50...v1.0.52)\n\n> 31 January 2024\n\n- fix: 🐛 fix build [`#348`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/348)\n- feat: 🎸 update deps [`#347`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/347)\n- feat: 🎸 update deps [`#346`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/346)\n- chore: 🤖 release v1.0.51 [`ce87d04`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/ce87d04eab84b9698f5a73a5b21f4b149dbfd8a5)\n- chore: 🤖 release v1.0.52 [`2323ac7`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/2323ac724069237a6352af52b10c755fbaa48622)\n\n#### [v1.0.50](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.49...v1.0.50)\n\n> 27 August 2023\n\n- docs: ✏️ improve documentation [`#334`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/334)\n- chore: 🤖 release v1.0.50 [`8e2664d`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/8e2664d0d46f6ad333864955867bf51573a364b5)\n\n#### [v1.0.49](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.48...v1.0.49)\n\n> 19 July 2023\n\n- chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 [`#330`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/330)\n- chore: 🤖 release v1.0.49 [`8e06c28`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/8e06c2827d1e75639122ab0175a30652656fb020)\n\n#### [v1.0.48](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.47...v1.0.48)\n\n> 27 June 2023\n\n- Notification not showing in file (path with spaces) [`#329`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/329)\n- chore(deps): bump vm2 from 3.9.17 to 3.9.19 [`#326`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/326)\n- chore: 🤖 release v1.0.48 [`68806c2`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/68806c2e232df9a5f35721d1f672ede2cc39abd5)\n- chore: 🤖 release v1.0.47 [`df4b638`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/df4b638d09dbd2d1e6fe4521cda058358c53957b)\n- fixed notification not showing in file [`0deb396`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/0deb3968c7e533beead9021e76cfe8ab6da164ec)\n\n#### [v1.0.47](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.46...v1.0.47)\n\n> 24 June 2023\n\n- chore: 🤖 release v1.0.47 [`9b82ad1`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/9b82ad137661d26643572104da714bd93829cd63)\n- Create SECURITY.md [`0652f5b`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/0652f5b73cf6d7dd9adb59312014813e0c081f77)\n\n#### [v1.0.46](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.45...v1.0.46)\n\n> 24 June 2023\n\n- feat: 🎸 compiler: set flags first [`#320`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/320)\n- chore: 🤖 release v1.0.46 [`8615d52`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/8615d52b2e58fa2d7e181ba23dfff14a6e09f688)\n\n#### [v1.0.45](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.44...v1.0.45)\n\n> 12 May 2023\n\n- chore(deps): bump vm2 from 3.9.11 to 3.9.17 [`#324`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/324)\n- chore: 🤖 release v1.0.45 [`ec547e4`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/ec547e4042e59981785db51379edca9701ee243d)\n\n#### [v1.0.44](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.43...v1.0.44)\n\n> 15 March 2023\n\n- chore(deps-dev): bump webpack from 5.75.0 to 5.76.0 [`#318`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/318)\n- chore: 🤖 release v1.0.44 [`1b9caeb`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/1b9caebf349b561806c9d769ae45fa7db1d18313)\n\n#### [v1.0.43](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.42...v1.0.43)\n\n> 17 February 2023\n\n- feat: 🎸 support empty output location (default is \"output\") [`59aebd1`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/59aebd149c1469e99fefd1dbbdb2efce1c334de9)\n- chore: 🤖 release v1.0.43 [`25c4203`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/25c42035b388bac48a50f8aab745720cfe48bed1)\n\n#### [v1.0.42](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.41...v1.0.42)\n\n> 16 February 2023\n\n- fix: 🐛 show warning when external terminal not available in wsl [`8d1116b`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/8d1116b2e9344f76cf2bddaa2284d6a7c24dbab1)\n- chore: 🤖 release v1.0.42 [`8024cbc`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/8024cbc3948fc32d7ab93cb2907aabbdfb7019d2)\n\n#### [v1.0.41](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.40...v1.0.41)\n\n> 16 February 2023\n\n- Feature/add support to wsl [`#316`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/316)\n- feat: 🎸 Add support for wsl [`99660e8`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/99660e89040de154a6dc713a87847f2ddb942710)\n- chore: 🤖 release v1.0.41 [`ec5fe23`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/ec5fe23981796ffa14c02b52d52d48e00ba8e14f)\n- Update runner.ts [`ac8c821`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/ac8c821ab9bf4a33c35dac797bcf0528aeeb2275)\n\n#### [v1.0.40](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.39...v1.0.40)\n\n> 16 February 2023\n\n- chore: 🤖 release v1.0.40 [`d4a5c3e`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/d4a5c3e93a9552d929e4e108e5fa61edda40f449)\n- feat: 🎸 Only powershell and cmd are supported as external term [`7e7ffd0`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/7e7ffd04c54579f83d3f1f5fa08a46874dbfd911)\n\n#### [v1.0.39](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.38...v1.0.39)\n\n> 16 February 2023\n\n- chore: 🤖 release v1.0.39 [`80dc57f`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/80dc57f8cb1aee194b3ef8e9014efac602f07b03)\n- fix: 🐛 invalid prefix on win when terminal is not pwsh or cmd [`f343e86`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/f343e86712235a85466bb278c2b63d533c959824)\n\n#### [v1.0.38](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.37...v1.0.38)\n\n> 16 February 2023\n\n- fix: 🐛 Activate hotkeys only on c/cpp files [`#314`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/314)\n- chore: 🤖 release v1.0.38 [`157a077`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/157a077e573b8a0cccaf5da71a69a3782f26c97e)\n\n#### [v1.0.37](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.36...v1.0.37)\n\n> 16 February 2023\n\n- Feature/runner improvements [`#312`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/312)\n- feat: 🎸 Add some runner improvements [`6b872bb`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/6b872bbe01202a0d4e775d369eb9b5da62f83b58)\n- feat: 🎸 simplify external terminal logic [`3fbe77d`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/3fbe77dc021a201f7705a990fbfaae661f4320e4)\n- chore: 🤖 release v1.0.37 [`427e77d`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/427e77d5648fe4c4f19aaafc80558044cfcdc54d)\n\n#### [v1.0.36](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.35...v1.0.36)\n\n> 15 February 2023\n\n- fix: 🐛 Fix external terminal run on windows [`#311`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/311)\n- chore: 🤖 release v1.0.36 [`7200d24`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/7200d24047c6c6ae5d0def9bc056b225c7e14e05)\n\n#### [v1.0.35](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.34...v1.0.35)\n\n> 14 February 2023\n\n- docs: ✏️ improve documentation [`#310`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/310)\n- feat: 🎸 Add status bar items to debug/compile/run [`#309`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/309)\n- chore: 🤖 release v1.0.35 [`8cb220d`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/8cb220d779e75a26a6ce66378599eabc81ea195e)\n- docs: ✏️ update readme badges link [`5593e79`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/5593e792e3a4caf93c333aeb60b6db2377ecb8c3)\n- fix: 🐛 Add workaround to fix external terminal on windows [`6099f55`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/6099f559b51b755e666926fdd527d669461dadc7)\n\n#### [v1.0.34](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.33...v1.0.34)\n\n> 14 February 2023\n\n- feat: 🎸 Add initial debug support [`#307`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/307)\n- chore: 🤖 release v1.0.34 [`dcc43df`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/dcc43df57d50048f8169b5d7deaf86df955f4985)\n\n#### [v1.0.33](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.32...v1.0.33)\n\n> 13 February 2023\n\n- docs: ✏️ update badges [`#306`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/306)\n- chore: 🤖 release v1.0.33 [`8d94320`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/8d94320a86279781c3ba1bc4728518b70dc94bc3)\n\n#### [v1.0.32](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.31...v1.0.32)\n\n> 13 February 2023\n\n- fix: 🐛 fix build (re-add activationEvents) [`#305`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/305)\n- chore: 🤖 release v1.0.32 [`be28eba`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/be28eba2a9c15db4c3a17ef8dc2197d21d498cab)\n\n#### [v1.0.31](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.30...v1.0.31)\n\n> 13 February 2023\n\n- Development [`#304`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/304)\n- Use vscode tasks to compile [`#303`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/303)\n- Feature/custom run prefix [`#302`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/302)\n- chore: 🤖 update configs [`77601f2`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/77601f247622c39ce2714232265e8dfda27c2b9e)\n- feat: 🎸 Improve for linux terminals [`08e58e4`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/08e58e4dd3c25ff7e751fc529fe67fbc84b0b39e)\n- feat: 🎸 [WIP] Custom run prefixes [`11a68e4`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/11a68e4dd94d995a429d20638c51e8a5b9ae2830)\n\n#### [v1.0.30](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.29...v1.0.30)\n\n> 12 February 2023\n\n- chore(deps): bump cacheable-request from 10.2.1 to 10.2.7 [`#301`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/301)\n- chore: 🤖 release v1.0.30 [`4f1eea8`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/4f1eea812bb591aa2aea4f62522dcdd9134fa378)\n\n#### [v1.0.29](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.28...v1.0.29)\n\n> 3 February 2023\n\n- chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 [`#300`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/300)\n- chore: 🤖 release v1.0.29 [`e4e9e43`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/e4e9e43db589ab11eb8bf0f7dc1fcef7d083cc58)\n\n#### [v1.0.28](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.27...v1.0.28)\n\n> 19 January 2023\n\n- feat: 🎸 add template for release notes [`87dbc4a`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/87dbc4ac4d1399e1f703a3cf204b25a5ab47c131)\n- chore: 🤖 release v1.0.28 [`2268878`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/226887813f02b3eefd1de774a7b3aca22477534e)\n\n#### [v1.0.27](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.26...v1.0.27)\n\n> 19 January 2023\n\n- chore: 🤖 release v1.0.27 [`3e51c60`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/3e51c60682981a472a3306b5e7a795d2b9b2bc29)\n- feat: 🎸 only include notes from new version [`cbaacb5`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/cbaacb5f7cebde4805d842663080c91a195c6645)\n\n#### [v1.0.26](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.25...v1.0.26)\n\n> 19 January 2023\n\n- chore: 🤖 release v1.0.26 [`5975ee7`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/5975ee7a923c4b249795e09e77d540b3a03c423a)\n- fix: 🐛 fix vsix path [`c8014d2`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/c8014d296ec6128216d66ca2fda4137dd86de066)\n\n#### [v1.0.25](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.24...v1.0.25)\n\n> 19 January 2023\n\n- feat: 🎸 publish to vs marketplace and open vsix [`5727885`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/5727885924088757d4d16a4038637ad4bc62ed11)\n- chore: 🤖 release v1.0.25 [`c450511`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/c4505117da392ff3931fba649f14ad25f62527ea)\n- use right lib [`dbf129a`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/dbf129a59c0aa3b9151dbd5985d6e20cb45683c2)\n\n#### [v1.0.24](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.23...v1.0.24)\n\n> 19 January 2023\n\n- chore: 🤖 release v1.0.24 [`f6c8631`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/f6c86319a5999fce46ef6e4737f4898bdee5e96a)\n- fix: 🐛 update changelog [`a77b9cc`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/a77b9cca8b67874856b86914281e069d3c8182cc)\n\n#### [v1.0.23](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.19...v1.0.23)\n\n> 19 January 2023\n\n- feat: use iTerm to start external terminal  in macOS(#285) [`#286`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/286)\n- chore(deps): bump decode-uri-component from 0.2.0 to 0.2.2 [`#284`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/284)\n- chore: 🤖 update deps [`6201527`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/6201527ca1edb3027864cc4b41125af58c927ccd)\n- feat: 🎸 Add continuous deployment [`06ddfdf`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/06ddfdf825c2135e82b951a21b34ff55700349cd)\n- chore: 🤖 release v1.0.23 [`9a89417`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/9a89417ef74fdca528b7a354dcf7297b7554d865)\n\n#### [v1.0.19](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.18...v1.0.19)\n\n> 31 October 2022\n\n- chore: 🤖 release v1.0.19 [`68661d9`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/68661d9e168eb35fc5fe85e528b70847db926f92)\n- fix: 🐛 fix typo [`504b516`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/504b51646edf6a21efd856f4e474b0569ffdf194)\n\n#### [v1.0.18](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.17...v1.0.18)\n\n> 15 October 2022\n\n- chore: 🤖 release v1.0.18 [`33902a4`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/33902a4d5706901dd509875a3a9632b7928d20de)\n\n#### [v1.0.17](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.16...v1.0.17)\n\n> 15 October 2022\n\n- chore: 🤖 release v1.0.17 [`885f292`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/885f292f9bc2adf672ca636e01ac6282e9984ea6)\n\n#### [v1.0.16](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.15...v1.0.16)\n\n> 15 October 2022\n\n- chore(deps): bump terser from 5.8.0 to 5.14.2 [`#278`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/278)\n- chore(deps): bump parse-url from 6.0.0 to 6.0.2 [`#276`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/276)\n- feat: 🎸 Add run icon in editor title menu [`#277`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/277)\n- chore(deps): bump node-fetch from 2.6.6 to 2.6.7 [`#271`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/271)\n- chore(deps): bump minimist from 1.2.5 to 1.2.6 [`#270`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/270)\n- chore: 🤖 update deps [`86d5dc2`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/86d5dc25baebf21e5eca11c4cef2776ec09f0dd6)\n- feat: 🎸 update deps [`9bbf1f2`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/9bbf1f2c9a41e41801554a88b77d56410c670ddd)\n- Fix bad indent [`7c15b71`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/7c15b711d2e6ce6c613f2dccfb9375086d896adb)\n\n#### [v1.0.15](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.14...v1.0.15)\n\n> 24 October 2021\n\n- feat: 🎸 Add support for custom output location [`#265`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/265)\n- Fix typos in README [`#255`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/255)\n- feat: 🎸 update deps [`fb09f16`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/fb09f168b812ed7847932de863ef4b936a4b7a01)\n- feat: 🎸 update deps [`a24ff1f`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/a24ff1fcc94e387cbf23b5dcf00b70751f28e2ad)\n- chore: 🤖 release v1.0.15 [`077e172`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/077e17247207c6c6e64df5602dea9b661c2c9127)\n\n#### [v1.0.14](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.13...v1.0.14)\n\n> 14 April 2021\n\n- Development [`#249`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/249)\n- chore(deps): bump yargs-parser from 5.0.0 to 5.0.1 [`#248`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/248)\n- chore: 🤖 migrate to tslint [`a6d333a`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/a6d333a4dfcb34b8162d2dddecb2ee9096b4cd21)\n- chore: 🤖 migrate to tslint [`2849b00`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/2849b00292cdd900a3ca08fc0f2761d872f3fd91)\n- chore: 🤖 update deps [`4a8b706`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/4a8b706437f66ffc54bcabda52c3e64db98fd5dd)\n\n#### [v1.0.13](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.12...v1.0.13)\n\n> 29 October 2020\n\n- feat: 🎸 add keybinding to run in external terminal [`c904f11`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/c904f11696ee6007029b1a47c59e98ae1efb335b)\n- feat: 🎸 allow to disable notifications [`46f1977`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/46f19770c5ceed37b3966e2010acec8bb042ef7a)\n- chore: 🤖 release v1.0.13 [`f52044f`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/f52044f832253dbc42d02cc87c71f8fcf46d5799)\n\n#### [v1.0.12](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.11...v1.0.12)\n\n> 17 October 2020\n\n- feat: 🎸 update terminal [`e7eb02f`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/e7eb02fb40af1f43b1f5d32fd4b3d94c1180fee9)\n- feat: 🎸 extension improvements [`bf12a4e`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/bf12a4e89252eaadcfc39835736b0437220c779c)\n- chore: 🤖 update deps [`642887e`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/642887ea7ea19c2542dd9dd2f0fb1bd6e0abf171)\n\n#### [v1.0.11](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.10...v1.0.11)\n\n> 25 May 2020\n\n- fix: 🐛 run [`7890f8b`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/7890f8bbfdc723b7c855cef864f2c8fbf251dd2f)\n- chore: 🤖 release v1.0.11 [`e31afc4`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/e31afc4f95810166e14d492ed07a0103d6fdc569)\n\n#### [v1.0.10](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.9...v1.0.10)\n\n> 24 May 2020\n\n- fix: 🐛 terminal [`5026dba`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/5026dba1e0cb9043844d800971af97ed60604373)\n- chore: 🤖 release v1.0.10 [`01819db`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/01819dbba22e14f11525b7745cba87a4e68f7ee0)\n\n#### [v1.0.9](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.8...v1.0.9)\n\n> 24 May 2020\n\n- chore(deps-dev): bump @types/node from 13.11.1 to 13.13.0 [`#179`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/179)\n- chore(deps-dev): bump release-it from 13.5.2 to 13.5.4 [`#178`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/178)\n- chore: 🤖 update deps [`3e4baf9`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/3e4baf9aa9b5de60eab5c354b12e1ee5699050ae)\n- chore: 🤖 LICENSE [`15789fe`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/15789feb976d47029291beb104618b72b0d457ec)\n- chore: 🤖 release v1.0.9 [`85043e5`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/85043e59754b4d23cac918a9db624f4fae4b2739)\n\n#### [v1.0.8](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.7...v1.0.8)\n\n> 10 April 2020\n\n- 📦 NEW: vscode.pro icon [`#176`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/176)\n- chore(deps-dev): bump @types/vscode from 1.43.0 to 1.44.0 [`#175`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/175)\n- chore(deps-dev): bump @types/node from 13.11.0 to 13.11.1 [`#174`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/174)\n- chore(deps-dev): bump release-it from 13.5.1 to 13.5.2 [`#173`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/173)\n- chore(deps-dev): bump @types/node from 13.9.8 to 13.11.0 [`#171`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/171)\n- chore(deps-dev): bump tslint from 6.1.0 to 6.1.1 [`#170`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/170)\n- chore(deps-dev): bump release-it from 13.3.2 to 13.5.1 [`#169`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/169)\n- chore(deps-dev): bump @types/node from 13.9.4 to 13.9.8 [`#168`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/168)\n- chore(deps-dev): bump release-it from 13.1.2 to 13.3.2 [`#164`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/164)\n- chore(deps-dev): bump @types/node from 13.9.2 to 13.9.4 [`#162`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/162)\n- chore: 🤖 release v1.0.8 [`dfe98b4`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/dfe98b4a81839264622c3f96a135831cf25f674b)\n- chore: 🤖 vscode [`3e0b5f0`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/3e0b5f0fb8bd5a103814281cbf048150239de68c)\n- chore(badge): Update build status badge [`7e40eb7`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/7e40eb7313d3e383095e51950da4b11ee21b9ae4)\n\n#### [v1.0.7](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.6...v1.0.7)\n\n> 22 March 2020\n\n- fix: 🐛 runner [`#124`](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/124)\n- chore: 🤖 release v1.0.7 [`c4c02ec`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/c4c02ecdc24268dbfc7d77ab6d5dd06c6f5ebc3c)\n\n#### [v1.0.6](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.5...v1.0.6)\n\n> 22 March 2020\n\n- fix(terminal): fix vscode terminal errors [`#156`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/156)\n- chore(deps-dev): bump mocha from 7.1.0 to 7.1.1 [`#155`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/155)\n- chore(deps-dev): bump tslint from 6.0.0 to 6.1.0 [`#152`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/152)\n- chore(deps-dev): bump @types/vscode from 1.42.0 to 1.43.0 [`#151`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/151)\n- chore(deps-dev): bump @types/mocha from 7.0.1 to 7.0.2 [`#149`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/149)\n- chore(deps-dev): bump @types/node from 13.7.6 to 13.7.7 [`#148`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/148)\n- chore(deps-dev): bump typescript from 3.8.2 to 3.8.3 [`#147`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/147)\n- chore(deps-dev): bump mocha from 7.0.1 to 7.1.0 [`#146`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/146)\n- chore(deps-dev): bump @types/node from 13.7.4 to 13.7.6 [`#145`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/145)\n- chore(deps-dev): bump typescript from 3.7.5 to 3.8.2 [`#144`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/144)\n- chore(deps): bump lookpath from 1.0.4 to 1.0.5 [`#138`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/138)\n- chore(deps-dev): bump @types/node from 13.7.2 to 13.7.4 [`#143`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/143)\n- chore(deps-dev): bump @types/node from 13.7.0 to 13.7.2 [`#142`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/142)\n- chore(deps-dev): bump semantic-release from 17.0.3 to 17.0.4 [`#141`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/141)\n- chore(deps-dev): bump semantic-release, @semantic-release/git and semantic-release-vsce [`#140`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/140)\n- chore(deps-dev): bump @types/vscode from 1.41.0 to 1.42.0 [`#137`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/137)\n- chore(deps-dev): bump @types/node from 13.5.2 to 13.7.0 [`#136`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/136)\n- chore(deps-dev): bump @types/mocha from 5.2.7 to 7.0.1 [`#134`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/134)\n- chore(deps-dev): bump @types/node from 13.5.1 to 13.5.2 [`#133`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/133)\n- chore(deps-dev): bump @semantic-release/changelog from 3.0.6 to 5.0.0 [`#131`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/131)\n- chore(deps-dev): bump mocha from 7.0.0 to 7.0.1 [`#130`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/130)\n- chore(deps-dev): bump @types/node from 13.5.0 to 13.5.1 [`#132`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/132)\n- chore(deps-dev): bump @types/node from 13.1.7 to 13.5.0 [`#129`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/129)\n- chore(deps-dev): bump tslint from 5.20.1 to 6.0.0 [`#128`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/128)\n- chore(deps-dev): bump typescript from 3.7.4 to 3.7.5 [`#126`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/126)\n- chore(deps-dev): bump @types/node from 13.1.5 to 13.1.7 [`#125`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/125)\n- chore(deps-dev): bump @types/node from 13.1.4 to 13.1.5 [`#122`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/122)\n- chore(deps-dev): bump @types/node from 13.1.2 to 13.1.4 [`#120`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/120)\n- chore(deps-dev): bump mocha from 6.2.2 to 7.0.0 [`#121`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/121)\n- chore(deps-dev): bump @types/node from 13.1.1 to 13.1.2 [`#119`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/119)\n- chore(deps-dev): bump @types/node from 13.1.0 to 13.1.1 [`#118`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/118)\n- chore(deps-dev): bump @types/node from 12.12.21 to 13.1.0 [`#117`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/117)\n- chore(deps-dev): bump typescript from 3.7.3 to 3.7.4 [`#116`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/116)\n- chore(deps-dev): bump semantic-release from 15.13.31 to 15.14.0 [`#115`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/115)\n- chore(deps-dev): bump @types/node from 12.12.20 to 12.12.21 [`#113`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/113)\n- chore(deps-dev): bump @types/node from 12.12.17 to 12.12.20 [`#112`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/112)\n- chore(deps): bump lookpath from 1.0.3 to 1.0.4 [`#110`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/110)\n- chore(deps): [security] bump npm from 6.13.0 to 6.13.4 [`#109`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/109)\n- chore(deps-dev): bump @types/vscode from 1.40.0 to 1.41.0 [`#108`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/108)\n- chore(deps-dev): bump vscode-test from 1.2.3 to 1.3.0 [`#107`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/107)\n- chore(deps-dev): bump @types/node from 12.12.16 to 12.12.17 [`#105`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/105)\n- chore(deps-dev): bump @types/node from 12.12.14 to 12.12.16 [`#104`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/104)\n- chore(deps-dev): bump typescript from 3.7.2 to 3.7.3 [`#102`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/102)\n- chore(deps-dev): bump @types/node from 12.12.12 to 12.12.14 [`#101`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/101)\n- Bump find-process from 1.4.2 to 1.4.3 [`#93`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/93)\n- Bump @types/node from 12.12.9 to 12.12.12 [`#100`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/100)\n- Bump @semantic-release/changelog from 3.0.5 to 3.0.6 [`#99`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/99)\n- Bump @types/node from 12.12.8 to 12.12.9 [`#97`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/97)\n- [Security] Bump https-proxy-agent from 2.2.2 to 2.2.4 [`#96`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/96)\n- Bump semantic-release from 15.13.30 to 15.13.31 [`#95`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/95)\n- Bump @types/node from 12.12.7 to 12.12.8 [`#94`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/94)\n- Bump @types/node from 12.12.6 to 12.12.7 [`#92`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/92)\n- Bump vscode-test from 1.2.2 to 1.2.3 [`#91`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/91)\n- Bump glob from 7.1.5 to 7.1.6 [`#89`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/89)\n- Bump @types/vscode from 1.39.0 to 1.40.0 [`#90`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/90)\n- Bump tslint from 5.20.0 to 5.20.1 [`#88`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/88)\n- Bump @types/node from 12.12.5 to 12.12.6 [`#87`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/87)\n- Bump typescript from 3.6.4 to 3.7.2 [`#86`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/86)\n- Bump @semantic-release/git from 7.0.17 to 7.0.18 [`#85`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/85)\n- Bump semantic-release from 15.13.28 to 15.13.30 [`#83`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/83)\n- Bump @types/node from 12.12.0 to 12.12.5 [`#84`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/84)\n- Bump vscode-test from 1.2.0 to 1.2.2 [`#82`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/82)\n- Bump @types/node from 12.11.7 to 12.12.0 [`#81`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/81)\n- Bump @semantic-release/git from 7.0.16 to 7.0.17 [`#80`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/80)\n- Bump semantic-release from 15.13.27 to 15.13.28 [`#79`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/79)\n- Bump @semantic-release/changelog from 3.0.4 to 3.0.5 [`#78`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/78)\n- Bump @types/node from 12.11.6 to 12.11.7 [`#77`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/77)\n- Bump @types/node from 12.11.5 to 12.11.6 [`#76`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/76)\n- Bump @types/node from 12.11.1 to 12.11.5 [`#75`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/75)\n- Bump glob from 7.1.4 to 7.1.5 [`#73`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/73)\n- chore: 🤖 release [`409b7c5`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/409b7c5e7d954605e18f6cf5d3df84285ee00224)\n- chore: 🤖 release v1.0.5 [skip ci] [`c10b5e6`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/c10b5e6c80f950de6d11d75eb55c5c03cd60adcc)\n- chore: 🤖 release v1.0.6 [`c8511db`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/c8511db46ac03b4ee94549c9a31effff4a5edd70)\n\n#### [v1.0.5](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.4...v1.0.5)\n\n> 19 October 2019\n\n- chore: 🤖 Bump @types/node from 12.7.12 to 12.11.1 [`#72`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/72)\n- chore: 🤖 release [`a52231c`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/a52231c9383ce8e21608c429cafb8355a08d0b44)\n- Bump @types/node from 12.7.12 to 12.11.1 [`f43543b`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/f43543bd77e203c57b85b2ef042e039646b4dbbd)\n- fix: 🐛 run executable with spaces [`aae05a5`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/aae05a58307ca87687430c96703a1d4ed41cc8b2)\n\n#### [v1.0.4](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.3...v1.0.4)\n\n> 14 October 2019\n\n- style: 💄 rules [`8cdde31`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/8cdde31beaee80c894c315c1b6e3e8843b416e05)\n- chore: 🤖 release [`7e47ca5`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/7e47ca5b5b2ce90ae8e2938bdc0f1962910ea2bb)\n- chore: 🤖 pipeline [`0e95391`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/0e953914ca4f3567bf7c3f2b6a5b0028656d2fb0)\n\n#### [v1.0.3](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.2...v1.0.3)\n\n> 13 October 2019\n\n- test: 💍 configure [`19e4eed`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/19e4eedb9aa0c747e22423cd9d06bf2e57b91b0b)\n- chore: 🤖 pipeline [`d8cad58`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/d8cad589aa99b1a73a8f4e40fd50c75c429a573b)\n- fix: 🐛 compile [`f922876`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/f922876f580363ccdb0ebbe4237fcf64b87722a3)\n\n#### [v1.0.2](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.1...v1.0.2)\n\n> 9 October 2019\n\n- Configure automatic release [`5889f59`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/5889f5976024c993c40bb9861a9ea0829aa76d75)\n- Update changelog [`0868cb9`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/0868cb901c5602ec0762f17460fd796be627fff2)\n- fix(file): Get file every time a command is run [`6587738`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/658773847d1e030380cec4f9b6c4566e84c5aa90)\n\n#### v1.0.1\n\n> 8 October 2019\n\n- Bump mixin-deep from 1.3.1 to 1.3.2 [`#65`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/65)\n- Bump js-yaml from 3.13.0 to 3.13.1 [`#58`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/58)\n- fix external terminal launching on mac(darwin) [`#54`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/54)\n- Resolve #44. Update dependencies. [`#45`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/45)\n- Closes #16. Add \"CostumeCompileRun\" and shortcut. Simplify the logic. [`#43`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/43)\n- Add support for .cc suffix [`#11`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/11)\n- Change invalid argument call `'` to `\"`. [`#7`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/7)\n- fix https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/57 [`#57`](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/57)\n- remove clear, fixes https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/30 [`#30`](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/30)\n- clear output channel at begining, fixes https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/42 [`#42`](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/42)\n- add quotes to executable, fixes https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/39 [`#39`](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/39)\n- Show error when compiling while running, fixes https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/40 [`#40`](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/40)\n- Merge pull request #45 from Anti-Li/master [`#44`](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/44)\n- Resolve #44. [`#44`](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/44)\n- Merge pull request #43 from Anti-Li/simplify [`#16`](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/16)\n- Closes #16. Add the \"CostumeCompileRun\" command and shortcut. Simplify the logic. [`#16`](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/16)\n- Fix https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/34 [`#34`](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/34)\n- clear terminal is not async. fixes https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/30 [`#30`](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/30)\n- change settings correctly. fixes https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/31 [`#31`](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/31)\n- Resolve #12 temporarily [`#12`](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/12)\n- First commit [`9777202`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/97772024204eb84cba00e49273392932f6b1c79d)\n- Refactor code [`2cdf2c4`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/2cdf2c4dd1e2e960db24fe9b4bdc8f9bc458b783)\n- Fix vulnerabilities [`1d9c91f`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/1d9c91f8c4a9fc36d144ec77772511d9f8c5f878)\n"
  },
  {
    "path": "LICENSE",
    "content": "                    GNU GENERAL PUBLIC LICENSE\n                       Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.  We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors.  You can apply it to\nyour programs, too.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights.  Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n  For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received.  You must make sure that they, too, receive\nor can get the source code.  And you must show them these terms so they\nknow their rights.\n\n  Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n  For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software.  For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n  Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so.  This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software.  The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable.  Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts.  If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n  Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary.  To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Use with the GNU Affero General Public License.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    <one line to give the program's name and a brief idea of what it does.>\n    Copyright (C) <year>  <name of author>\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with this program.  If not, see <https://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n    <program>  Copyright (C) <year>  <name of author>\n    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n    This is free software, and you are welcome to redistribute it\n    under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License.  Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n  You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n<https://www.gnu.org/licenses/>.\n\n  The GNU General Public License does not permit incorporating your program\ninto proprietary programs.  If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library.  If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License.  But first, please read\n<https://www.gnu.org/licenses/why-not-lgpl.html>.\n"
  },
  {
    "path": "README.md",
    "content": "![Logo](resources/logo.png)\n\n# C/C++ Compile Run Extension\n\n<a href=\"https://www.buymeacoffee.com/danielpinto8zz6\" target=\"_blank\"><img src=\"https://cdn.buymeacoffee.com/buttons/default-orange.png\" alt=\"Buy Me A Coffee\" height=\"41\" width=\"174\"></a>\n[![Support via PayPal](resources/paypal-donate-button.png)](https://www.paypal.me/danielpinto8zz6/)\n\n[![Visual Studio Marketplace Version](https://img.shields.io/visual-studio-marketplace/v/danielpinto8zz6.c-cpp-compile-run)](https://marketplace.visualstudio.com/items?itemName=danielpinto8zz6.c-cpp-compile-run)\n[![Visual Studio Marketplace Downloads](https://img.shields.io/visual-studio-marketplace/d/danielpinto8zz6.c-cpp-compile-run)](https://marketplace.visualstudio.com/items?itemName=danielpinto8zz6.c-cpp-compile-run)\n[![Visual Studio Marketplace Rating](https://img.shields.io/visual-studio-marketplace/r/danielpinto8zz6.c-cpp-compile-run)](https://marketplace.visualstudio.com/items?itemName=danielpinto8zz6.c-cpp-compile-run&ssr=false#review-details)\n[![Open VSX Version](https://img.shields.io/open-vsx/v/danielpinto8zz6/c-cpp-compile-run)](https://open-vsx.org/extension/danielpinto8zz6/c-cpp-compile-run)\n[![Open VSX Downloads](https://img.shields.io/open-vsx/dt/danielpinto8zz6/c-cpp-compile-run)](https://open-vsx.org/extension/danielpinto8zz6/c-cpp-compile-run)\n[![Open VSX Rating](https://img.shields.io/open-vsx/rating/danielpinto8zz6/c-cpp-compile-run)](https://open-vsx.org/extension/danielpinto8zz6/c-cpp-compile-run/reviews)\n\nA Visual Studio Code extension to **compile, run, and debug** single C/C++ files easily.\n\n![Extension Screenshot](resources/extension.png)\n\n## Features\n\n- Compile, run, and debug C/C++ files directly from the command palette, status bar, or menu icons.\n- Quick access via keybindings: `F6`, `F7`, `F5`, and more.\n- Supports custom compiler paths, flags, and run arguments.\n- Option to run in an external terminal.\n\n## Requirements\n\n- **Linux:** Install `gcc` ([setup instructions](docs/COMPILER_SETUP.md#Linux))\n- **Windows:** Install `tdm-gcc` ([setup instructions](docs/COMPILER_SETUP.md#Windows))\n- **macOS:** Install `clang` or `gcc` ([setup instructions](docs/COMPILER_SETUP.md#MacOS))\n\n## Getting Started\n\n1. Open a `.c` or `.cpp` file in VS Code.\n2. Press **F6** to compile and run the file with default settings.\n3. Press **F7** to specify custom arguments before running.\n4. Press **F5** to debug (includes compilation).\n5. Use the status bar or menu icons for quick access.\n\n> **Tip:** You can configure compiler paths, flags, and other options in the extension settings. Enable \"Save Before Compile\" to automatically save files before building.\n\n## Configuration\n\n| Key                                         | Description                                                             |\n| ------------------------------------------- | ----------------------------------------------------------------------- |\n| c-cpp-compile-run.c-compiler                | The C compiler path (e.g. `/usr/bin/gcc` or `C:\\TDM-GCC-64\\bin\\gcc.exe`)|\n| c-cpp-compile-run.cpp-compiler              | The C++ compiler path (e.g. `/usr/bin/g++` or `C:\\TDM-GCC-64\\bin\\g++.exe`)|\n| c-cpp-compile-run.save-before-compile       | Save the file before compiling                                          |\n| c-cpp-compile-run.c-flags                   | C compiler flags (default: `-Wall -Wextra -g3`)                         |\n| c-cpp-compile-run.c-linker-flags            | C linker flags (e.g. `-lm`)                                             |\n| c-cpp-compile-run.cpp-flags                 | C++ compiler flags (default: `-Wall -Wextra -g3`)                       |\n| c-cpp-compile-run.cpp-linker-flags          | C++ linker flags (e.g. `-lm`)                                           |\n| c-cpp-compile-run.run-args                  | Program arguments when running                                          |\n| c-cpp-compile-run.run-in-external-terminal  | Run in an external terminal                                             |\n| c-cpp-compile-run.should-show-notifications | Show notifications                                                      |\n| c-cpp-compile-run.output-location           | Custom output location for the compiled file. Supports `${workspaceFolder}` and `${pwd}` variables. See [Output Folder Mirroring](#output-folder-mirroring) |\n| c-cpp-compile-run.mirror-output-location    | Mirror the source folder structure under the output directory (default: `false`). See [Output Folder Mirroring](#output-folder-mirroring) |\n| c-cpp-compile-run.custom-run-prefix         | Prefix command before run (e.g. `valgrind ./foobar`)                    |\n| c-cpp-compile-run.additional-include-paths | Additional directories to add to the compiler's include path (e.g. [\"${workspaceFolder}/include\"]) |\n| c-cpp-compile-run.debugger-mimode          | The MI debugger to use (`gdb` or `lldb`)                                |\n| c-cpp-compile-run.debugger-path            | Path to the debugger executable (e.g. `/usr/bin/gdb`)                   |\n| c-cpp-compile-run.trust-single-files       | Automatically trust single files opened without a workspace folder (default: `true`). When disabled, prompts for confirmation before compiling or running. |\n| c-cpp-compile-run.skip-if-compiled         | Skip compilation if the executable is already up-to-date (default: `true`). The check compares modification times of the source file, all header files (`.h`, `.hpp`, `.hxx`, `.hh`) found in the source directory and configured include paths, against the executable. Set to `false` to always recompile. |\n\n## Output Folder Mirroring\n\nThe `c-cpp-compile-run.output-location` setting controls where compiled executables are placed.\nBy default (`mirror-output-location: false`), a relative `output-location` is resolved **relative to the source file's directory**, so the output stays next to the source:\n\n```\nproj/\n├── AA/BB/CC/\n│   ├── a.cpp\n│   └── output/        ← output-location \"output\" goes here (next to the source)\n│       └── a.exe\n```\n\nSet in your `.vscode/settings.json`:\n\n```json\n{\n    \"c-cpp-compile-run.output-location\": \"output\"\n}\n```\n\nWhen you compile `proj/AA/BB/CC/a.cpp`, the executable is placed at `proj/AA/BB/CC/output/a.exe`.\n\n---\n\n### Enabling folder-structure mirroring\n\nSet `c-cpp-compile-run.mirror-output-location` to `true` to place all outputs under a **single root directory**, mirroring the folder structure of your sources:\n\n```json\n{\n    \"c-cpp-compile-run.output-location\": \"${workspaceFolder}/out\",\n    \"c-cpp-compile-run.mirror-output-location\": true\n}\n```\n\nWith the above settings and this project layout:\n\n```\nmyproj/\n├── src/\n│   ├── basics/\n│   │   └── HelloWorld.cpp\n│   └── functions/\n│       └── Math.cpp\n└── out/\n```\n\nCompiling `src/basics/HelloWorld.cpp` produces `out/basics/HelloWorld.exe`, and compiling `src/functions/Math.cpp` produces `out/functions/Math.exe`.\n\n- `${workspaceFolder}` is replaced with your project's root folder.\n- `${pwd}` is replaced with your current working directory.\n\n## Keybindings\n\n| Linux  | Windows | Mac   | Description                                                     |\n| ------ | ------- | ----- | --------------------------------------------------------------- |\n| F6     | F6      | Cmd+R | Compile and run the file                                        |\n| Ctrl+6 | Ctrl+6  | Cmd+6 | Compile and run the file                                        |\n| F8     | F8      | Cmd+Y | Compile and run the file in an external console                 |\n| F7     | F7      | Cmd+T | Compile and run the file with custom arguments and flags         |\n| F5     | F5      | Cmd+5 | Debug the file (includes compile)                               |\n\n## Release Notes\n\nSee the [CHANGELOG](CHANGELOG.md) for details."
  },
  {
    "path": "SECURITY.md",
    "content": "# Security Policy\n\n## Supported Versions\n\n| Version | Supported          |\n| ------- | ------------------ |\n| 1.0.x   | :white_check_mark: |\n\n## Reporting a Vulnerability\n\nTo report a vulnerability please raise an issue.\n"
  },
  {
    "path": "changelog-template.hbs",
    "content": "# Changelog\n\nAll notable changes to this project will be documented in this file.\n\n{{#each releases}}\n  {{#if href}}\n    ## [{{title}}]({{href}}){{#if tag}} - {{isoDate}}{{/if}}\n  {{else}}\n    ## {{title}}{{#if tag}} - {{isoDate}}{{/if}}\n  {{/if}}\n\n  {{#if summary}}\n    {{summary}}\n  {{/if}}\n\n  {{#if merges}}\n    ### Merged\n\n    {{#each merges}}\n      - {{{message}}} {{#if href}}[`#{{id}}`]({{href}}){{/if}}\n    {{/each}}\n  {{/if}}\n\n  {{#if fixes}}\n    ### Fixed\n\n    {{#each fixes}}\n      - {{{commit.subject}}}{{#each fixes}} {{#if href}}[`#{{id}}`]({{href}}){{/if}}{{/each}}\n    {{/each}}\n  {{/if}}\n\n  {{#commit-list commits heading='### Commits'}}\n    - {{#if breaking}}**Breaking change:** {{/if}}{{{subject}}} {{#if href}}[`{{shorthash}}`]({{href}}){{/if}}\n  {{/commit-list}}\n\n{{/each}}"
  },
  {
    "path": "docs/COMPILER_SETUP.md",
    "content": "# Compiler Setup Guide\n\n## Table of Contents\n1. [Windows](#windows)\n2. [Linux](#linux)\n3. [macOS](#macos)\n4. [WSL (Windows Subsystem for Linux)](#wsl)\n\n---\n\n### Windows\n\nTo compile and debug C/C++ code on Windows, install **TDM-GCC**:\n\n1. Download the installer from the [TDM-GCC website](https://jmeubank.github.io/tdm-gcc/download/).\n2. Run the installer.\n3. Select **Create a new install**.\n4. Choose your system **Architecture** (e.g., 64-bit), then proceed with the default options until installation is complete.\n5. Restart Visual Studio Code.\n\n---\n\n### Linux\n\nMost Linux distributions provide GCC and GDB via their package manager.\n\n1. **Check if GCC is installed:**\n   ```sh\n   gcc -v\n   ```\n2. **If not installed, update your package lists:**\n   ```sh\n   sudo apt-get update\n   ```\n3. **Install GCC, G++ and GDB:**\n   ```sh\n   sudo apt-get install build-essential gdb\n   ```\n\n---\n\n### macOS\n\nYou can use either **GCC** or **Clang** on macOS.\n\n#### Using GCC\n\n1. Install [Homebrew](https://brew.sh/) if you haven't already.\n2. In the Terminal, run:\n   ```sh\n   brew install gcc gdb\n   ```\n\n#### Using Clang\n\n1. **Check if Clang is installed:**\n   ```sh\n   clang --version\n   ```\n2. **If not installed, install Xcode Command Line Tools:**\n   ```sh\n   xcode-select --install\n   ```\n\n---\n\n### WSL (Windows Subsystem for Linux)\n\nYou can use GCC and GDB inside WSL for a Linux-like development environment on Windows.\n\n1. Open your WSL terminal (e.g., Ubuntu, Debian).\n2. **Update package lists:**\n   ```sh\n   sudo apt-get update\n   ```\n3. *(Optional)* Upgrade system packages:\n   ```sh\n   sudo apt-get dist-upgrade\n   ```\n4. **Install GCC, G++ and GDB:**\n   ```sh\n   sudo apt-get install build-essential gdb\n   ```\n\n---\n\n> **Tip:** After installing the compiler and debugger, restart VS Code to ensure the extension detects"
  },
  {
    "path": "eslint.config.mjs",
    "content": "import typescriptEslint from \"@typescript-eslint/eslint-plugin\";\nimport tsParser from \"@typescript-eslint/parser\";\n\nexport default [{\n    files: [\"**/*.ts\"],\n}, {\n    plugins: {\n        \"@typescript-eslint\": typescriptEslint,\n    },\n\n    languageOptions: {\n        parser: tsParser,\n        ecmaVersion: 2022,\n        sourceType: \"module\",\n    },\n\n    rules: {\n        \"@typescript-eslint/naming-convention\": [\"warn\", {\n            selector: \"import\",\n            format: [\"camelCase\", \"PascalCase\"],\n        }],\n\n        curly: \"warn\",\n        eqeqeq: \"warn\",\n        \"no-throw-literal\": \"warn\",\n        semi: \"warn\",\n    },\n}];"
  },
  {
    "path": "package.json",
    "content": "{\n    \"name\": \"c-cpp-compile-run\",\n    \"displayName\": \"C/C++ Compile Run\",\n    \"description\": \"Easily compile, run, and debug single C/C++ files in VS Code.\",\n    \"version\": \"1.0.92\",\n    \"publisher\": \"danielpinto8zz6\",\n    \"author\": {\n        \"name\": \"Daniel Pinto\",\n        \"email\": \"danielpinto@duck.com\",\n        \"url\": \"https://danielpinto8zz6.github.io\"\n    },\n    \"icon\": \"resources/logo.png\",\n    \"engines\": {\n        \"vscode\": \"^1.109.4\"\n    },\n    \"capabilities\": {\n        \"workspaceTrust\": {\n            \"request\": \"onDemand\",\n            \"description\": \"This extension requires workspace trust to compile and run code using terminal processes.\"\n        }\n    },\n    \"main\": \"./dist/extension.js\",\n    \"categories\": [\n        \"Programming Languages\",\n        \"Other\"\n    ],\n    \"keywords\": [\n        \"c\",\n        \"cpp\",\n        \"c++\",\n        \"compile\",\n        \"run\",\n        \"debug\",\n        \"build\",\n        \"gcc\",\n        \"g++\",\n        \"clang\"\n    ],\n    \"bugs\": {\n        \"url\": \"https://github.com/danielpinto8zz6/c-cpp-compile-run/issues\",\n        \"email\": \"danielpinto8zz6@gmail.com\"\n    },\n    \"license\": \"GPL-3.0\",\n    \"homepage\": \"https://github.com/danielpinto8zz6/c-cpp-compile-run/blob/master/README.md\",\n    \"repository\": {\n        \"type\": \"git\",\n        \"url\": \"https://github.com/danielpinto8zz6/c-cpp-compile-run.git\"\n    },\n    \"contributes\": {\n        \"languages\": [\n            {\n                \"id\": \"Log\",\n                \"mimetypes\": [\n                    \"text/x-code-output\"\n                ]\n            }\n        ],\n        \"grammars\": [\n            {\n                \"language\": \"Log\",\n                \"scopeName\": \"code.log\",\n                \"path\": \"./syntaxes/log.tmLanguage\"\n            }\n        ],\n        \"commands\": [\n            {\n                \"command\": \"extension.CompileRun\",\n                \"title\": \"C/C++: Compile & Run\",\n                \"icon\": \"$(play)\"\n            },\n            {\n                \"command\": \"extension.CompileRunInExternalTerminal\",\n                \"title\": \"C/C++: Compile & Run (External Terminal)\"\n            },\n            {\n                \"command\": \"extension.CustomCompileRun\",\n                \"title\": \"C/C++: Compile & Run (Custom)\"\n            },\n            {\n                \"command\": \"extension.Compile\",\n                \"title\": \"C/C++: Compile\"\n            },\n            {\n                \"command\": \"extension.Run\",\n                \"title\": \"C/C++: Run\"\n            },\n            {\n                \"command\": \"extension.Debug\",\n                \"title\": \"C/C++: Debug\",\n                \"icon\": \"$(bug)\"\n            },\n            {\n                \"command\": \"extension.CustomCompile\",\n                \"title\": \"C/C++: Compile (Custom)\"\n            },\n            {\n                \"command\": \"extension.CustomRun\",\n                \"title\": \"C/C++: Run (Custom)\"\n            }\n        ],\n        \"menus\": {\n            \"editor/title/run\": [\n                {\n                    \"command\": \"extension.CompileRun\",\n                    \"when\": \"editorLangId == c\",\n                    \"group\": \"navigation@0\"\n                },\n                {\n                    \"command\": \"extension.CompileRun\",\n                    \"when\": \"editorLangId == cpp\",\n                    \"group\": \"navigation@0\"\n                },\n                {\n                    \"command\": \"extension.CompileRun\",\n                    \"when\": \"editorLangId == cc\",\n                    \"group\": \"navigation@0\"\n                },\n                {\n                    \"command\": \"extension.Debug\",\n                    \"when\": \"editorLangId == c\",\n                    \"group\": \"navigation@1\"\n                },\n                {\n                    \"command\": \"extension.Debug\",\n                    \"when\": \"editorLangId == cpp\",\n                    \"group\": \"navigation@1\"\n                },\n                {\n                    \"command\": \"extension.Debug\",\n                    \"when\": \"editorLangId == cc\",\n                    \"group\": \"navigation@1\"\n                }\n            ],\n            \"commandPalette\": [\n                {\n                    \"command\": \"extension.CompileRun\",\n                    \"when\": \"editorLangId == c\"\n                },\n                {\n                    \"command\": \"extension.CompileRun\",\n                    \"when\": \"editorLangId == cpp\"\n                },\n                {\n                    \"command\": \"extension.CompileRun\",\n                    \"when\": \"editorLangId == cc\"\n                },\n                {\n                    \"command\": \"extension.CompileRunInExternalTerminal\",\n                    \"when\": \"editorLangId == c\"\n                },\n                {\n                    \"command\": \"extension.CompileRunInExternalTerminal\",\n                    \"when\": \"editorLangId == cpp\"\n                },\n                {\n                    \"command\": \"extension.CompileRunInExternalTerminal\",\n                    \"when\": \"editorLangId == cc\"\n                },\n                {\n                    \"command\": \"extension.CustomCompileRun\",\n                    \"when\": \"editorLangId == c\"\n                },\n                {\n                    \"command\": \"extension.CustomCompileRun\",\n                    \"when\": \"editorLangId == cpp\"\n                },\n                {\n                    \"command\": \"extension.CustomCompileRun\",\n                    \"when\": \"editorLangId == cc\"\n                },\n                {\n                    \"command\": \"extension.Compile\",\n                    \"when\": \"editorLangId == c\"\n                },\n                {\n                    \"command\": \"extension.Compile\",\n                    \"when\": \"editorLangId == cpp\"\n                },\n                {\n                    \"command\": \"extension.Compile\",\n                    \"when\": \"editorLangId == cc\"\n                },\n                {\n                    \"command\": \"extension.Run\",\n                    \"when\": \"editorLangId == c\"\n                },\n                {\n                    \"command\": \"extension.Run\",\n                    \"when\": \"editorLangId == cpp\"\n                },\n                {\n                    \"command\": \"extension.Run\",\n                    \"when\": \"editorLangId == cc\"\n                },\n                {\n                    \"command\": \"extension.CustomCompile\",\n                    \"when\": \"editorLangId == c\"\n                },\n                {\n                    \"command\": \"extension.CustomCompile\",\n                    \"when\": \"editorLangId == cpp\"\n                },\n                {\n                    \"command\": \"extension.CustomCompile\",\n                    \"when\": \"editorLangId == cc\"\n                },\n                {\n                    \"command\": \"extension.CustomRun\",\n                    \"when\": \"editorLangId == c\"\n                },\n                {\n                    \"command\": \"extension.CustomRun\",\n                    \"when\": \"editorLangId == cpp\"\n                },\n                {\n                    \"command\": \"extension.CustomRun\",\n                    \"when\": \"editorLangId == cc\"\n                }\n            ]\n        },\n        \"keybindings\": [\n            {\n                \"mac\": \"cmd+6\",\n                \"win\": \"ctrl+6\",\n                \"linux\": \"ctrl+6\",\n                \"key\": \"ctrl+6\",\n                \"command\": \"extension.CompileRun\",\n                \"when\": \"editorLangId == c || editorLangId == cpp || editorLangId == cc\"\n            },\n            {\n                \"mac\": \"f6\",\n                \"win\": \"f6\",\n                \"linux\": \"f6\",\n                \"key\": \"f6\",\n                \"command\": \"extension.CompileRun\",\n                \"when\": \"editorLangId == c || editorLangId == cpp || editorLangId == cc\"\n            },\n            {\n                \"mac\": \"f8\",\n                \"win\": \"f8\",\n                \"linux\": \"f8\",\n                \"key\": \"f8\",\n                \"command\": \"extension.CompileRunInExternalTerminal\",\n                \"when\": \"editorLangId == c || editorLangId == cpp || editorLangId == cc\"\n            },\n            {\n                \"mac\": \"f7\",\n                \"win\": \"f7\",\n                \"linux\": \"f7\",\n                \"key\": \"f7\",\n                \"command\": \"extension.CustomCompileRun\",\n                \"when\": \"editorLangId == c || editorLangId == cpp || editorLangId == cc\"\n            },\n            {\n                \"mac\": \"f5\",\n                \"win\": \"f5\",\n                \"linux\": \"f5\",\n                \"key\": \"f5\",\n                \"command\": \"extension.Debug\",\n                \"when\": \"editorLangId == c || editorLangId == cpp || editorLangId == cc\"\n            }\n        ],\n        \"configuration\": {\n            \"title\": \"C/C++ Compile Run Configuration\",\n            \"properties\": {\n                \"c-cpp-compile-run.c-compiler\": {\n                    \"type\": \"string\",\n                    \"default\": \"gcc\",\n                    \"description\": \"Path to the C compiler (e.g. /usr/bin/gcc or C:\\\\TDM-GCC-64\\\\bin\\\\gcc.exe)\",\n                    \"scope\": \"resource\"\n                },\n                \"c-cpp-compile-run.cpp-compiler\": {\n                    \"type\": \"string\",\n                    \"default\": \"g++\",\n                    \"description\": \"Path to the C++ compiler (e.g. /usr/bin/g++ or C:\\\\TDM-GCC-64\\\\bin\\\\g++.exe)\",\n                    \"scope\": \"resource\"\n                },\n                \"c-cpp-compile-run.save-before-compile\": {\n                    \"type\": \"boolean\",\n                    \"default\": true,\n                    \"description\": \"Save the file before compiling\",\n                    \"scope\": \"resource\"\n                },\n                \"c-cpp-compile-run.c-flags\": {\n                    \"type\": \"string\",\n                    \"description\": \"C compiler flags (default: -Wall -Wextra -g3)\",\n                    \"default\": \"-Wall -Wextra -g3\",\n                    \"scope\": \"resource\"\n                },\n                \"c-cpp-compile-run.c-linker-flags\": {\n                    \"type\": \"string\",\n                    \"description\": \"C linker flags (e.g. -lm)\",\n                    \"default\": \"\",\n                    \"scope\": \"resource\"\n                },\n                \"c-cpp-compile-run.cpp-flags\": {\n                    \"type\": \"string\",\n                    \"description\": \"C++ compiler flags (default: -Wall -Wextra -g3)\",\n                    \"default\": \"-Wall -Wextra -g3\",\n                    \"scope\": \"resource\"\n                },\n                \"c-cpp-compile-run.cpp-linker-flags\": {\n                    \"type\": \"string\",\n                    \"description\": \"C++ linker flags (e.g. -lm)\",\n                    \"default\": \"\",\n                    \"scope\": \"resource\"\n                },\n                \"c-cpp-compile-run.run-args\": {\n                    \"type\": \"string\",\n                    \"description\": \"Arguments to pass when running the program\",\n                    \"default\": \"\",\n                    \"scope\": \"resource\"\n                },\n                \"c-cpp-compile-run.run-in-external-terminal\": {\n                    \"type\": \"boolean\",\n                    \"default\": false,\n                    \"description\": \"Run the program in an external terminal\",\n                    \"scope\": \"resource\"\n                },\n                \"c-cpp-compile-run.should-show-notifications\": {\n                    \"type\": \"boolean\",\n                    \"default\": true,\n                    \"description\": \"Show notifications after compile/run actions\",\n                    \"scope\": \"resource\"\n                },\n                \"c-cpp-compile-run.output-location\": {\n                    \"type\": \"string\",\n                    \"description\": \"Output file location (relative path or directory)\",\n                    \"scope\": \"resource\",\n                    \"default\": \"output\"\n                },\n                \"c-cpp-compile-run.mirror-output-location\": {\n                    \"type\": \"boolean\",\n                    \"description\": \"Mirror the source folder structure under the output directory. When enabled, a file at src/foo/bar.cpp with output-location 'out' produces out/foo/bar.exe. When disabled (default), the output is placed directly in a folder relative to the source file (e.g. src/foo/out/bar.exe).\",\n                    \"scope\": \"resource\",\n                    \"default\": false\n                },\n                \"c-cpp-compile-run.custom-run-prefix\": {\n                    \"type\": \"string\",\n                    \"description\": \"Prefix command before run (e.g. valgrind ./foobar)\",\n                    \"scope\": \"resource\"\n                },\n                \"c-cpp-compile-run.additional-include-paths\": {\n                    \"type\": \"array\",\n                    \"description\": \"Additional directories to add to the compiler's include path (e.g. [\\\"${workspaceFolder}/include\\\", \\\"${workspaceFolder}/libs\\\"]).\",\n                    \"default\": [],\n                    \"items\": {\n                        \"type\": \"string\"\n                    },\n                    \"scope\": \"resource\"\n                },\n                \"c-cpp-compile-run.debugger-mimode\": {\n                    \"type\": \"string\",\n                    \"default\": \"gdb\",\n                    \"description\": \"The MI debugger to use (gdb or lldb)\",\n                    \"enum\": [\n                        \"gdb\",\n                        \"lldb\"\n                    ],\n                    \"scope\": \"resource\"\n                },\n                \"c-cpp-compile-run.debugger-path\": {\n                    \"type\": \"string\",\n                    \"default\": \"\",\n                    \"description\": \"Path to the debugger executable (e.g. /usr/bin/gdb)\",\n                    \"scope\": \"resource\"\n                },\n                \"c-cpp-compile-run.trust-single-files\": {\n                    \"type\": \"boolean\",\n                    \"default\": true,\n                    \"description\": \"Automatically trust single files opened without a workspace folder. When disabled, the extension will prompt for confirmation before compiling or running.\",\n                    \"scope\": \"application\"\n                },\n                \"c-cpp-compile-run.skip-if-compiled\": {\n                    \"type\": \"boolean\",\n                    \"default\": true,\n                    \"description\": \"Skip compilation if the executable is already up-to-date (no changes detected in source or header files). Disable this to always recompile.\",\n                    \"scope\": \"resource\"\n                }\n            }\n        }\n    },\n    \"scripts\": {\n        \"vscode:prepublish\": \"npm run package\",\n        \"compile\": \"webpack\",\n        \"watch\": \"webpack --watch\",\n        \"package\": \"webpack --mode production --devtool hidden-source-map\",\n        \"compile-tests\": \"tsc -p . --outDir out\",\n        \"watch-tests\": \"tsc -p . -w --outDir out\",\n        \"pretest\": \"npm run compile-tests && npm run compile && npm run lint\",\n        \"lint\": \"eslint src\",\n        \"test\": \"vscode-test\",\n        \"release\": \"release-it --disable-metrics --ci\"\n    },\n    \"devDependencies\": {\n        \"@types/fs-extra\": \"^11.0.4\",\n        \"@types/glob\": \"^9.0.0\",\n        \"@types/mocha\": \"^10.0.10\",\n        \"@types/node\": \"^25.3.0\",\n        \"@types/vscode\": \"^1.109.0\",\n        \"@typescript-eslint/eslint-plugin\": \"^8.56.0\",\n        \"@typescript-eslint/parser\": \"^8.56.0\",\n        \"@vscode/test-electron\": \"^2.5.2\",\n        \"@vscode/test-cli\": \"^0.0.12\",\n        \"eslint\": \"^10.0.0\",\n        \"git-cz\": \"^4.9.0\",\n        \"glob\": \"^13.0.6\",\n        \"gulp\": \"^5.0.1\",\n        \"mocha\": \"^11.7.5\",\n        \"release-it\": \"^19.2.4\",\n        \"ts-loader\": \"^9.5.4\",\n        \"typescript\": \"^5.9.3\",\n        \"webpack\": \"^5.105.2\",\n        \"webpack-cli\": \"^6.0.1\"\n    },\n    \"dependencies\": {\n        \"find-process\": \"^2.0.0\",\n        \"fs-extra\": \"^11.3.3\",\n        \"is-wsl\": \"^3.1.1\",\n        \"lookpath\": \"^1.2.3\"\n    },\n    \"config\": {\n        \"commitizen\": {\n            \"path\": \"./node_modules/git-cz\"\n        }\n    }\n}\n"
  },
  {
    "path": "release-notes-template.hbs",
    "content": "{{#each releases}}\n  {{#if href}}\n    ## [{{title}}]({{href}}){{#if tag}} - {{isoDate}}{{/if}}\n  {{else}}\n    ## {{title}}{{#if tag}} - {{isoDate}}{{/if}}\n  {{/if}}\n\n  {{#if summary}}\n    {{summary}}\n  {{/if}}\n\n  {{#if merges}}\n    ### Merged\n\n    {{#each merges}}\n      - {{{message}}} {{#if href}}[`#{{id}}`]({{href}}){{/if}}\n    {{/each}}\n  {{/if}}\n\n  {{#if fixes}}\n    ### Fixed\n\n    {{#each fixes}}\n      - {{{commit.subject}}}{{#each fixes}} {{#if href}}[`#{{id}}`]({{href}}){{/if}}{{/each}}\n    {{/each}}\n  {{/if}}\n\n  {{#commit-list commits heading='### Commits'}}\n    - {{#if breaking}}**Breaking change:** {{/if}}{{{subject}}} {{#if href}}[`{{shorthash}}`]({{href}}){{/if}}\n  {{/commit-list}}\n\n{{/each}}"
  },
  {
    "path": "src/compile-run-manager.ts",
    "content": "import { File } from \"./models/file\";\r\nimport { Compiler } from \"./compiler\";\r\nimport { Runner } from \"./runner\";\r\nimport { window } from \"vscode\";\r\nimport { Configuration } from \"./configuration\";\r\nimport { parseFile } from \"./utils/file-utils\";\r\nimport { Notification } from \"./notification\";\r\nimport { Debugger } from \"./debugger\";\r\n\r\nexport class CompileRunManager {\r\n    public async compile(shouldAskForInputFlags = false) {\r\n        const file = await this.getFile();\r\n        if (file === null) {\r\n            return;\r\n        }\r\n\r\n        const compiler = new Compiler(file, shouldAskForInputFlags);\r\n        await compiler.compile();\r\n    }\r\n\r\n    public async run(shouldAskForArgs = false, shouldRunInExternalTerminal = false) {\r\n        const file = await this.getFile();\r\n        if (file === null) {\r\n            return;\r\n        }\r\n\r\n        const runner = new Runner(file, shouldAskForArgs);\r\n        await runner.run(shouldRunInExternalTerminal);\r\n    }\r\n\r\n    public async debug() {\r\n        const file = await this.getFile();\r\n        if (file === null) {\r\n            return;\r\n        }\r\n\r\n        const compiler = new Compiler(file);\r\n\r\n        const dbg = new Debugger(file);\r\n\r\n        await compiler.compile(async () => await dbg.debug());\r\n    }\r\n\r\n    public async compileRun(shouldAskForInputFlags = false, shouldAskForArgs = false, shouldRunInExternalTerminal = false) {\r\n        const file = await this.getFile();\r\n        if (file === null) {\r\n            return;\r\n        }\r\n\r\n        const compiler = new Compiler(file, shouldAskForInputFlags);\r\n\r\n        const runner = new Runner(file, shouldAskForArgs);\r\n\r\n        await compiler.compile(async () => await runner.run(shouldRunInExternalTerminal));\r\n    }\r\n\r\n    public async getFile(): Promise<File> {\r\n        if (!window || !window.activeTextEditor || !window.activeTextEditor.document) {\r\n            Notification.showErrorMessage(\"Invalid document!\");\r\n\r\n            return null;\r\n        }\r\n\r\n        const doc = window.activeTextEditor?.document;\r\n        if (doc?.isUntitled && !Configuration.saveBeforeCompile()) {\r\n            Notification.showErrorMessage(\"Please save file first then try again!\");\r\n\r\n            return null;\r\n        }\r\n\r\n        return parseFile(doc);\r\n    }\r\n}\r\n"
  },
  {
    "path": "src/compiler.ts",
    "content": "import { ProcessExecution, ShellExecution, Task, tasks, TaskScope, window, workspace } from \"vscode\";\r\nimport { Configuration } from \"./configuration\";\r\nimport { FileType } from \"./enums/file-type\";\r\nimport { File } from \"./models/file\";\r\nimport { promptCompiler, promptFlags } from \"./utils/prompt-utils\";\r\nimport { commandExists, isProcessRunning, isWindows } from \"./utils/common-utils\";\r\nimport { Result } from \"./enums/result\";\r\nimport { isStringNullOrWhiteSpace, splitArgs } from \"./utils/string-utils\";\r\nimport { Notification } from \"./notification\";\r\nimport path = require(\"path\");\r\nimport { getOutputLocation } from \"./utils/file-utils\";\r\nimport { existsSync, readdirSync, statSync } from \"fs\";\r\nimport { ensureWorkspaceIsTrusted } from \"./utils/workspace-utils\";\r\nimport * as cp from \"child_process\";\r\nimport { currentShell } from \"./utils/shell-utils\";\r\nimport { ShellType } from \"./enums/shell-type\";\r\n\r\nconst HEADER_EXTENSIONS = new Set([\".h\", \".hpp\", \".hxx\", \".hh\"]);\r\nconst MAX_SCAN_DEPTH = 10;\r\n\r\n/**\r\n * Builds a task execution for compiling. On Windows with PowerShell or CMD shells,\r\n * wraps the compiler command with `chcp 65001` to force UTF-8 console encoding.\r\n * This prevents garbled non-ASCII characters (e.g. Chinese) in GCC diagnostic output\r\n * when the system's active code page is not UTF-8 (e.g. GBK on Chinese Windows).\r\n *\r\n * For PowerShell, ProcessExecution is used (spawning a dedicated powershell.exe\r\n * process) instead of ShellExecution because VS Code's onDidEndTaskProcess event\r\n * is not guaranteed to fire for ShellExecution tasks running in an integrated\r\n * terminal (per VS Code API documentation). Using ProcessExecution ensures the\r\n * event fires reliably when the spawned process exits.\r\n */\r\nfunction buildCompileTaskExecution(\r\n    compiler: string,\r\n    args: string[],\r\n    opts: { cwd: string; env?: { [key: string]: string } }\r\n): ProcessExecution | ShellExecution {\r\n    if (isWindows()) {\r\n        const shell = currentShell();\r\n        if (shell === ShellType.powerShell) {\r\n            // Single-quote each argument; escape embedded single quotes by doubling them\r\n            const psQuote = (arg: string): string => {\r\n                if (arg.includes(\" \")\r\n                    || arg.includes(\"\\\"\")\r\n                    || arg.includes(\"'\")\r\n                    || arg.includes(\"&\")\r\n                    || arg.includes(\"|\")\r\n                ) {\r\n                    return `'${arg.replace(/'/g, \"''\")}'`;\r\n                }\r\n                return arg;\r\n            };\r\n            const quotedCmd = [compiler, ...args].map(psQuote).join(\" \");\r\n            // Append `; exit $LASTEXITCODE` so the spawned powershell.exe process\r\n            // exits with the compiler's exit code, which onDidEndTaskProcess receives.\r\n            const cmdLine = `chcp 65001 | Out-Null; & ${quotedCmd}; exit $LASTEXITCODE`;\r\n            return new ProcessExecution(\r\n                \"powershell.exe\",\r\n                [\"-NoProfile\", \"-NonInteractive\", \"-Command\", cmdLine],\r\n                opts\r\n            );\r\n\r\n        } else if (shell === ShellType.cmd) {\r\n            // Double-quote each argument; escape embedded double quotes by doubling them\r\n            const quote = (s: string) => `\"${s.replace(/\"/g, '\"\"')}\"`;\r\n            const cmdLine = `chcp 65001 > nul 2>&1 && ${[compiler, ...args].map(quote).join(\" \")}`;\r\n            return new ShellExecution(cmdLine, opts);\r\n        }\r\n    }\r\n    // Non-Windows or other Windows shells (Git Bash, WSL): use ProcessExecution directly\r\n    return new ProcessExecution(compiler, args, opts);\r\n}\r\n\r\nfunction hasNewerFile(dirs: string[], exeMtimeMs: number, depth: number = 0): boolean {\r\n    if (depth > MAX_SCAN_DEPTH) { return false; }\r\n    for (const dir of dirs) {\r\n        if (!existsSync(dir)) { continue; }\r\n        try {\r\n            for (const entry of readdirSync(dir, { withFileTypes: true })) {\r\n                const fullPath = path.join(dir, entry.name);\r\n                if (entry.isDirectory()) {\r\n                    if (hasNewerFile([fullPath], exeMtimeMs, depth + 1)) { return true; }\r\n                } else if (HEADER_EXTENSIONS.has(path.extname(entry.name).toLowerCase())) {\r\n                    try {\r\n                        if (statSync(fullPath).mtimeMs > exeMtimeMs) { return true; }\r\n                    } catch { /* ignore */ }\r\n                }\r\n            }\r\n        } catch { /* ignore */ }\r\n    }\r\n    return false;\r\n}\r\n\r\nexport class Compiler {\r\n    private file: File;\r\n    private compiler?: string;\r\n    private inputFlags?: string;\r\n    private linkerFlags?: string;\r\n    private shouldAskForInputFlags: boolean;\r\n\r\n    constructor(file: File, shouldAskForInputFlags: boolean = false) {\r\n        this.file = file;\r\n        this.shouldAskForInputFlags = shouldAskForInputFlags;\r\n    }\r\n\r\n    async compile(runCallback: (() => Promise<void>) | null = null): Promise<void> {\r\n        if (!await ensureWorkspaceIsTrusted(\"compile\")) { return; }\r\n\r\n        if (this.setCompiler() === Result.error) { return; }\r\n\r\n        if (Configuration.saveBeforeCompile()) {\r\n            await window.activeTextEditor?.document.save();\r\n        }\r\n\r\n        if (await isProcessRunning(this.file.executable)) {\r\n            Notification.showErrorMessage(\r\n                `The program \"${this.file.executable}\" is already running. Please close it before compiling again.`\r\n            );\r\n            return;\r\n        }\r\n\r\n        if (!await this.isCompilerValid(this.compiler)) {\r\n            await this.compilerNotFound();\r\n            return;\r\n        }\r\n\r\n        if (this.shouldAskForInputFlags) {\r\n            const flags = await promptFlags(this.inputFlags);\r\n            if (!isStringNullOrWhiteSpace(flags)) {\r\n                this.inputFlags = flags;\r\n            }\r\n        }\r\n\r\n        const outputLocation = getOutputLocation(true, this.file.directory);\r\n        const outputPath = path.join(outputLocation, this.file.executable);\r\n\r\n        // --- Up-to-date check ---\r\n        if (Configuration.skipIfCompiled() && existsSync(outputPath)) {\r\n            try {\r\n                const exeStat = statSync(outputPath);\r\n                const srcStat = statSync(this.file.path);\r\n                const includeDirs = [\r\n                    this.file.directory,\r\n                    ...Configuration.additionalIncludePaths(),\r\n                    ...Configuration.includePathsFromCppProperties()\r\n                ];\r\n                if (exeStat.mtimeMs >= srcStat.mtimeMs && !hasNewerFile(includeDirs, exeStat.mtimeMs)) {\r\n                    Notification.showInformationMessage(\"Executable is up-to-date. Skipping compilation.\");\r\n                    if (runCallback) { await runCallback(); }\r\n                    return;\r\n                }\r\n            } catch (err) {\r\n                // If stat fails, fall through to compile\r\n            }\r\n        }\r\n\r\n        const includePaths = [\r\n            ...Configuration.additionalIncludePaths(),\r\n            ...Configuration.includePathsFromCppProperties()\r\n        ].filter(p => p.trim().length > 0);\r\n        const includeFlags = includePaths.flatMap(dir => [\"-I\", dir]);\r\n\r\n        let compilerArgs = [\r\n            ...splitArgs(this.inputFlags),\r\n            ...includeFlags,\r\n            this.file.path,\r\n            \"-o\",\r\n            outputPath,\r\n            ...splitArgs(this.linkerFlags)\r\n        ].filter(Boolean);\r\n\r\n        const execEnv: { [key: string]: string } | undefined = isWindows()\r\n            ? { LANG: \"C.UTF-8\", LC_ALL: \"C.UTF-8\" }\r\n            : undefined;\r\n\r\n        const hasWorkspace = workspace.workspaceFolders && workspace.workspaceFolders.length > 0;\r\n\r\n        if (hasWorkspace) {\r\n            // Use VS Code Task API when a workspace folder is open —\r\n            // provides $gcc problem matcher for clickable error links.\r\n            const taskExecution = buildCompileTaskExecution(\r\n                this.compiler!,\r\n                compilerArgs,\r\n                { cwd: this.file.directory, env: execEnv }\r\n            );\r\n\r\n            const task = new Task(\r\n                { type: \"process\" },\r\n                TaskScope.Workspace,\r\n                \"C/C++ Compile Run: Compile\",\r\n                \"C/C++ Compile Run\",\r\n                taskExecution,\r\n                [\"$gcc\"]\r\n            );\r\n\r\n            const executionPromise = tasks.executeTask(task);\r\n\r\n            const endListener = tasks.onDidEndTaskProcess(async e => {\r\n                const execution = await executionPromise;\r\n                if (e.execution === execution) {\r\n                    endListener.dispose();\r\n                    if (e.exitCode === 0) {\r\n                        Notification.showInformationMessage(\"Compilation successful.\");\r\n                        if (runCallback) { await runCallback(); }\r\n                    } else {\r\n                        Notification.showErrorMessage(\"Compilation failed. Please check the output for errors.\");\r\n                    }\r\n                }\r\n            });\r\n\r\n            await executionPromise;\r\n        } else {\r\n            // In single-file mode (no workspace folder), the VS Code Task API\r\n            // fails because it tries to resolve ${workspaceFolder} internally.\r\n            // Use child_process.spawn directly instead.\r\n            await new Promise<void>((resolve) => {\r\n                const proc = cp.spawn(this.compiler!, compilerArgs, {\r\n                    cwd: this.file.directory,\r\n                    env: { ...process.env, ...execEnv },\r\n                });\r\n\r\n                let stderr = \"\";\r\n                proc.stderr?.on(\"data\", (data) => { stderr += data.toString(); });\r\n                proc.stdout?.on(\"data\", (data) => { stderr += data.toString(); });\r\n\r\n                proc.on(\"close\", async (code) => {\r\n                    if (code === 0) {\r\n                        Notification.showInformationMessage(\"Compilation successful.\");\r\n                        if (runCallback) { await runCallback(); }\r\n                    } else {\r\n                        Notification.showErrorMessage(\r\n                            `Compilation failed (exit code ${code}).${stderr ? \"\\n\" + stderr.trim() : \" Please check the output for errors.\"}`\r\n                        );\r\n                    }\r\n                    resolve();\r\n                });\r\n\r\n                proc.on(\"error\", (err) => {\r\n                    Notification.showErrorMessage(`Failed to launch compiler: ${err.message}`);\r\n                    resolve();\r\n                });\r\n            });\r\n        }\r\n    }\r\n\r\n    setCompiler(): Result {\r\n        switch (this.file.type) {\r\n            case FileType.c:\r\n                this.compiler = Configuration.cCompiler();\r\n                this.inputFlags = Configuration.cFlags();\r\n                this.linkerFlags = Configuration.cLinkerFlags();\r\n                return Result.success;\r\n            case FileType.cplusplus:\r\n                this.compiler = Configuration.cppCompiler();\r\n                this.inputFlags = Configuration.cppFlags();\r\n                this.linkerFlags = Configuration.cppLinkerFlags();\r\n                return Result.success;\r\n            default:\r\n                Notification.showErrorMessage(\"Unsupported file type. Only C and C++ files are supported.\");\r\n                return Result.error;\r\n        }\r\n    }\r\n\r\n    async isCompilerValid(compiler?: string): Promise<boolean> {\r\n        return !isStringNullOrWhiteSpace(compiler) && await commandExists(compiler);\r\n    }\r\n\r\n    async compilerNotFound(): Promise<void> {\r\n        const CHANGE_PATH = \"Change compiler path\";\r\n        const choice = await window.showErrorMessage(\r\n            \"Compiler executable not found. Would you like to update the compiler path in settings?\",\r\n            CHANGE_PATH\r\n        );\r\n        if (choice === CHANGE_PATH) {\r\n            this.compiler = await promptCompiler();\r\n            if (await this.isCompilerValid(this.compiler)) {\r\n                await Configuration.setCompiler(this.compiler, this.file.type);\r\n            } else {\r\n                Notification.showErrorMessage(\"The specified compiler was not found. Please check the path and try again.\");\r\n            }\r\n        } else {\r\n            Notification.showErrorMessage(\"Compiler is not set. Compilation aborted.\");\r\n        }\r\n    }\r\n}\r\n\r\n\r\n\r\n"
  },
  {
    "path": "src/configuration.ts",
    "content": "import { workspace, ConfigurationTarget } from \"vscode\";\r\nimport { FileType } from \"./enums/file-type\";\r\nimport path = require(\"path\");\r\nimport fse = require(\"fs-extra\");\r\n\r\nexport class Configuration {\r\n    private static getSetting<T>(name: string): T | undefined {\r\n        return workspace.getConfiguration(\"c-cpp-compile-run\", null).get<T>(name);\r\n    }\r\n\r\n    private static getStringSetting(name: string): string {\r\n        return this.getSetting<string>(name)?.trim() ?? \"\";\r\n    }\r\n\r\n    static cCompiler(): string {\r\n        return this.getStringSetting(\"c-compiler\");\r\n    }\r\n\r\n    static cFlags(): string {\r\n        return this.getStringSetting(\"c-flags\");\r\n    }\r\n\r\n    static cLinkerFlags(): string {\r\n        return this.getStringSetting(\"c-linker-flags\");\r\n    }\r\n\r\n    static cppCompiler(): string {\r\n        return this.getStringSetting(\"cpp-compiler\");\r\n    }\r\n\r\n    static cppFlags(): string {\r\n        return this.getStringSetting(\"cpp-flags\");\r\n    }\r\n\r\n    static cppLinkerFlags(): string {\r\n        return this.getStringSetting(\"cpp-linker-flags\");\r\n    }\r\n\r\n    static saveBeforeCompile(): boolean {\r\n        return this.getSetting<boolean>(\"save-before-compile\") ?? true;\r\n    }\r\n\r\n    static runArgs(): string {\r\n        return this.getStringSetting(\"run-args\");\r\n    }\r\n\r\n    static runInExternalTerminal(): boolean {\r\n        return this.getSetting<boolean>(\"run-in-external-terminal\") ?? false;\r\n    }\r\n\r\n    static shouldShowNotifications(): boolean {\r\n        return this.getSetting<boolean>(\"should-show-notifications\") ?? true;\r\n    }\r\n\r\n    static outputLocation(): string {\r\n        return this.getStringSetting(\"output-location\");\r\n    }\r\n\r\n    static mirrorOutputLocation(): boolean {\r\n        return this.getSetting<boolean>(\"mirror-output-location\") ?? false;\r\n    }\r\n\r\n    static linuxTerminal(): string {\r\n        return workspace.getConfiguration().get<string>(\"terminal.external.linuxExec\") ?? \"\";\r\n    }\r\n\r\n    static osxTerminal(): string {\r\n        return workspace.getConfiguration().get<string>(\"terminal.external.osxExec\") ?? \"\";\r\n    }\r\n\r\n    static winTerminal(): string {\r\n        return workspace.getConfiguration().get<string>(\"terminal.external.windowsExec\") ?? \"\";\r\n    }\r\n\r\n    static customRunPrefix(): string {\r\n        return this.getStringSetting(\"custom-run-prefix\");\r\n    }\r\n\r\n    static debuggerMIMode(): string {\r\n        return this.getStringSetting(\"debugger-mimode\") || \"gdb\";\r\n    }\r\n\r\n    static debuggerPath(): string {\r\n        return this.getStringSetting(\"debugger-path\");\r\n    }\r\n\r\n    static skipIfCompiled(): boolean {\r\n        return this.getSetting<boolean>(\"skip-if-compiled\") ?? true;\r\n    }\r\n\r\n    static trustSingleFiles(): boolean {\r\n        return this.getSetting<boolean>(\"trust-single-files\") ?? true;\r\n    }\r\n\r\n    static async setCompiler(compiler: string, type: FileType): Promise<void> {\r\n        const key = type === FileType.c ? \"c-compiler\" : \"cpp-compiler\";\r\n        await workspace.getConfiguration(\"c-cpp-compile-run\", null).update(key, compiler, ConfigurationTarget.Global);\r\n    }\r\n\r\n    static additionalIncludePaths(): string[] {\r\n        const workspaceFolder = workspace.workspaceFolders?.[0]?.uri.fsPath ?? process.cwd();\r\n        const paths = workspace.getConfiguration(\"c-cpp-compile-run\", null).get<string[]>(\"additional-include-paths\") ?? [];\r\n        // Expand variables like ${workspaceFolder}\r\n        return paths.map(p =>\r\n            p.replace(\"${workspaceFolder}\", workspaceFolder)\r\n             .replace(\"${pwd}\", process.cwd())\r\n        );\r\n    }\r\n\r\n    static includePathsFromCppProperties(): string[] {\r\n        const workspaceFolder = workspace.workspaceFolders?.[0]?.uri.fsPath ?? process.cwd();\r\n        const cppPropsPath = path.join(workspaceFolder, \".vscode\", \"c_cpp_properties.json\");\r\n        if (!fse.existsSync(cppPropsPath)) {return [];}\r\n        try {\r\n            const json = fse.readJsonSync(cppPropsPath);\r\n            const configs = json.configurations ?? [];\r\n            // Use the first configuration or match by name if desired\r\n            const config = configs[0];\r\n            return (config?.includePath ?? [])\r\n                .map((p: string) =>\r\n                    p.replace(\"${workspaceFolder}\", workspaceFolder)\r\n                     .replace(\"${workspaceRoot}\", workspaceFolder)\r\n                )\r\n                // Filter out glob patterns (e.g. \"/**\", \"/**/*\") that are valid for\r\n                // IntelliSense but would be shell-expanded when passed as -I flags,\r\n                // causing the compiler to receive all files in the folder as source files.\r\n                .filter((p: string) => !p.includes(\"*\") && !p.includes(\"?\"));\r\n        } catch {\r\n            return [];\r\n        }\r\n    }\r\n}"
  },
  {
    "path": "src/debugger.ts",
    "content": "import { existsSync } from \"fs\";\r\nimport { File } from \"./models/file\";\r\nimport { Notification } from \"./notification\";\r\nimport path = require(\"path\");\r\nimport { debug, DebugConfiguration, Uri, workspace, extensions, window, commands } from \"vscode\";\r\nimport { getOutputLocation } from \"./utils/file-utils\";\r\nimport { Configuration } from \"./configuration\";\r\nimport { ensureWorkspaceIsTrusted } from \"./utils/workspace-utils\";\r\n\r\nconst CPPTOLS_EXTENSION_ID = \"ms-vscode.cpptools\";\r\nconst CPPDEBUG_EXTENSION_ID = \"kylinideteam.cppdebug\";\r\n\r\nexport class Debugger {\r\n    private file: File;\r\n\r\n    constructor(file: File) {\r\n        this.file = file;\r\n    }\r\n\r\n    async debug(): Promise<void> {\r\n        if (!await ensureWorkspaceIsTrusted(\"debug\")) { return; }\r\n\r\n        if (!existsSync(this.file.path)) {\r\n            Notification.showErrorMessage(`Source file \"${this.file.path}\" does not exist.`);\r\n            return;\r\n        }\r\n\r\n        const outputLocation = getOutputLocation(false, this.file.directory);\r\n        const executablePath = path.join(outputLocation, this.file.executable);\r\n\r\n        if (!existsSync(executablePath)) {\r\n            Notification.showErrorMessage(`Executable \"${executablePath}\" not found. Please compile before debugging.`);\r\n            return;\r\n        }\r\n\r\n        // Check if a compatible cppdbg extension is installed\r\n        if (!extensions.getExtension(CPPTOLS_EXTENSION_ID) &&\r\n            !extensions.getExtension(CPPDEBUG_EXTENSION_ID)) {\r\n            const installMicrosoft = `Install Microsoft C/C++ (${CPPTOLS_EXTENSION_ID})`;\r\n            const installKylin = `Install KylinIDE C/C++ Debug (${CPPDEBUG_EXTENSION_ID})`;\r\n            const choice = await window.showErrorMessage(\r\n                `No compatible C/C++ debugger extension is installed. Install Microsoft's C/C++ extension (${CPPTOLS_EXTENSION_ID}) or KylinIDE C/C++ Debug (${CPPDEBUG_EXTENSION_ID}).`,\r\n                installMicrosoft,\r\n                installKylin\r\n            );\r\n            if (choice === installMicrosoft) {\r\n                await commands.executeCommand(\"workbench.extensions.installExtension\", CPPTOLS_EXTENSION_ID);\r\n            } else if (choice === installKylin) {\r\n                await commands.executeCommand(\"workbench.extensions.installExtension\", CPPDEBUG_EXTENSION_ID);\r\n            }\r\n            return;\r\n        }\r\n\r\n        const debugConfiguration: DebugConfiguration = {\r\n            name: \"C/C++ Compile Run: Debug\",\r\n            type: \"cppdbg\",\r\n            request: \"launch\",\r\n            stopAtEntry: false,\r\n            cwd: this.file.directory,\r\n            externalConsole: Configuration.runInExternalTerminal(),\r\n            MIMode: Configuration.debuggerMIMode(),\r\n            program: executablePath\r\n        };\r\n\r\n        const debuggerPath = Configuration.debuggerPath();\r\n        if (debuggerPath) {\r\n            debugConfiguration.miDebuggerPath = debuggerPath;\r\n        } else if (debugConfiguration.MIMode === \"gdb\") {\r\n            debugConfiguration.miDebuggerPath = \"gdb\";\r\n        }\r\n\r\n        const workspaceFolder = workspace.getWorkspaceFolder(Uri.file(this.file.directory));\r\n\r\n        const started = await debug.startDebugging(workspaceFolder, debugConfiguration);\r\n        if (!started) {\r\n            Notification.showErrorMessage(\"Failed to start debugging session.\");\r\n        }\r\n    }\r\n}"
  },
  {
    "path": "src/enums/file-type.ts",
    "content": "export enum FileType {\n    unknown = 0,\n    c = 1,\n    cplusplus = 2\n}\n"
  },
  {
    "path": "src/enums/result.ts",
    "content": "export enum Result {\n    error = 0,\n    success = 1\n}\n"
  },
  {
    "path": "src/enums/shell-type.ts",
    "content": "export enum ShellType {\r\n    cmd = \"Command Prompt\",\r\n    powerShell = \"PowerShell\",\r\n    gitBash = \"Git Bash\",\r\n    wsl = \"WSL Bash\",\r\n    others = \"Others\"\r\n}\r\n"
  },
  {
    "path": "src/extension.ts",
    "content": "import { commands, ExtensionContext, Terminal, window } from \"vscode\";\r\nimport { CompileRunManager } from \"./compile-run-manager\";\r\nimport { Configuration } from \"./configuration\";\r\nimport { FileType } from \"./enums/file-type\";\r\nimport { StatusBar } from \"./status-bar\";\r\nimport { terminal } from \"./terminal\";\r\nimport { getFileType } from \"./utils/file-type-utils\";\r\n\r\nfunction initializeExtension(context: ExtensionContext) {\r\n    const compileRunManager = new CompileRunManager();\r\n\r\n    // Helper to register and push commands\r\n    function register(cmd: string, handler: () => Promise<void>) {\r\n        context.subscriptions.push(commands.registerCommand(cmd, handler));\r\n    }\r\n\r\n    register(\"extension.Compile\", () => compileRunManager.compile());\r\n    register(\"extension.Run\", () => compileRunManager.run(false, Configuration.runInExternalTerminal()));\r\n    register(\"extension.Debug\", () => compileRunManager.debug());\r\n    register(\"extension.CompileRun\", () => compileRunManager.compileRun(false, false, Configuration.runInExternalTerminal()));\r\n    register(\"extension.CustomCompile\", () => compileRunManager.compile(true));\r\n    register(\"extension.CustomRun\", () => compileRunManager.run(true, Configuration.runInExternalTerminal()));\r\n    register(\"extension.CustomCompileRun\", () => compileRunManager.compileRun(true, true, Configuration.runInExternalTerminal()));\r\n    register(\"extension.CompileRunInExternalTerminal\", () => compileRunManager.compileRun(false, false, true));\r\n\r\n    // Dispose terminal resources when closed\r\n    context.subscriptions.push(\r\n        window.onDidCloseTerminal((closedTerminal: Terminal) => {\r\n            terminal.dispose(closedTerminal.name);\r\n        })\r\n    );\r\n\r\n    // Status bar management\r\n    const statusBar = new StatusBar(context);\r\n    statusBar.showAll();\r\n\r\n    context.subscriptions.push(\r\n        window.onDidChangeActiveTextEditor(() => {\r\n            const activeFileType = getFileType(window.activeTextEditor?.document?.languageId);\r\n            if (activeFileType === FileType.c || activeFileType === FileType.cplusplus) {\r\n                statusBar.showAll();\r\n            } else {\r\n                statusBar.hideAll();\r\n            }\r\n        })\r\n    );\r\n}\r\n\r\nexport function activate(context: ExtensionContext) {\r\n    // Always register commands so users can trigger compile/run actions.\r\n    // Trust checks are handled per-action in ensureWorkspaceIsTrusted,\r\n    // which will prompt the user to grant trust when needed.\r\n    initializeExtension(context);\r\n}\r\n\r\nexport function deactivate() {}"
  },
  {
    "path": "src/external-terminal.ts",
    "content": "import { exec } from \"child_process\";\r\nimport { lookpath } from \"lookpath\";\r\nimport { Configuration } from \"./configuration\";\r\nimport { ShellType } from \"./enums/shell-type\";\r\nimport { Notification } from \"./notification\";\r\nimport { getPath } from \"./utils/shell-utils\";\r\nimport { escapeStringAppleScript, isStringNullOrWhiteSpace } from \"./utils/string-utils\";\r\n\r\nclass ExternalTerminal {\r\n    public async runInExternalTerminal(command: string, cwd: string, shell: ShellType) {\r\n        const parsedOutputLocation = await getPath(cwd, shell);\r\n\r\n        const externalCommand = await this.getExternalCommand(command, parsedOutputLocation, shell);\r\n        if (isStringNullOrWhiteSpace(externalCommand)) {\r\n            return;\r\n        }\r\n\r\n        const child = exec(externalCommand, { cwd: cwd });\r\n        child.on(\"error\", (err) => {\r\n            Notification.showErrorMessage(`Failed to launch external terminal: ${err.message}`);\r\n        });\r\n    }\r\n\r\n    private async getExternalCommand(runCommand: string, outputLocation: string, shell: ShellType): Promise<string> {\r\n        switch (process.platform) {\r\n            case \"win32\":\r\n                switch (shell) {\r\n                    case ShellType.powerShell:\r\n                        const winTerminal: string = Configuration.winTerminal();\r\n                        return `start ${winTerminal} -Command \"cd ${outputLocation};${runCommand};Write-Host;Write-Host -NoNewLine 'Press any key to continue...';$Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown');\"`;\r\n                    default:\r\n                        return `start cmd /c \"cd ${outputLocation} & ${runCommand} & echo. & pause\"`;\r\n                }\r\n\r\n            case \"darwin\":\r\n                const osxTerminal: string = Configuration.osxTerminal();\r\n                switch (osxTerminal) {\r\n                    case \"iTerm.app\":\r\n                        return \"osascript -e 'tell application \\\"iTerm\\\"' \"\r\n                            + \"-e 'set newWindow to (create window with default profile)' \"\r\n                            + \"-e 'tell current session of newWindow' \"\r\n                            + `-e 'write text \"cd ${escapeStringAppleScript(outputLocation)}\"' `\r\n                            + `-e 'write text \"${escapeStringAppleScript(runCommand)}\"' `\r\n                            + \"-e 'end tell' \"\r\n                            + \"-e 'end tell' \";\r\n                    default:\r\n                        return `osascript -e 'do shell script \"open -a Terminal \" & \"${escapeStringAppleScript(outputLocation)}\"' -e 'delay 0.3' -e `\r\n                            + `'tell application \"Terminal\" to do script (\"${escapeStringAppleScript(runCommand)}\") in first window'`;\r\n                }\r\n\r\n            case \"linux\":\r\n                const linuxTerminal: string = Configuration.linuxTerminal();\r\n\r\n                if (isStringNullOrWhiteSpace(linuxTerminal)\r\n                    || isStringNullOrWhiteSpace(await lookpath(linuxTerminal))) {\r\n                    Notification.showErrorMessage(`${linuxTerminal} not found! Try to enter a valid terminal in 'terminal.external.linuxExec' `\r\n                        + \"settings!(gnome - terminal, xterm, konsole)\");\r\n\r\n                    return null;\r\n                }\r\n\r\n                switch (linuxTerminal) {\r\n                    case \"xterm\":\r\n                        return `${linuxTerminal} -T 'C/C++ Compile Run' -e '${runCommand}; echo; read -n1 -p \\\"Press any key to continue...\\\"'`;\r\n                    case \"gnome-terminal\":\r\n                    case \"tilix\":\r\n                    case \"mate-terminal\":\r\n                        return `${linuxTerminal} -t 'C/C++ Compile Run' -x bash -c '${runCommand}; echo; read -n1 -p \\\"Press any key to continue...\\\"'`;\r\n                    case \"xfce4-terminal\":\r\n                        return `${linuxTerminal} --title 'C/C++ Compile Run' -x bash -c '${runCommand}; echo; read -n1 -p \\\"Press any key to continue...\\\"'`;\r\n                    case \"ptyxis\":\r\n                        return `${linuxTerminal} -T 'C/C++ Compile Run' -- bash -c '${runCommand}; echo; read -n1 -p \\\"Press any key to continue...\\\"'`;\r\n                    case \"konsole\":\r\n                        return `${linuxTerminal} -p tabtitle='C/C++ Compile Run' --noclose -e bash -c '${runCommand}; echo;'`;\r\n                    case \"io.elementary.terminal\":\r\n                        return `${linuxTerminal} -n -w '${outputLocation}' -x '${runCommand}'`;\r\n                    default:\r\n                        Notification.showErrorMessage(`${linuxTerminal} isn't supported! Try to enter a supported terminal in `\r\n                            + \"'terminal.external.linuxExec' settings! (gnome-terminal, xterm, konsole)\");\r\n\r\n                        return null;\r\n                }\r\n            default:\r\n                Notification.showErrorMessage(\"Unsupported platform!\");\r\n\r\n                return null;\r\n        }\r\n    }\r\n}\r\n\r\nexport const externalTerminal: ExternalTerminal = new ExternalTerminal();\r\n\r\n"
  },
  {
    "path": "src/models/file.ts",
    "content": "import { FileType } from \"../enums/file-type\";\n\nexport interface File {\n    path: string;\n    name: string;\n    title: string;\n    directory: string;\n    type: FileType;\n    executable: string;\n}\n"
  },
  {
    "path": "src/notification.ts",
    "content": "import { window } from \"vscode\";\nimport { Configuration } from \"./configuration\";\nimport { isStringNullOrWhiteSpace } from \"./utils/string-utils\";\n\nexport class Notification {\n    private static shouldNotify(message: string): boolean {\n        return Configuration.shouldShowNotifications() && !isStringNullOrWhiteSpace(message);\n    }\n\n    static showErrorMessage(message: string): void {\n        if (this.shouldNotify(message)) {\n            window.showErrorMessage(message);\n        }\n    }\n\n    static showInformationMessage(message: string): void {\n        if (this.shouldNotify(message)) {\n            window.showInformationMessage(message);\n        }\n    }\n\n    static showWarningMessage(message: string): void {\n        if (this.shouldNotify(message)) {\n            window.showWarningMessage(message);\n        }\n    }\n}"
  },
  {
    "path": "src/output-channel.ts",
    "content": "import * as vscode from \"vscode\";\r\n\r\nclass OutputChannel implements vscode.Disposable {\r\n    private readonly channel: vscode.OutputChannel = vscode.window.createOutputChannel(\"C/C++ Compile Run\");\r\n\r\n    public appendLine(message: string, title?: string): void {\r\n        if (title) {\r\n            const timestamp = new Date().toLocaleString();\r\n            const header = `[${title} - ${timestamp}]`;\r\n            this.channel.appendLine(header);\r\n        }\r\n        this.channel.appendLine(message);\r\n    }\r\n\r\n    public dispose(): void {\r\n        this.channel.dispose();\r\n    }\r\n}\r\n\r\nexport const outputChannel = new OutputChannel();"
  },
  {
    "path": "src/runner.ts",
    "content": "import { existsSync } from \"fs\";\r\nimport { Configuration } from \"./configuration\";\r\nimport { ShellType } from \"./enums/shell-type\";\r\nimport { File } from \"./models/file\";\r\nimport { Notification } from \"./notification\";\r\nimport { terminal } from \"./terminal\";\r\nimport { promptRunArguments } from \"./utils/prompt-utils\";\r\nimport { currentShell, getPath, getRunPrefix, parseShell } from \"./utils/shell-utils\";\r\nimport { basename } from \"path\";\r\nimport { externalTerminal } from \"./external-terminal\";\r\nimport { getOutputLocation } from \"./utils/file-utils\";\r\nimport isWsl from \"is-wsl\";\r\nimport { ensureWorkspaceIsTrusted } from \"./utils/workspace-utils\";\r\n\r\nexport class Runner {\r\n    private file: File;\r\n    private shouldAskForArgs: boolean;\r\n\r\n    constructor(file: File, shouldAskForArgs = false) {\r\n        this.file = file;\r\n        this.shouldAskForArgs = shouldAskForArgs;\r\n    }\r\n\r\n    async run(shouldRunInExternalTerminal = false): Promise<void> {\r\n        if (!await ensureWorkspaceIsTrusted(\"run\")) { return; }\r\n\r\n        if (!existsSync(this.file.path)) {\r\n            Notification.showErrorMessage(`Source file \"${this.file.path}\" does not exist.`);\r\n            return;\r\n        }\r\n\r\n        let args = Configuration.runArgs();\r\n        if (this.shouldAskForArgs) {\r\n            args = await promptRunArguments(args);\r\n        }\r\n\r\n        const outputLocation = getOutputLocation(false, this.file.directory);\r\n        const customPrefix = Configuration.customRunPrefix();\r\n        const shell = this.getShell(shouldRunInExternalTerminal);\r\n        const parsedExecutable = await getPath(this.file.executable, shell);\r\n        const runCommand = this.getRunCommand(parsedExecutable, args, customPrefix, shell);\r\n\r\n        if (shouldRunInExternalTerminal && isWsl) {\r\n            Notification.showWarningMessage(\"WSL detected. Running in VS Code integrated terminal instead of an external terminal.\");\r\n            shouldRunInExternalTerminal = false;\r\n        }\r\n\r\n        if (shouldRunInExternalTerminal) {\r\n            await externalTerminal.runInExternalTerminal(runCommand, outputLocation, shell);\r\n        } else {\r\n            await terminal.runInTerminal(runCommand, { name: \"C/C++ Compile Run\", cwd: outputLocation });\r\n        }\r\n    }\r\n\r\n    getRunCommand(executable: string, args: string, customPrefix: string, shell: ShellType) {\r\n        const prefix = getRunPrefix(shell);\r\n\r\n        if (customPrefix) {\r\n            return [customPrefix, \" \", prefix, executable, \" \", args].join(\"\").trim();\r\n        }\r\n\r\n        return [prefix, executable, \" \", args].join(\"\").trim();\r\n    }\r\n\r\n    getShell(runInExternalTerminal: boolean): ShellType {\r\n        if (runInExternalTerminal) {\r\n            if (process.platform === \"win32\") {\r\n                    const terminal = basename(Configuration.winTerminal());\r\n                    const shell = parseShell(terminal);\r\n                    return shell === ShellType.powerShell ? ShellType.powerShell : ShellType.cmd;\r\n            }\r\n            return ShellType.others;\r\n        }\r\n        return currentShell();\r\n    }\r\n}"
  },
  {
    "path": "src/status-bar.ts",
    "content": "import { ExtensionContext, StatusBarAlignment, StatusBarItem, window } from \"vscode\";\r\n\r\nexport class StatusBar {\r\n    private statusBarItems: StatusBarItem[];\r\n\r\n    constructor(context: ExtensionContext) {\r\n        this.statusBarItems = [\r\n            this.createStatusBarItem(\"$(play) Compile & Run\", \"extension.CompileRun\", 0),\r\n            this.createStatusBarItem(\"$(gear) Compile\", \"extension.Compile\", 1),\r\n            this.createStatusBarItem(\"$(bug) Debug\", \"extension.Debug\", 2)\r\n        ];\r\n        this.statusBarItems.forEach(item => context.subscriptions.push(item));\r\n    }\r\n\r\n    private createStatusBarItem(text: string, command: string, priority: number): StatusBarItem {\r\n        const item = window.createStatusBarItem(StatusBarAlignment.Left, priority);\r\n        item.text = text;\r\n        item.command = command;\r\n        return item;\r\n    }\r\n\r\n    public showAll(): void {\r\n        this.statusBarItems.forEach(item => item.show());\r\n    }\r\n\r\n    public hideAll(): void {\r\n        this.statusBarItems.forEach(item => item.hide());\r\n    }\r\n}"
  },
  {
    "path": "src/terminal.ts",
    "content": "// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT license.\r\n\r\nimport * as vscode from \"vscode\";\r\nimport { ShellType } from \"./enums/shell-type\";\r\nimport { currentShell, getCDCommand, getCommand } from \"./utils/shell-utils\";\r\n\r\nexport interface ITerminalOptions {\r\n    addNewLine?: boolean;\r\n    name: string;\r\n    cwd?: string;\r\n    env?: { [key: string]: string };\r\n    workspaceFolder?: vscode.WorkspaceFolder;\r\n}\r\n\r\nclass Terminal implements vscode.Disposable {\r\n    private readonly terminals: { [id: string]: vscode.Terminal } = {};\r\n\r\n    public async runInTerminal(command: string, options: ITerminalOptions): Promise<vscode.Terminal> {\r\n        const defaultOptions: ITerminalOptions = { addNewLine: true, name: \"C/C++ Compile Run\" };\r\n        const { addNewLine, name, cwd, workspaceFolder } = Object.assign(defaultOptions, options);\r\n        const shell : ShellType = currentShell();\r\n\r\n        if (this.terminals[name] === undefined) {\r\n            // Open terminal in workspaceFolder if provided\r\n            // See: https://github.com/microsoft/vscode-maven/issues/467#issuecomment-584544090\r\n            const terminalCwd: vscode.Uri | undefined = workspaceFolder ? workspaceFolder.uri : undefined;\r\n            const env: { [envKey: string]: string } = { ...options.env };\r\n            this.terminals[name] = vscode.window.createTerminal({ name, env, cwd: terminalCwd });\r\n            // Workaround for WSL custom envs.\r\n            // See: https://github.com/Microsoft/vscode/issues/71267\r\n            if (shell === ShellType.wsl) {\r\n                setupEnvForWSL(this.terminals[name], env);\r\n            }\r\n        }\r\n        this.terminals[name].show();\r\n        if (cwd) {\r\n            this.terminals[name].sendText(await getCDCommand(cwd, shell), true);\r\n        }\r\n        this.terminals[name].sendText(getCommand(command, shell), addNewLine);\r\n        return this.terminals[name];\r\n    }\r\n\r\n    public dispose(terminalName?: string): void {\r\n        if (terminalName === undefined) {// If the name is not passed, dispose all.\r\n            Object.keys(this.terminals).forEach((id: string) => {\r\n                this.terminals[id].dispose();\r\n                delete this.terminals[id];\r\n            });\r\n        } else if (this.terminals[terminalName] !== undefined) {\r\n            this.terminals[terminalName].dispose();\r\n            delete this.terminals[terminalName];\r\n        }\r\n    }\r\n}\r\n\r\nexport const terminal: Terminal = new Terminal();\r\n\r\nfunction setupEnvForWSL(term: vscode.Terminal, env: { [envKey: string]: string }): void {\r\n    if (term !== undefined) {\r\n        Object.keys(env).forEach(key => {\r\n            term.sendText(`export ${key}=\"${env[key]}\"`, true);\r\n        });\r\n    }\r\n}\r\n"
  },
  {
    "path": "src/test/common-utils.test.ts",
    "content": "import * as assert from \"assert\";\nimport { isWindows } from \"../utils/common-utils\";\n\nsuite(\"Common Utils Test Suite\", () => {\n    test(\"isWindows should return a boolean\", () => {\n        const result = isWindows();\n        assert.strictEqual(typeof result, \"boolean\");\n        // Verify it matches the actual platform\n        assert.strictEqual(result, process.platform === \"win32\");\n    });\n});"
  },
  {
    "path": "src/test/extension.test.ts",
    "content": "import * as assert from \"assert\";\r\n\r\n// You can import and use all API from the 'vscode' module\r\n// as well as import your extension to test it\r\nimport * as vscode from \"vscode\";\r\nimport { parseFile } from \"../utils/file-utils\";\r\nimport { FileType } from \"../enums/file-type\";\r\n\r\nsuite(\"Extension Test Suite\", () => {\r\n\tvscode.window.showInformationMessage(\"Start all tests.\");\r\n\r\n\ttest(\"parseFile should correctly map TextDocument to File model\", () => {\r\n\t\t// Mocking a VS Code TextDocument\r\n\t\tconst mockDoc = {\r\n\t\t\tfileName: process.platform === \"win32\" ? \"C:\\\\project\\\\main.cpp\" : \"/project/main.cpp\",\r\n\t\t\tlanguageId: \"cpp\"\r\n\t\t} as vscode.TextDocument;\r\n\r\n\t\tconst file = parseFile(mockDoc);\r\n\r\n\t\tassert.strictEqual(file.name, \"main.cpp\");\r\n\t\tassert.strictEqual(file.title, \"main\");\r\n\t\tassert.strictEqual(file.type, FileType.cplusplus);\r\n\t\t\r\n\t\tif (process.platform === \"win32\") {\r\n\t\t\tassert.strictEqual(file.executable, \"main.exe\");\r\n\t\t} else {\r\n\t\t\tassert.strictEqual(file.executable, \"main\");\r\n\t\t}\r\n\t});\r\n});\r\n"
  },
  {
    "path": "src/test/file-type-utils.test.ts",
    "content": "import * as assert from \"assert\";\nimport { getFileType } from \"../utils/file-type-utils\";\nimport { FileType } from \"../enums/file-type\";\n\nsuite(\"File Type Utils Test Suite\", () => {\n    test(\"Should identify C files\", () => {\n        assert.strictEqual(getFileType(\"c\"), FileType.c);\n        assert.strictEqual(getFileType(\"C\"), FileType.c);\n        assert.strictEqual(getFileType(\"h\"), FileType.c);\n        assert.strictEqual(getFileType(\"objective-c\"), FileType.c);\n    });\n\n    test(\"Should identify C++ files\", () => {\n        assert.strictEqual(getFileType(\"cpp\"), FileType.cplusplus);\n        assert.strictEqual(getFileType(\"hpp\"), FileType.cplusplus);\n        assert.strictEqual(getFileType(\"cc\"), FileType.cplusplus);\n        assert.strictEqual(getFileType(\"cxx\"), FileType.cplusplus);\n        assert.strictEqual(getFileType(\"objective-cpp\"), FileType.cplusplus);\n    });\n\n    test(\"Should return unknown for other types\", () => {\n        assert.strictEqual(getFileType(\"java\"), FileType.unknown);\n        assert.strictEqual(getFileType(\"txt\"), FileType.unknown);\n        assert.strictEqual(getFileType(\"\"), FileType.unknown);\n    });\n});"
  },
  {
    "path": "src/test/file-utils.test.ts",
    "content": "import * as assert from \"assert\";\nimport * as vscode from \"vscode\";\nimport { parseFile } from \"../utils/file-utils\";\nimport { FileType } from \"../enums/file-type\";\n\nsuite(\"File Utils Test Suite\", () => {\n    test(\"parseFile should correctly identify C files\", () => {\n        const mockDoc = {\n            fileName: \"test.c\",\n            languageId: \"c\"\n        } as vscode.TextDocument;\n\n        const file = parseFile(mockDoc);\n        assert.strictEqual(file.type, FileType.c);\n        assert.strictEqual(file.name, \"test.c\");\n        assert.strictEqual(file.title, \"test\");\n    });\n\n    test(\"parseFile should correctly identify C++ files\", () => {\n        const mockDoc = {\n            fileName: \"main.cpp\",\n            languageId: \"cpp\"\n        } as vscode.TextDocument;\n\n        const file = parseFile(mockDoc);\n        assert.strictEqual(file.type, FileType.cplusplus);\n    });\n\n    test(\"parseFile should handle files without extensions\", () => {\n        const mockDoc = { fileName: \"Makefile\", languageId: \"makefile\" } as vscode.TextDocument;\n        const file = parseFile(mockDoc);\n        assert.strictEqual(file.type, FileType.unknown);\n    });\n});"
  },
  {
    "path": "src/test/shell-utils.test.ts",
    "content": "import * as assert from \"assert\";\nimport { parseShell, getCommand, getRunPrefix } from \"../utils/shell-utils\";\nimport { ShellType } from \"../enums/shell-type\";\n\nsuite(\"Shell Utils Test Suite\", () => {\n    test(\"parseShell should identify common executables\", () => {\n        assert.strictEqual(parseShell(\"cmd.exe\"), ShellType.cmd);\n        assert.strictEqual(parseShell(\"powershell.exe\"), ShellType.powerShell);\n        assert.strictEqual(parseShell(\"pwsh\"), ShellType.powerShell);\n        assert.strictEqual(parseShell(\"bash\"), ShellType.others);\n        assert.strictEqual(parseShell(\"wsl.exe\"), ShellType.wsl);\n        assert.strictEqual(parseShell(\"ubuntu.exe\"), ShellType.wsl);\n        assert.strictEqual(parseShell(\"zsh\"), ShellType.others);\n    });\n\n    test(\"getCommand should format for PowerShell correctly\", () => {\n        const cmd = \"gcc main.c\";\n        assert.strictEqual(getCommand(cmd, ShellType.powerShell), `& ${cmd}`);\n        assert.strictEqual(getCommand(cmd, ShellType.cmd), cmd);\n        assert.strictEqual(getCommand(cmd, ShellType.others), cmd);\n    });\n\n    test(\"getRunPrefix should return correct prefix per shell\", () => {\n        // Windows shells\n        assert.strictEqual(getRunPrefix(ShellType.cmd), \".\\\\\");\n        assert.strictEqual(getRunPrefix(ShellType.powerShell), \".\\\\\");\n        \n        // Unix-like shells\n        assert.strictEqual(getRunPrefix(ShellType.gitBash), \"./\");\n        assert.strictEqual(getRunPrefix(ShellType.wsl), \"./\");\n        assert.strictEqual(getRunPrefix(ShellType.others), \"./\");\n    });\n});"
  },
  {
    "path": "src/test/string-utils.test.ts",
    "content": "import * as assert from \"assert\";\nimport { isStringNullOrWhiteSpace, escapeStringAppleScript } from \"../utils/string-utils\";\n\nsuite(\"String Utils Test Suite\", () => {\n    test(\"isStringNullOrWhiteSpace should return true for empty or whitespace strings\", () => {\n        assert.strictEqual(isStringNullOrWhiteSpace(\"\"), true);\n        assert.strictEqual(isStringNullOrWhiteSpace(\"   \"), true);\n        assert.strictEqual(isStringNullOrWhiteSpace(null), true);\n        assert.strictEqual(isStringNullOrWhiteSpace(undefined), true);\n    });\n\n    test(\"isStringNullOrWhiteSpace should return false for valid strings\", () => {\n        assert.strictEqual(isStringNullOrWhiteSpace(\"hello\"), false);\n        assert.strictEqual(isStringNullOrWhiteSpace(\"  hello  \"), false);\n        assert.strictEqual(isStringNullOrWhiteSpace(\"a\"), false);\n    });\n\n    test(\"isStringNullOrWhiteSpace should return true for non-string types\", () => {\n        assert.strictEqual(isStringNullOrWhiteSpace(123), true);\n        assert.strictEqual(isStringNullOrWhiteSpace({}), true);\n        assert.strictEqual(isStringNullOrWhiteSpace([]), true);\n    });\n\n    test(\"escapeStringAppleScript should escape quotes and backslashes\", () => {\n        assert.strictEqual(escapeStringAppleScript('say \"hello\"'), 'say \\\\\"hello\\\\\"');\n        assert.strictEqual(escapeStringAppleScript('C:\\\\path'), 'C:\\\\\\\\path');\n        assert.strictEqual(escapeStringAppleScript('mixed \"path\"\\\\test'), 'mixed \\\\\"path\\\\\"\\\\\\\\test');\n    });\n});"
  },
  {
    "path": "src/utils/common-utils.ts",
    "content": "import find, { ProcessInfo, FindConfig } from \"find-process\";\r\nimport { lookpath } from \"lookpath\";\r\nimport { isStringNullOrWhiteSpace } from \"./string-utils\";\r\nimport isWsl from \"is-wsl\";\r\n\r\n/**\r\n * Checks if a command exists in the system PATH.\r\n */\r\nexport async function commandExists(command: string): Promise<boolean> {\r\n    const result = await lookpath(command);\r\n    return !isStringNullOrWhiteSpace(result);\r\n}\r\n\r\n/**\r\n * Checks if a process with the given name is currently running.\r\n * Returns false on Windows and WSL for performance reasons.\r\n */\r\nexport async function isProcessRunning(processName: string): Promise<boolean> {\r\n    if (isWindows() || isWsl) {\r\n        return false;\r\n    }\r\n    try {\r\n        const config: FindConfig = { strict: true };\r\n        const list: ProcessInfo[] = await find(\"name\", processName, config);\r\n        return list.length > 0;\r\n    } catch (error) {\r\n        return false;\r\n    }\r\n}\r\n\r\n/**\r\n * Returns true if the current platform is Windows.\r\n */\r\nexport function isWindows(): boolean {\r\n    return process.platform === \"win32\";\r\n}"
  },
  {
    "path": "src/utils/cp-utils.ts",
    "content": "// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\n\nimport * as cp from \"child_process\";\nimport { outputChannel } from \"../output-channel\";\n\nexport async function executeCommand(command: string, args: string[], options: cp.SpawnOptions = { shell: true }): Promise<string> {\n    return new Promise((resolve: (res: string) => void, reject: (e: Error) => void): void => {\n        outputChannel.appendLine(`${command}, [${args.join(\",\")}]`);\n        let result: string = \"\";\n        const childProc: cp.ChildProcess = cp.spawn(command, args, options);\n        if (childProc.stdout !== null) {\n            childProc.stdout.on(\"data\", (data: string | Buffer) => {\n                data = data.toString();\n                result = result.concat(data);\n            });\n        }\n        childProc.on(\"error\", reject);\n        childProc.on(\"close\", (code: number) => {\n            if (code !== 0 || result.indexOf(\"ERROR\") > -1) {\n                reject(new Error(`Command \"${command} ${args.toString()}\" failed with exit code \"${code}\".`));\n            } else {\n                resolve(result);\n            }\n        });\n    });\n}"
  },
  {
    "path": "src/utils/file-type-utils.ts",
    "content": "import { FileType } from \"../enums/file-type\";\n\n/**\n * Returns the FileType based on the file extension or languageId.\n * Accepts common C/C++ extensions and language IDs.\n */\nexport function getFileType(extensionOrLangId: string): FileType {\n    const ext = extensionOrLangId?.toLowerCase();\n\n    if ([\"c\", \"h\", \"objective-c\"].includes(ext)) {\n        return FileType.c;\n    }\n\n    if ([\"cpp\", \"hpp\", \"cc\", \"cxx\", \"hh\", \"hxx\", \"c++\", \"cppm\", \"objective-cpp\"].includes(ext)) {\n        return FileType.cplusplus;\n    }\n\n    return FileType.unknown;\n}"
  },
  {
    "path": "src/utils/file-utils.ts",
    "content": "import { File } from \"../models/file\";\nimport { TextDocument, workspace } from \"vscode\";\nimport { basename, extname, dirname, isAbsolute, join, relative } from \"path\";\nimport { getFileType } from \"./file-type-utils\";\nimport * as fse from \"fs-extra\";\nimport { Configuration } from \"../configuration\";\n\n/**\n * Parses a VS Code TextDocument into a File object used by the extension.\n */\nexport function parseFile(doc: TextDocument): File {\n    const fileName = doc.fileName;\n    const fileTitle = basename(fileName, extname(fileName));\n    const fileType = getFileType(doc.languageId);\n\n    return {\n        path: fileName,\n        name: basename(fileName),\n        title: fileTitle,\n        directory: dirname(fileName),\n        type: fileType,\n        executable: process.platform === \"win32\" ? `${fileTitle}.exe` : fileTitle\n    };\n}\n\n/**\n * Returns the output directory for the compiled file.\n * If createIfNotExists is true, ensures the directory exists.\n */\nexport function getOutputLocation(createIfNotExists: boolean = false, baseDir?: string): string {\n    let outputLocation = Configuration.outputLocation();\n    const mirrorOutputLocation = Configuration.mirrorOutputLocation();\n\n    const workspaceFolder = workspace.workspaceFolders?.[0]?.uri.fsPath;\n\n    if (!outputLocation) {\n        return baseDir ?? workspaceFolder ?? process.cwd();\n    }\n\n    outputLocation = outputLocation\n        .replace(\"${workspaceFolder}\", workspaceFolder ?? process.cwd())\n        .replace(\"${pwd}\", process.cwd());\n\n    if (mirrorOutputLocation) {\n        // Mirror mode: the workspace root is the anchor for relative paths so that\n        // the full source-relative folder structure can be replicated under the output dir.\n        // Workspace folder takes priority over baseDir here because mirroring only makes\n        // sense relative to the workspace root.\n        const root = workspaceFolder ?? baseDir ?? process.cwd();\n        if (!isAbsolute(outputLocation)) {\n            outputLocation = join(root, outputLocation);\n        }\n        if (baseDir && workspaceFolder) {\n            const relativePath = relative(workspaceFolder, baseDir);\n            if (relativePath && !relativePath.startsWith(\"..\")) {\n                outputLocation = join(outputLocation, relativePath);\n            }\n        }\n    } else {\n        // Default (no mirroring): output path is relative to the source file's\n        // directory (baseDir), falling back to workspace root.\n        const root = baseDir ?? workspaceFolder ?? process.cwd();\n        if (!isAbsolute(outputLocation)) {\n            outputLocation = join(root, outputLocation);\n        }\n    }\n\n    if (createIfNotExists && !fse.existsSync(outputLocation)) {\n        fse.mkdirpSync(outputLocation);\n    }\n\n    return outputLocation;\n}"
  },
  {
    "path": "src/utils/prompt-utils.ts",
    "content": "import { window } from \"vscode\";\r\n\r\n/**\r\n * Prompts the user to input a compiler path.\r\n */\r\nexport async function promptCompiler(): Promise<string> {\r\n    return await window.showInputBox({\r\n        prompt: \"Enter the path to the compiler executable\",\r\n        placeHolder: \"/usr/bin/gcc or C:\\\\TDM-GCC-64\\\\bin\\\\gcc.exe\"\r\n    }) ?? \"\";\r\n}\r\n\r\n/**\r\n * Prompts the user to input compiler flags.\r\n */\r\nexport async function promptFlags(defaultFlags: string): Promise<string> {\r\n    return await window.showInputBox({\r\n        prompt: \"Enter compiler flags\",\r\n        placeHolder: \"-Wall -Wextra -g3\",\r\n        value: defaultFlags\r\n    }) ?? defaultFlags;\r\n}\r\n\r\n/**\r\n * Prompts the user to input program arguments.\r\n */\r\nexport async function promptRunArguments(defaultArgs: string): Promise<string> {\r\n    return await window.showInputBox({\r\n        prompt: \"Enter program arguments\",\r\n        value: defaultArgs\r\n    }) ?? defaultArgs;\r\n}"
  },
  {
    "path": "src/utils/shell-utils.ts",
    "content": "import path = require(\"path\");\r\nimport { env } from \"vscode\";\r\nimport { ShellType } from \"../enums/shell-type\";\r\nimport { outputChannel } from \"../output-channel\";\r\nimport { executeCommand } from \"./cp-utils\";\r\n\r\nexport function parseShell(executable: string): ShellType {\r\n    switch (executable.toLowerCase()) {\r\n        case \"cmd.exe\":\r\n            return ShellType.cmd;\r\n        case \"pwsh.exe\":\r\n        case \"powershell.exe\":\r\n        case \"pwsh\": // pwsh on mac/linux\r\n            return ShellType.powerShell;\r\n        case \"bash.exe\":\r\n        case \"git-cmd.exe\":\r\n            return ShellType.gitBash;\r\n        case \"wsl.exe\":\r\n        case \"ubuntu.exe\":\r\n        case \"ubuntu1804.exe\":\r\n        case \"kali.exe\":\r\n        case \"debian.exe\":\r\n        case \"opensuse-42.exe\":\r\n        case \"sles-12.exe\":\r\n            return ShellType.wsl;\r\n        default:\r\n            return ShellType.others;\r\n    }\r\n}\r\n\r\nexport function getCommand(cmd: string, shell: ShellType): string {\r\n    if (shell === ShellType.powerShell) {\r\n        return `& ${cmd}`;\r\n    } else {\r\n        return cmd;\r\n    }\r\n}\r\n\r\nexport async function getCDCommand(cwd: string, shellType: ShellType): Promise<string> {\r\n    const parsedPath = await getPath(cwd, shellType);\r\n    return `cd ${parsedPath}`;\r\n}\r\n\r\nexport async function getPath(cwd: string, shellType: ShellType): Promise<string> {\r\n    if (process.platform === \"win32\") {\r\n        switch (shellType) {\r\n            case ShellType.gitBash:\r\n                return `\"${cwd.replace(/\\\\+$/, \"\")}\"`; // Git Bash: remove trailing '\\'\r\n            case ShellType.powerShell:\r\n                // Escape '[' and ']' in PowerShell\r\n                // See: https://github.com/microsoft/vscode-maven/issues/324\r\n                const escaped: string = cwd.replace(/([\\[\\]])/g, \"``$1\");\r\n                return `'${escaped}'`; // PowerShell\r\n            case ShellType.cmd:\r\n                return `\"${cwd}\"`; // CMD\r\n            case ShellType.wsl:\r\n                return `\"${await toWslPath(cwd)}\"`; // WSL\r\n            default:\r\n                return `\"${cwd}\"`; // Unknown, try using common one.\r\n        }\r\n    } else {\r\n        return `\"${cwd}\"`;\r\n    }\r\n}\r\n\r\nexport async function toWslPath(filepath: string): Promise<string> {\r\n    if (path.posix.isAbsolute(filepath)) {\r\n        return filepath;\r\n    }\r\n\r\n    try {\r\n        return (await executeCommand(\"wsl\", [\"wslpath\", \"-u\", `\"${filepath.replace(/\\\\/g, \"/\")}\"`])).trim();\r\n    } catch (error) {\r\n        outputChannel.appendLine(String(error), \"WSL\");\r\n        return toDefaultWslPath(filepath);\r\n    }\r\n}\r\n\r\nfunction toDefaultWslPath(p: string): string {\r\n    const arr: string[] = p.split(\":\\\\\");\r\n    if (arr.length === 2) {\r\n        const drive: string = arr[0].toLowerCase();\r\n        const dir: string = arr[1].replace(/\\\\/g, \"/\");\r\n        return `/mnt/${drive}/${dir}`;\r\n    } else {\r\n        return p.replace(/\\\\/g, \"/\");\r\n    }\r\n}\r\n\r\nexport function getRunPrefix(shell: ShellType): string {\r\n    if (shell === ShellType.cmd || shell === ShellType.powerShell) {\r\n        return \".\\\\\";\r\n    }\r\n\r\n    return \"./\";\r\n}\r\n\r\nexport function currentShell(): ShellType {\r\n    const currentShellPath: string = env.shell;\r\n    const executable: string = path.basename(currentShellPath);\r\n    return parseShell(executable);\r\n}\r\n"
  },
  {
    "path": "src/utils/string-utils.ts",
    "content": "export function isStringNullOrWhiteSpace(str: any): boolean {\r\n    return str === undefined || str === null\r\n        || typeof str !== \"string\"\r\n        || str.match(/^ *$/) !== null;\r\n}\r\n\r\nexport function escapeStringAppleScript(str: string) {\r\n    return str.replace(/[\\\\\"]/g, \"\\\\$&\");\r\n}\r\n\r\nexport function splitArgs(input: string | undefined): string[] {\r\n    if (!input) {\r\n        return [];\r\n    }\r\n\r\n    const args: string[] = [];\r\n    let current = \"\";\r\n    let quote: \"'\" | '\"' | null = null;\r\n    let escaped = false;\r\n\r\n    for (let i = 0; i < input.length; i += 1) {\r\n        const ch = input[i];\r\n\r\n        if (escaped) {\r\n            current += ch;\r\n            escaped = false;\r\n            continue;\r\n        }\r\n\r\n        // Only treat backslash as escape inside quotes (preserves Windows paths)\r\n        if (ch === \"\\\\\" && quote !== null) {\r\n            escaped = true;\r\n            continue;\r\n        }\r\n\r\n        if (quote) {\r\n            if (ch === quote) {\r\n                quote = null;\r\n            } else {\r\n                current += ch;\r\n            }\r\n            continue;\r\n        }\r\n\r\n        if (ch === '\"' || ch === \"'\") {\r\n            quote = ch as \"'\" | '\"';\r\n            continue;\r\n        }\r\n\r\n        if (/\\s/.test(ch)) {\r\n            if (current.length > 0) {\r\n                args.push(current);\r\n                current = \"\";\r\n            }\r\n            continue;\r\n        }\r\n\r\n        current += ch;\r\n    }\r\n\r\n    if (current.length > 0) {\r\n        args.push(current);\r\n    }\r\n\r\n    return args;\r\n}\r\n"
  },
  {
    "path": "src/utils/workspace-utils.ts",
    "content": "import { commands, window, workspace } from \"vscode\";\nimport { Configuration } from \"../configuration\";\n\n/**\n * Set of file paths the user has already trusted in single-file mode\n * during this session, so they are not prompted repeatedly.\n */\nconst trustedSingleFiles = new Set<string>();\n\n/**\n * Opens the Workspace Trust manager and waits for the user to grant trust.\n * Returns true if trust was granted, false if the user dismissed without granting.\n */\nasync function requestAndWaitForTrust(): Promise<boolean> {\n    if (workspace.isTrusted) {\n        return true;\n    }\n\n    // Set up a listener BEFORE opening the trust manager to avoid race conditions\n    const trustGranted = new Promise<boolean>((resolve) => {\n        // Resolve true when trust is granted\n        const trustDisposable = workspace.onDidGrantWorkspaceTrust(() => {\n            trustDisposable.dispose();\n            resolve(true);\n        });\n\n        // Also resolve false if the user closes the trust editor without granting\n        // We use a timeout as a fallback since there's no \"trust denied\" event\n        const checkInterval = setInterval(() => {\n            if (workspace.isTrusted) {\n                clearInterval(checkInterval);\n                trustDisposable.dispose();\n                resolve(true);\n            }\n        }, 500);\n\n        // Timeout after 5 minutes to avoid hanging forever\n        setTimeout(() => {\n            clearInterval(checkInterval);\n            trustDisposable.dispose();\n            resolve(workspace.isTrusted);\n        }, 5 * 60 * 1000);\n    });\n\n    await commands.executeCommand(\"workbench.trust.manage\");\n    return trustGranted;\n}\n\nexport async function ensureWorkspaceIsTrusted(action: string): Promise<boolean> {\n    // When no workspace folder is open (single file mode), VS Code treats the\n    // environment as trusted with \"onDemand\" trust request. Check the\n    // trust-single-files setting to decide whether to prompt anyway.\n    if (!workspace.workspaceFolders || workspace.workspaceFolders.length === 0) {\n        if (Configuration.trustSingleFiles()) {\n            return true;\n        }\n\n        const filePath = window.activeTextEditor?.document.uri.fsPath;\n        if (filePath && trustedSingleFiles.has(filePath)) {\n            return true;\n        }\n\n        const trustAction = \"Trust and Continue\";\n        const openFolder = \"Open Folder\";\n        const choice = await window.showWarningMessage(\n            `You are about to ${action} a file outside of a workspace folder. ` +\n            `Please confirm you trust this file, or open its folder for full workspace trust support.`,\n            trustAction,\n            openFolder\n        );\n\n        if (choice === trustAction) {\n            if (filePath) {\n                trustedSingleFiles.add(filePath);\n            }\n            return true;\n        }\n\n        if (choice === openFolder) {\n            await commands.executeCommand(\"vscode.openFolder\");\n        }\n\n        return false;\n    }\n\n    if (workspace.isTrusted) {\n        return true;\n    }\n\n    const manageTrust = \"Manage Workspace Trust\";\n    const choice = await window.showErrorMessage(\n        `Cannot ${action} in an untrusted workspace. Please trust the workspace to enable this feature.`,\n        manageTrust\n    );\n\n    if (choice === manageTrust) {\n        return await requestAndWaitForTrust();\n    }\n\n    return false;\n}"
  },
  {
    "path": "syntaxes/log.tmLanguage",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n    <dict>\n        <key>scopeName</key>\n        <string>code.log</string>\n        <key>fileTypes</key>\n        <array>\n            <string>log</string>\n        </array>\n        <key>name</key>\n        <string>Log file</string>\n        <key>patterns</key>\n        <array>\n            <dict>\n                <!-- Quoted strings with \" -->\n                <key>match</key>\n                <string>\"(.*?)\"</string>\n                <key>name</key>\n                <string>string.quoted</string>\n            </dict>\n            <dict>\n                <!-- Quoted strings with ' -->\n                <key>match</key>\n                <string>'(.*?)'</string>\n                <key>name</key>\n                <string>string.quoted</string>\n            </dict>\n            <!-- <dict>\n                brackets\n                <key>match</key>\n                <string><(.*?)></string>\n                <key>name</key>\n                <string>string.quoted</string>\n            </dict> -->\n            <dict>\n                <!-- GUID -->\n                <key>match</key>\n                <string>\\b(?i:([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}))\\b</string>\n                <key>name</key>\n                <string>support.class</string>\n            </dict>\n            <dict>\n                <!-- email address -->\n                <key>match</key>\n                <string>\\S+@\\S+\\.\\S+</string>\n                <key>name</key>\n                <string>markup.bold</string>\n            </dict>\n            <dict>\n                <!-- Exception (with custom naming and namespacing) -->\n                <key>match</key>\n                <string>\\b(?i:((\\.)*[a-z]|[0-9])*(Exception|Error|Failure|Fail))\\b</string>\n                <key>name</key>\n                <string>invalid</string>\n            </dict>\n            <dict>\n                <!-- Date MM/DD/(YY)YY -->\n                <key>match</key>\n                <string>\\b(((0|1)?[0-9][1-2]?)|(Jan(uary)?|Feb(ruary)?|Mar(ch)?|Apr(il)?|May|Jun(e)?|Jul(y)?|Aug(ust)?|Sept(ember)?|Oct(ober)?|Nov(ember)?|Dec(ember)?))[/|\\-|\\.| ]([0-2]?[0-9]|[3][0-1])[/|\\-|\\.| ]((19|20)?[0-9]{2})\\b</string>\n                <key>name</key>\n                <string>constant.numeric</string>\n            </dict>\n            <dict>\n                <!-- Date (YY)YY/DD/MM -->\n                <key>match</key>\n                <string>\\b((19|20)?[0-9]{2}[/|\\-|\\.| ](((0|1)?[0-9][1-2]?)|(Jan(uary)?|Feb(ruary)?|Mar(ch)?|Apr(il)?|May|Jun(e)?|Jul(y)?|Aug(ust)?|Sept(ember)?|Oct(ober)?|Nov(ember)?|Dec(ember)?))[/|\\-|\\.| ]([0-2]?[0-9]|[3][0-1]))\\b</string>\n                <key>name</key>\n                <string>constant.numeric</string>\n            </dict>\n            <dict>\n                <!-- Date DD/MM/(YY)YY -->\n                <key>match</key>\n                <string>\\b([0-2]?[0-9]|[3][0-1])[/|\\-|\\.| ](((0|1)?[0-9][1-2]?)|(Jan(uary)?|Feb(ruary)?|Mar(ch)?|Apr(il)?|May|Jun(e)?|Jul(y)?|Aug(ust)?|Sept(ember)?|Oct(ober)?|Nov(ember)?|Dec(ember)?))[/|\\-|\\.| ]((19|20)?[0-9]{2})\\b</string>\n                <key>name</key>\n                <string>constant.numeric</string>\n            </dict>\n            <dict>\n                <!-- Time HH:MM(:SS)? AM? timezone? -->\n                <key>match</key>\n                <string>\\b([0|1]?[0-9]|2[0-3])\\:[0-5][0-9](\\:[0-5][0-9])?( ?(?i:(a|p)m?))?( ?[+-]?[0-9]*)?\\b</string>\n                <key>name</key>\n                <string>constant.numeric</string>\n            </dict>\n            <dict>\n                <!-- Numeric (decimal) -->\n                <key>match</key>\n                <string>\\b\\d+\\.?\\d*?\\b</string>\n                <key>name</key>\n                <string>constant.numeric</string>\n            </dict>\n            <dict>\n                <!-- Numeric (hex) -->\n                <key>match</key>\n                <string>\\b(?i:(0?x)?[0-9a-f][0-9a-f]+)\\b</string>\n                <key>name</key>\n                <string>constant.numeric</string>\n            </dict>\n            <dict>\n                <!-- Namespace -->\n                <key>match</key>\n                <string>\\b(?i:(([a-z]|[0-9]|[_|-])*(\\.([a-z]|[0-9]|[_|-])*)+))\\b</string>\n                <key>name</key>\n                <string>support.type</string>\n            </dict>\n            <dict>\n                <key>match</key>\n                <string>\\b(?i:(Down|Error|Failure|Fail|Fatal|false))(\\:|\\b)</string>\n                <key>name</key>\n                <string>invalid.illegal</string>\n            </dict>\n            <dict>\n                <key>match</key>\n                <string>\\b(?i:(hint|info|information|true|log))(\\:|\\b)</string>\n                <key>name</key>\n                <string>keyword</string>\n            </dict>\n            <dict>\n                <key>match</key>\n                <string>\\b(?i:(warning|warn|test|debug|null|undefined|NaN))(\\:|\\b)</string>\n                <key>name</key>\n                <string>invalid.deprecated</string>\n            </dict>\n            <dict>\n                <key>match</key>\n                <string>\\b(?i:(local))(\\:|\\b)</string>\n                <key>name</key>\n                <string>support.function</string>\n            </dict>\n            <dict>\n                <key>match</key>\n                <string>\\b(?i:(server|running|remote))(\\:|\\b)</string>\n                <key>name</key>\n                <string>comment.line</string>\n            </dict>\n            <dict>\n                <!-- Generic URI/URL -->\n                <key>match</key>\n                <string>\\b(?i:([a-z]|[0-9])+\\:((\\/\\/)|((\\/\\/)?(\\S)))+)</string>\n                <key>name</key>\n                <string>storage</string>\n            </dict>\n            <dict>\n                <!-- output from (npm install) log -->\n                <key>match</key>\n                <string>(-)+>|├(─)+|└(─)+</string>\n                <key>name</key>\n                <string>comment.line</string>\n            </dict>\n        </array>\n        <key>uuid</key>\n        <string>ab259404-3072-4cd4-a943-7cbbd32e373f</string>\n    </dict>\n</plist>"
  },
  {
    "path": "tsconfig.json",
    "content": "{\n\t\"compilerOptions\": {\n\t\t\"module\": \"CommonJS\",\n\t\t\"target\": \"ES2022\",\n\t\t\"lib\": [\n\t\t\t\"ES2022\"\n\t\t],\n\t\t\"sourceMap\": true,\n\t\t\"rootDir\": \"src\",\n\t\t\"strict\": true,\n\t\t\"noImplicitReturns\": true,\n\t\t\"noFallthroughCasesInSwitch\": true,\n\t\t\"noUnusedParameters\": true,\n\t\t\"strictNullChecks\": false,\n\t\t\"skipLibCheck\": true\n\t},\n\t\"exclude\": [\n\t\t\"node_modules\",\n\t\t\".vscode-test\"\n\t]\n}\n"
  },
  {
    "path": "webpack.config.js",
    "content": "//@ts-check\n\n'use strict';\n\nconst path = require('path');\n\n//@ts-check\n/** @typedef {import('webpack').Configuration} WebpackConfig **/\n\n/** @type WebpackConfig */\nconst extensionConfig = {\n  target: 'node', // VS Code extensions run in a Node.js-context 📖 -> https://webpack.js.org/configuration/node/\n\tmode: 'none', // this leaves the source code as close as possible to the original (when packaging we set this to 'production')\n\n  entry: './src/extension.ts', // the entry point of this extension, 📖 -> https://webpack.js.org/configuration/entry-context/\n  output: {\n    // the bundle is stored in the 'dist' folder (check package.json), 📖 -> https://webpack.js.org/configuration/output/\n    path: path.resolve(__dirname, 'dist'),\n    filename: 'extension.js',\n    libraryTarget: 'commonjs2'\n  },\n  externals: {\n    vscode: 'commonjs vscode' // the vscode-module is created on-the-fly and must be excluded. Add other modules that cannot be webpack'ed, 📖 -> https://webpack.js.org/configuration/externals/\n    // modules added here also need to be added in the .vscodeignore file\n  },\n  resolve: {\n    // support reading TypeScript and JavaScript files, 📖 -> https://github.com/TypeStrong/ts-loader\n    extensions: ['.ts', '.js']\n  },\n  module: {\n    rules: [\n      {\n        test: /\\.ts$/,\n        exclude: /node_modules/,\n        use: [\n          {\n            loader: 'ts-loader'\n          }\n        ]\n      }\n    ]\n  },\n  devtool: 'nosources-source-map',\n  infrastructureLogging: {\n    level: \"log\", // enables logging required for problem matchers\n  },\n};\nmodule.exports = [ extensionConfig ];"
  }
]