TypeScript Compiler Tool Window
On this page:
Current Errors Pane
The pane shows a list of all the discrepancies detected in the file which is opened in the active editor tab. At the top the full path to the file is displayed. For each discrepancy, WebStorm provides a brief description and information about the line number where the error occurred. In addition to this you can navigate to the code in question right from the corresponding error message by choosing Jump to Source on the context menu.
Project Errors Pane
The pane shows a list of all the discrepancies detected in all the files in the current project after you run the built-in compiler against the entire project
by clicking on the toolbar. The error messages are grouped by files in which they were detected.
For each discrepancy, WebStorm provides a brief description
and information about the line number where the error occurred.
In addition to this you can navigate to the code in question right from the corresponding error message
by choosing Jump to Source on the context menu.
Toolbar
The toolbar is common for the Current Errors and the Project Errors panes.
Item | Tooltip and Shortcut | Description |
---|---|---|
![]() | Compile Current File |
Click this button
to run the compiler against the entire file opened in the active editor tab.
This approach is helpful if you do not want the compiler to wake up on any change as you edit your code
and for this purpose the Track Changes check box
on the TypeScript page of the Settings dialog box is cleared.
If you click this button from the Project Errors pane, after compilation WebStorm switches to the Current Errors pane. |
![]() | Compile All | Click this button to run the compiler against all the TypeScript files in the current project. If you click this button from the Current Errors pane, after compilation WebStorm switches to the Project Errors pane. |
![]() | Close Ctrl+Shift+F4 | Click this button to terminate the compiler and close the tool window. |
![]() ![]() | Expand all
Ctrl+NumPad Plus Collapse all Ctrl+NumPad - | Use these buttons to have all nodes expanded or collapsed. |
![]() | Clear All | Click this button to remove all the error messages from the currently active pane. |
Context Menu
The context menu is common for the Current Errors and the Project Errors panes.
Console
The tab shows the log of the built-in compiler since the tool window was opened.