-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
Suggestion: tsc init to generate tsconfig.json #3079
Comments
Wider tool support for http://json.schemastore.org/tsconfig might be another way to satisfy this |
Accepted, accepting PRs. This would be super useful. Ideally you could write e.g. 🚲 🏠 - should the generated file have all the defaults emitted into it so it's easier to change, or be minimal so it's not so large? Or some subset of the common options people want to change? |
for painting the bikeshed: I think the ideal would be to mimic the VSCode Not sure I'll have the time to prepare a PR myself though... On Tue, May 19, 2015 at 9:39 AM Ryan Cavanaugh notifications@github.com
|
I do not think we need JSMin, we already have a JS parser/emitter :D |
Thanks @tinganho! |
I know the tsconfig.json file is small, but it's a distraction to have to go look up a copy-paste example while you're starting a new project in VSCode. And that makes the screencast not as cool :)
npm
and other javascripty tools have an init command which creates your basic config file structure. Ideally it would contain all the default options explicitly spelled out, and including documentation inline on how to set the knobs correctly (but I know this is challenging in raw JSON)the TypeStrong atom editor plugin generates the tsconfig.json, but I didn't find another way (at least in a couple minutes of searching, which is all an end user would do at this point)
The text was updated successfully, but these errors were encountered: