Does Webstorm 10 support TypeScript's tsconfig.json?

I'm using TypeScript and specify the compiler's in the file tsconfig.json to compile files from the command line with tsc. Can't seem to find a way to use tsconfig.json in WebStorm. Is it supported yet?

3 comments
Comment actions Permalink

Basic support is available since WebStorm 10.0.4 - see https://youtrack.jetbrains.com/issue/WEB-15088

0
Comment actions Permalink

Thank you for the answer, but I tried the option -p myDirWithTsConfig and getting the following error in the TypeScript compiler's view:

Error:Cannot start compiler process:  TypeError: Cannot read property 'compilerOptions' of undefined

0
Comment actions Permalink

Are you using typescript 1.5.0 beta? there is a bug in typescript service in this version that causes the issue. I can suggest downloading the latest Typescript from release branch - https://github.com/Microsoft/TypeScript/tree/release-1.5 - everything works fine for me when using it. Unfortunately it's not yet available via npm...

0

Please sign in to leave a comment.