-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Closed
Labels
FixedA PR has been merged for this issueA PR has been merged for this issueSuggestionAn idea for TypeScriptAn idea for TypeScriptVisual StudioIntegration with Visual StudioIntegration with Visual Studio
Milestone
Description
Some users want to use the built-in compilation of their IDE, but some want to use grunt or gulp. If you want to use grunt or gulp for compilation, you need to disable compilation in your IDE. Since a big team can use multiple IDEs, I think this should be implemented in tsconfig.json
.
Suggestion: Add a new option to tsconfig.json
to disable the compilation in the IDE ("compile on save"), which defaults to false.
Example:
{
"disableCompileOnSave": true,
"compilerOptions": {
"module": "commonjs",
"noImplicitAny": true
},
"files": [
"foo.ts",
"bar.ts"
]
}
If an IDE finds a config file with this option, it shouldn't compile the project, but it should give auto completions, type errors, etcetera. If a build tool sees this option it should ignore it, because you use an IDE always for writing, sometimes for building and you use a build system always for building.
robianmcd and abdel-ships-it
Metadata
Metadata
Assignees
Labels
FixedA PR has been merged for this issueA PR has been merged for this issueSuggestionAn idea for TypeScriptAn idea for TypeScriptVisual StudioIntegration with Visual StudioIntegration with Visual Studio