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
VSCode continues to display TypeScript errors when all TypeScript settings are disabled. #54691
Comments
(Experimental duplicate detection) |
Set the javascript version of this setting instead: "javascript.showUnused": false, If you are in js files, use the |
@mjbvz No, that's not the fix. I work in JavaScript, and I would like JavaScript-related error messages. Did you read the bug report? |
Yes. The TypeScript extension powers our javascript intellisense which is why you see |
How does VSCode disambiguate TypeScript validations from JavaScript validations in the UX? |
That's where the two versions of the settings come in: the |
Thank you, that's an explanation that I can bring back to the team and not have folks scratching their heads. |
I have spent several days trying to stop a tooltip prefixed with [ts] and now I find it is not a TypeScript error? I have been pulling my hair out scouring the web, setting every possible setting to false, rebuilding projects and workspaces. Two days of frustration and wasted effort...because the IDE tells me a JavaScript message using a TypeScript prefix/indicator. That is just awesome! Thank you so much. Perhaps you could look into maybe making it a little less confusing and putting a different [prefix] there, like oh I don't know ..[js] or something similar? |
We do not use TypeScript in several of our projects, so we have attempted to disable TypeScript validation in our JavaScript files. However, VSCode displays TypeScript-related messages despite the settings instructing it not to do so.
Apparently this is a regression in the latest build because there was another long bug closed by @sandy081 about a similar issue back in March 2018 where the team appeared to have communicated that the ability to disable TypeScript was a feature that VScode supported.
Steps to Reproduce:
code --disable-extensions
import test from "path"
test
and observe the message `[ts] 'test' is declared but its value is never read' appears inside the tooltip.User Settings for Step 2
Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: