Skip to content

VS Community doesn't read tsconfig.json #4820

Closed

Description

The project is created from the default Typescript Web Application template, I've created tsconfig.json; it wans't included in the default project template. I am trying to get this working.

Visual Studio version:

This is my tsconfig.json file:

{
    "compilerOptions": {
        "target": "ES5",
        "module": "amd",
        "sourceMap": true
    },
    "exclude": [
        "node_modules",
        ".vscode"
    ]
}

See:

Activity

  1. changed the title [-]VS 2015 Community doesn't read tsconfig.json[/-] [+]VS Community doesn't read tsconfig.json[/+] on Sep 16, 2015
  2. mhegazy commented on Sep 16, 2015

    @mhegazy
    Contributor

    This is the intended behavior. a project file supersedes a tsconfig. if you do not want the project file to be your source of project information, close the project, and open any ts file from your project, and it will be pick up the tsconfig.

    In the next release we intend to make this configurable. see #3949.

  3. mechanicious commented on Sep 16, 2015

    @mechanicious
    Author

    The user doesn't expect it at all, VS should alert that the settings have been overwritten by a configuration from a source with a higher priority.

  4. mhegazy commented on Sep 16, 2015

    @mhegazy
    Contributor

    VS should alert that the settings have been overwritten by a configuration

    this is a good idea. reactivating.

  5. added
    BugA bug in TypeScript
    Visual StudioIntegration with Visual Studio
    and removed
    DuplicateAn existing issue was already created
    on Sep 16, 2015
  6. paulvanbrenk commented on Jan 26, 2016

    @paulvanbrenk
    Contributor

    Support for multiple tsconfig.json files is part of 1.8, as is support for more project types.

  7. locked and limited conversation to collaborators on Jun 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issueVisual StudioIntegration with Visual Studio

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions