What is Webstorm's default tsconfig file if you select "Set options manually"?
Basically, I want to start using a custom tsconfig file so I can use a text editor for super quick fixes (instead of waiting on Webstorm to boot). But, if I do that, then I need to make sure the code gets transpiled correctly.
What is the tsconfig file that Webstorm uses if I select 'Set options manually"? I want to build off that instead of the default file that's built via 'tsc' command (if it's any different).

Please sign in to leave a comment.
hmmm... Not sure I understand the question. First, you have 2 options here: 'Resolve objects using tsconfig.json' and 'Use tsconfig.json'. The first one affects types resolving (completion/navigation/error highlighting); the latter is used for compilation. If you don't have any tsconfig.json files in your project, then (surprise!) it doesn't use any tsconfig.json files - neither for resolving nor for compiling:) If you have them, then it uses the tsconfig nearest to current file (up to the folders hierarchy) for resolving; but still doesn't use any configs for compilation if 'Set options manually' is selected
@elena, what if we have tsconfig.json with custom name, say tsconfig-app.json? How do we tell WebStorm to use the custom one?
You don't need doing anything special. WebStorm uses the nearest tsconfig current file is included in for compiling, traversing the folders hierarchy from current folder up to the IDE project root. tsconfig.app.json files, as well as other files with names matching the patterns assigned to TypeScript Config file type in Settings | Editor | File Types, are respected
@elenta thanx, but I have an off-case where I have two tsconfig files: one for the project, and one specifically for webpack (written in typescript). How do I tell Webstorm which one is for which?
You can try passing the config explicitly using
-poption in Options: field (Settings | Languages & Frameworks | TypeScript)... But I'm not sure if this is fully supported configuration@elena, thanx, I'll check it out.