Skip to content

ConfigFileDiag event is not sent after tsconfig.json is saved #11886

@dbaeumer

Description

@dbaeumer

TypeScript Version: 2.0.6
Code

tsconfig.json

{
    "compilerOptions": {
        "module": "commonjs",
        "target": "es5",
        "aaaca": true
    }
}
  • open a TS file covered by above tsconfig.json

Observe: you get an event

[Trace - 2:35:24 PM] Event received: configFileDiag (0).
Data: {
    "configFile": "c:/Users/dirkb/Projects/mseng/VSCode/Playgrounds/ts-2.0/tsconfig.json",
    "diagnostics": [
        {
            "text": "Unknown compiler option 'aaaca'."
        }
    ]
}
  • make the tsconfig.json file correct (e.g. remove the "aaaca" property.

Observe: no configFileDiag event is sent. No event is send either if you do changes that make the tsconfig.json file still incorrect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issueVS Code TrackedThere is a VS Code equivalent to this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions