spmeesseman / vscode-taskexplorer

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

excluding tsc does not remove the tsc Tasks from Taskexplorer #170

Closed CodeAvolition closed 1 year ago

CodeAvolition commented 2 years ago

this Issue was mentioned as a sidenote by josh-hemphill in https://github.com/spmeesseman/vscode-taskexplorer/issues/162, but since there is no specfic issue to track progress on this i created this.

Steps to reproduce:

Disable Tsc in settings image or "taskExplorer.enableTsc": false,

expected result:

tsc tasks are hidden in taskExplorer

actual result:

tsc tasks still get displayed as usual image

NMichas commented 2 years ago

+1, tested on v2.9.1, VS Code v1.67.2.

JaimeStill commented 2 years ago

Having the same issue on v2.9.1, VS Code 1.70.2

CodeAvolition commented 2 years ago

After being very annoyed by this unimportant issue i cloned the project and tried to fix it myself, but lo an behold, while doing that i realized that the issue has been fixed. The fix is just not in the release that can be found in the vscode marketplace.

With Setting on: image With Setting off: image Tested on master branch 19/sep/2022

The latest release on the marketplace is version 2.9.1 which was released on the 05/feb/2022 while the latest commits are from 22/feb/2022 So maybe a new release with all the current changes might fix the problem.

There is also a workaround that worked for me: taskexplorer uses the default vscode taskdetection so if you turn that off for tsc the folder disappears too

"typescript.tsc.autoDetect": "off" or in Guid settings: image

JaimeStill commented 2 years ago

@CodeAvolition Adjusting TSC Auto Detect is helpful, thanks.