CLion 2016.1 Help

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, CLion 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 icon_ts_compile_all.png on the toolbar. The error messages are grouped by files in which they were detected. For each discrepancy, CLion 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.

ItemTooltip
and Shortcut
Description
icon_ts_compile_current_file.png.png 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 CLion switches to the Current Errors pane.

icon_ts_compile_all.png 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 CLion switches to the Project Errors pane.
close Close Ctrl+Shift+F4 Click this button to terminate the compiler and close the tool window.
img
img
Expand all
Ctrl+NumPad Plus
Collapse all
Ctrl+NumPad -
Use these buttons to have all nodes expanded or collapsed.
clear_all 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.

Item Description
Jump to source Choose this option to open the file where the selected error occurred during compilation and navigate to the fragment of code which caused the error.
Copy Choose this option to copy the selected error message with the information on the file, the line, and the column where the error occurred during compilation.

Console

The tab shows the log of the built-in compiler since the tool window was opened.

See Also

Reference:

Last modified: 20 July 2016