-
Notifications
You must be signed in to change notification settings - Fork 28.6k
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
Enable error highlighting syntax toggle on/off #598
Comments
@sashaburchuk Can you provide a little more detail? Are you talking about a programming language and if which one? |
I'm working in Typescript, and text editors seem to have a particularly hard time analyzing @autoBind. I know that autobind is working because I haven't had to change scope, but everything is still underlined. I did try going in to the settings.json file in Application Support and changing "javascript.validate.syntaxValidation": to false. That didn't help. |
@sashaburchuk which version of TS are you using. You can point VSCode to use the latest TS server by using the typescript.tsdk setting. See https://code.visualstudio.com/updates/v0_8_0 for details regarding the setting |
Hi @dbaeumer. I'm using version ^1.6.2. I'm a bit wary of changing the typescript.tsdk setting because this code is being used in production. Is there any other way to disable validation? I also tried adding |
@sashaburchuk can you run tsc --version to see which version you are actually using ^1.6.2 will for example install the current 1.7.3 version |
@dbaeumer I'm using 1.7.3 now, and the issue seems to be resolved with this version of Typescript. |
Error reporting can now be disabled using javascript.validate.enable and typescript.validate.enable. |
There are certain aspects of code that are experimental that the VSCode Editor doesn't recorgnize. It would be useful to easily be able to toggle error highlighting on/off.
The text was updated successfully, but these errors were encountered: