Open ThaDaVos opened 1 year ago
There you go - you're triggering a fetchTasks
which causes VSCode to load all tasks, so providers and tasks.json:
https://github.com/actboy168/vscode-tasks/blob/7edd2b4896d071cb63a9cf06612e7191e30928c5/extension.js#L486
I think this is a design mistake of vscode. Enumerating command
does not activate the extension that provides the command
. Tasks should also be designed like this.
I currently have no solution to your problem.
Please help by upvoting: https://github.com/microsoft/vscode/issues/192657
I was running into issues with the GO extension constantly being loaded in non-go projects - after disabling your extension the issue was gone - so apparently you're triggering the
onTaskType:
event for all extensions available - I just don't get why as the extension should only look at thetasks.json
as far as I know?https://github.com/golang/vscode-go/issues/2962