spmeesseman / vscode-taskexplorer

Run and Manage Tasks for Visual Studio Code
Other
141 stars 30 forks source link

Tasks 'tsc' still visible even disabled in settings #190

Open taki-eddine-47 opened 1 year ago

taki-eddine-47 commented 1 year ago

Disabled: image

Enabled: image

GarethBlain commented 1 year ago

I'm also getting this issue with any of my angular projects.

Reproduction

I've worked out it's tsconfig.**.json files that are doing it so pulled just those files out of a brand new Angular V12 project into an empty folder then opening VSCode in that folder will show it. It seems that ether on their own cause it and both together (as they would be in an angular project) also show both sets of build & watch. Attached is the content of the two files. Just copy the content into the named files and put them into an empty folder to reproduce issue. :)

tsconfig.app.json:

/* To learn more about this file see: https://angular.io/config/tsconfig. */
{
  "extends": "./tsconfig.json",
  "compilerOptions": {
    "outDir": "./out-tsc/app",
    "types": []
  },
  "files": [
    "src/main.ts",
    "src/polyfills.ts"
  ],
  "include": [
    "src/**/*.d.ts"
  ]
}

tsconfig.spec.json:

/* To learn more about this file see: https://angular.io/config/tsconfig. */
{
  "extends": "./tsconfig.json",
  "compilerOptions": {
    "outDir": "./out-tsc/spec",
    "types": [
      "jasmine"
    ]
  },
  "files": [
    "src/test.ts",
    "src/polyfills.ts"
  ],
  "include": [
    "src/**/*.spec.ts",
    "src/**/*.d.ts"
  ]
}
spmeesseman commented 1 year ago

v3 if due out soon and fixes this, we'll keep this open until then just to verify