Skip to content

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

@kpdonn

Description

@kpdonn

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    DuplicateAn existing issue was already created

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions