WebStorm has integration with many popular linting tools that allows you to see the errors and warnings from these linters right in the editor. All refactorings are powered by WebStorm. WebStorm will also add the results provided by the Angular service to code completion, wherever possible. You’ll see all the errors and warnings in your TypeScript and HTML files not only in the editor, but also in the TypeScript tool window. WebStorm will start the service together with the TypeScript service. Important: Due to some limitations of the service, please use it with Angular 2.3.1 or higher and with TypeScript 2.0.10. To enable the service, first, run the following in your project root: WebStorm adds integration with the Angular language service, developed by the Angular team to improve code analysis and completion for Angular-TypeScript projects. Integration with the Angular language service suffix and is located either next to a file or in a test folder. The new Go to test action ( Shift-Cmd-T on macOS or Ctrl+Shift+T on Windows & Linux) lets you quickly navigate from a file to a related test file that follows popular naming conventions, e.g. This will work both for Mocha and Karma.ĭon’t forget that you can also run Mocha tests with a shortcut: place the caret on a test or a suit name and press Ctrl-Shift-R on macOS or Ctrl+Shift+F10 on Windows & Linux. You will see how their status changes in the editor, even if you have previously hidden the tool window. To do so, click the Toggle auto-test icon on the left-hand side of the test tool window. You can also re-run tests automatically on changes. The run and debug actions will be still available on a click. Once you’ve run the tests, the icon will show their status – green circles for passed tests, red for failed ones. Click on an icon next to the test or the suit name and select Run or Debug. Now it’s even easier to run Mocha tests with the new Run icon on the gutter. Many more are coming after the holiday season. Since we released WebStorm 2016.3 a month ago, we’ve mostly focused on fixes, but also managed to add some new features in WebStorm 2017.1 EAP. Download WebStorm 2017.1 EAP, build 171.1834.8, here and install it side by side with your current stable WebStorm. Today we start the Early Access Preview for WebStorm 2017.1 (EAP).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |