Skip to content
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

Closed
sashaburchuk opened this issue Nov 24, 2015 · 7 comments
Closed

Enable error highlighting syntax toggle on/off #598

sashaburchuk opened this issue Nov 24, 2015 · 7 comments
Assignees
Labels
feature-request Request for new features or functionality typescript Typescript support issues
Milestone

Comments

@sashaburchuk
Copy link

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.

@jrieken jrieken added the info-needed Issue requires more information from poster label Nov 25, 2015
@jrieken
Copy link
Member

jrieken commented Nov 25, 2015

@sashaburchuk Can you provide a little more detail? Are you talking about a programming language and if which one?

@sashaburchuk
Copy link
Author

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.

Here's a screenshot so you can see what I'm seeing.
screen shot 2015-11-25 at 9 47 09 am

@jrieken jrieken added feature-request Request for new features or functionality and removed info-needed Issue requires more information from poster labels Nov 26, 2015
@dbaeumer
Copy link
Member

@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

@dbaeumer dbaeumer added the typescript Typescript support issues label Nov 26, 2015
@sashaburchuk
Copy link
Author

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 "javascript.validate.enable": false to settings.json without any luck.

@dbaeumer
Copy link
Member

dbaeumer commented Dec 8, 2015

@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

@sashaburchuk
Copy link
Author

@dbaeumer I'm using 1.7.3 now, and the issue seems to be resolved with this version of Typescript.

@egamma egamma modified the milestone: Backlog Dec 10, 2015
@dbaeumer
Copy link
Member

Error reporting can now be disabled using javascript.validate.enable and typescript.validate.enable.

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality typescript Typescript support issues
Projects
None yet
Development

No branches or pull requests

5 participants
@egamma @jrieken @dbaeumer @sashaburchuk and others