New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build Tasks Hang When Specific Built-in Extensions are Disabled #83939
Comments
(Experimental duplicate detection) |
@ssoher I can't reproduce this. Is it possible you have an extension that's depending on the built in typescript and javascript languages features are disabled? Can you try disabling all installed extensions and see if it still happens? |
@alexr00 I've disabled every single extension both external and built-in and restarted Code. The behavior is the same. Run Build Tasks resumes working immediately as I enable the TypeScript and JavaScript Language Features built-in extension. |
Do you have a sample repo I could try with? Have you tried with only the typescript extension and all installed extensions disabled (leaving other built-in extensions enabled)? Do you have any task or extension related settings set? |
Yes, I've tried that combination of extensions too. Here is a small project I'm encountering this issue on. My settings look unrelated, below is my settings. {
"telemetry.enableCrashReporter": false,
"telemetry.enableTelemetry": false,
"editor.fontFamily": "'Fira Code'",
"editor.accessibilitySupport": "off",
"editor.detectIndentation": false,
"editor.dragAndDrop": false,
"window.zoomLevel": 0,
"editor.find.autoFindInSelection": true,
"glsl-linter.validatorPath": "E:\\glsllangvalidator\\glslangValidator.exe",
"window.menuBarVisibility": "default",
"editor.minimap.enabled": false,
"breadcrumbs.enabled": true,
"editor.renderWhitespace": "none",
"editor.renderControlCharacters": false,
"editor.fontSize": 12,
"editor.lineHeight": 18,
"workbench.editor.closeEmptyGroups": false,
"workbench.colorTheme": "Github Light Theme - Gray",
"editor.cursorStyle": "block-outline",
"javascript.suggest.autoImports": false,
"todo-tree.general.tags": [
"TODO",
"FIXME",
"BUG",
"NOTE",
"HACK"
],
"todo-tree.highlights.customHighlight": {
"TODO": {
"background": "green",
"foreground": "white",
"opacity": "0.25",
"fontWeight": "500",
"icon": "checklist",
"iconColour": "green",
"type": "text",
},
"FIXME": {
"background": "magenta",
"foreground": "white",
"opacity": "0.25",
"fontWeight": "500",
"icon": "alert",
"iconColour": "magenta",
"type": "text",
},
"BUG": {
"background": "red",
"foreground": "white",
"fontWeight": "500",
"icon": "bug",
"iconColour": "red",
"type": "text",
},
"NOTE": {
"background": "cyan",
"foreground": "white",
"fontWeight": "500",
"icon": "bug",
"type": "text",
"hideFromTree": "true"
},
"HACK": {
"background": "green",
"foreground": "white",
"opacity": "0.25",
"fontWeight": "500",
"icon": "bug",
"type": "text",
"hideFromTree": "true"
},
},
"workbench.editor.revealIfOpen": true,
"sync.gist": "08afe2b70f2bc405af6ed3627b7f0008"
} |
Thanks for the sample. Even with your exact settings and with that sample I cannot see the same issue. Some more questions: |
When I re-enable the TypeScript and JavaScript Language Features built-in extension I get this error log in the Developer Tools console. There are no tasks listed besides my "build debug version" I can't test what happens when I remove the |
The errors from the dev tools appear to be from naumovs.cursor-tools-2.0.0. Can you keep this extension disabled while we figure out what's going on? Lets try a fresh state. Can you install the insiders build from https://code.visualstudio.com/insiders/ and try do your usual repro (it installs side by side with stable, so you won't be losing anything)? If it doesn't happen there, then either there's a real issue that's fixed in insiders or you have some bad state somewhere. When you try on insiders, can you see if you more errors in the developer |
The same problem persists in the Insiders version. I have some new findings though.
While trying the repro, did you disable all extensions available int VS Code? Maybe you've left some of these enabled so you didn't encounter the same problem? |
I only disabled the typescript extension since that's what the issue is about :) The common thing between those extensions is that they all provide tasks. I'll try disabling all. |
Right, I just found out about the the other extensions :) I'll edit the issue description and title now |
I think this issue has been around as long as Tasks has been around. No one must be disabling those extensions. I've pushed a change that should fix it and that change will be available in insiders probably by the end of the week. Thanks for helping track it down! For what it's worth, you can disable any task related code path that goes through task providers using the |
Steps to Reproduce:
Below is my simple tasks.json that calls a Windows batch file to build a C project using gcc.
The text was updated successfully, but these errors were encountered: