22 ms·
This isn't really the place for it but I really wish that both Webstorm and Resharper used the actual typescript compiler for its tooling (like vscode) vs handr
by dested 10y ago
This isn't really the place for it but I really wish that both Webstorm and Resharper used the actual typescript compiler for its tooling (like vscode) vs handrolling their own. Now I have to wait until Webstorm 2016.3 to see the full benefit of 2.0, rather than getting it for free by just updating typescript. Not to mention the obscene number of typescript edge case inconsistencies in the warnings, errors, and refactorings.
- CraigJPerry 10y agoYou've been able to configure your own tsc for a while, at least in IDEA anyway.
- jffry 10y agoWebstorm does as well. It's in the settings, under Languages > Typescript. You have set "TypeScript version" to "Custom" and give it the path to your "node_modules/typescript/lib", and then also check the box to "Use Typescript Service (Experimental)". It's marked as experimental, but has worked flawlessly for me on a moderately sized project using typescript 2.0.0@beta
- dested 10y agoI more meant in the form of tooling, not compiling. The intellisense that it provides is often incorrect vs VSCode which asks tsc what the intellisense is, making it always correct.
- jameslk 10y agoThis is possible if you look closely at the settings for TypeScript in IDEA/WebStorm: > Select the Use TypeScript Service check box to get native support from the TypeScript Language Service according to the up-to-date specifications. In this case syntax and error highlighting is performed based on the annotations retrieved from the TypeScript Language Service while code completion lists contain both suggestions from the TypeScript Language Service and suggestions calculated by IntelliJ IDEA itself. https://www.jetbrains.com/help/idea/2016.2/typescript-support.html#d827982e95 https://www.jetbrains.com/help/idea/2016.2/typescript-suppor...