Compilation error navigation Follow
Is it possible to add support to the WebStorm to be able to click on an error from the compilation and navigate to the piece of offending code? This is a great feature in Visual Studio Code.
Please sign in to leave a comment.
what compilation errors are meant? this definitely works for the errors reported by the built-in compiler service. But compilers/linters/etc. incorporated in different bundlers, like webpack, produce their outputs in different formats (depending on the loaders being used, thier versions, etc.), there is no generic solution that would work in all possible cases
I am compiling the Angular application with the ng-cli from the Terminal. Is there a better way to do it?
https://cl.ly/b4af9c3f164f
Terminal doesn't support clickable stack traces - https://youtrack.jetbrains.com/issue/IDEA-118566
The easiest way to run npm scripts in the IDE is using gutter icons in
package.json
: open it in editor and click the green arrow near the desired script. See https://blog.jetbrains.com/webstorm/2018/01/webstorm-2018-1-eap/, Run icons for npm taskYou can also start scripts from NPM tool window, or create NPM configurations manually in Run | Edit configurations..
But unfortunately NPM console doesn't yet support parsing webpack
ts-loader
output, see https://youtrack.jetbrains.com/issue/WEB-22867It has been reported for ~1.5 years now. What is the priority? If it is not done by April (my next renewal), then I will just switch to VS Code.