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

VS Community doesn't read tsconfig.json #4820

Closed
mechanicious opened this issue Sep 16, 2015 · 4 comments
Closed

VS Community doesn't read tsconfig.json #4820

mechanicious opened this issue Sep 16, 2015 · 4 comments
Assignees
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue Visual Studio Integration with Visual Studio

Comments

@mechanicious
Copy link

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:

@mechanicious mechanicious changed the title VS 2015 Community doesn't read tsconfig.json VS Community doesn't read tsconfig.json Sep 16, 2015
@mhegazy
Copy link
Contributor

mhegazy commented Sep 16, 2015

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.

@mhegazy mhegazy added the Duplicate An existing issue was already created label Sep 16, 2015
@mhegazy mhegazy closed this as completed Sep 16, 2015
@mechanicious
Copy link
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.

@mhegazy
Copy link
Contributor

mhegazy commented Sep 16, 2015

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

this is a good idea. reactivating.

@mhegazy mhegazy reopened this Sep 16, 2015
@mhegazy mhegazy added Bug A bug in TypeScript Visual Studio Integration with Visual Studio and removed Duplicate An existing issue was already created labels Sep 16, 2015
@mhegazy mhegazy added this to the TypeScript 1.7 milestone Sep 16, 2015
@paulvanbrenk
Copy link
Contributor

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

@mhegazy mhegazy added the Fixed A PR has been merged for this issue label Jan 26, 2016
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue Visual Studio Integration with Visual Studio
Projects
None yet
Development

No branches or pull requests

3 participants