Skip to content

[email protected] shows no errors in VS Code #22784

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

Closed
kpdonn opened this issue Mar 22, 2018 · 2 comments
Closed

[email protected] shows no errors in VS Code #22784

kpdonn opened this issue Mar 22, 2018 · 2 comments
Labels
Duplicate An existing issue was already created

Comments

@kpdonn
Copy link
Contributor

kpdonn commented Mar 22, 2018

TypeScript Version: 2.8.0-dev.20180322
VS Code Version: 1.21.1

Typescript does not seem to be sending VS Code information about compile errors in the latest build. I confirmed this after restarting VS Code and testing with a clean project. I'm reproducing it with just

const a: string = 123; // should have an error, none shows up in VS Code

but anything that should result in a compiler error reproduces it. Running tsc from the command line shows a compile error as expected so it's only in VS Code that it doesn't seem to work. It's also specific to today's release, 2.8.0-dev.20180321 from yesterday works as expected.

I created a gist of my VS Code logs from tsserver starting up with typescript.tsserver.trace set to verbose:

Here is the log where it doesn't work: Link

For comparison here is the equivalent log from 2.8.0-dev.20180321 where it works: Link

@mhegazy
Copy link
Contributor

mhegazy commented Mar 22, 2018

looks like a duplicate of #22790, should be fixed by #22791

@mhegazy mhegazy added the Duplicate An existing issue was already created label Mar 22, 2018
@kpdonn
Copy link
Contributor Author

kpdonn commented Mar 22, 2018

👍 That’s actually a duplicate of this but no difference 🙂

@kpdonn kpdonn closed this as completed Mar 22, 2018
@microsoft microsoft locked and limited conversation to collaborators Jul 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Duplicate An existing issue was already created
Projects
None yet
Development

No branches or pull requests

2 participants