1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
5
<meta http-equiv="Content-Language" content="en-us">
6
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
7
<title>Console view</title>
8
<link rel="stylesheet" type="text/css" href="../help.css">
9
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"></script>
12
<h1 role="main">Console view</h1>
14
<p>The <img src="../images/command_link.png" alt="" > <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=org.eclipse.ui.console.ConsoleView)")'>Console</a> view displays the output of a process and allows you to provide keyboard input to a process. There are numerous consoles available, see the Open Console dropdown list for those available to you. </p>
15
<p><img src="../images/view_console.png" alt="Console View"></p>
17
The output console shows several different kinds of text, each in a different color:
20
<li>Standard output</li>
21
<li>Standard error</li>
22
<li>Standard input</li>
24
<p>Build console provides also highlighting of build problems. You can use double-click on a highlighted line
25
to open code in an editor when error parsers are able to determine file and line from build output.
27
<p>You can choose the different colors for these kinds of text on the <a href="cdt_u_console_pref.htm">Console</a> preferences panel.
30
<h2>Console view toolbar</h2>
31
<p>The table below lists the toolbar options displayed in the <strong>Console</strong> view. Note that toolbar options may differ between the various consoles.</p>
33
<table border="1" cellpadding="4" cellspacing="0" bordercolor="#DDDDDD" width="600px">
35
<col width="5%" valign="top" >
36
<col width="20%" valign="top" >
37
<col width="75%" valign="top" >
41
<th id="icon">Icon</th>
42
<th id="icon-name">Name</th>
43
<th id="icon-description">Description</th>
47
<td style="text-align:center;" valign="top" headers="icon"><img src="../images/icon_next_error.png" alt="next error icon"></td>
48
<td valign="top" headers="icon-name">Next Error</td>
49
<td valign="top" headers="icon-description">Show the next error in the Console view.</td>
52
<td style="text-align:center;" valign="top" headers="icon"><img src="../images/icon_prev_error.png" alt="previous error icon"></td>
53
<td valign="top" headers="icon-name">Previous Error</td>
54
<td valign="top" headers="icon-name">Show the previous error in the Console view.</td>
57
<td style="text-align:center;" valign="top" headers="icon"><img src="../images/icon_show_error.png" alt="show error icon"></td>
58
<td valign="top" headers="icon-name">Show Error in Editor</td>
59
<td valign="top" headers="icon-description">Toggle to synchronize the selected error with the Editor view (default).</td>
62
<td style="text-align:center;" valign="top" headers="icon"><img src="../images/icon_save_output_file.png" alt="save output file icon"></td>
63
<td valign="top" headers="icon-name">Copy Build Log</td>
64
<td valign="top" headers="icon-description">Copy build output to file.</td>
67
<td style="text-align:center;" valign="top" headers="icon"><img src="../images/icon_con_scroll_lock.png" alt="Scroll Lock icon"></td>
68
<td valign="top" headers="icon-name">Scroll Lock</td>
69
<td valign="top" headers="icon-description">Toggles the Scroll Lock.</td>
72
<td style="text-align:center;" valign="top" headers="icon"><img src="../images/icon_clear_console.png" alt="Clear Console icon"></td>
73
<td valign="top" headers="icon-name">Clear Console</td>
74
<td valign="top" headers="icon-description">Clears the current console.</td>
77
<td style="text-align:center;" valign="top" headers="icon"><img src="../images/icon_con_pin.png" alt="Pin Console icon"></td>
78
<td valign="top" headers="icon-name">Pin Console</td>
79
<td valign="top" headers="icon-description">Forces the Console view to remain on top of other views in the window area.</td>
82
<td style="text-align:center;" valign="top" headers="icon"><img src="../images/icon_con_disp_console.png" alt="Display Selected Console icon"></td>
83
<td valign="top" headers="icon-name">Display Selected Console</td>
84
<td valign="top" headers="icon-description">If multiple consoles are open, you can select the one to display from a list.</td>
87
<td style="text-align:center;" valign="top" headers="icon"><img src="../images/icon_open_console.png" alt="open Console icon"></td>
88
<td valign="top" headers="icon-name">Open Console</td>
89
<td valign="top" headers="icon-description">Opens a new console to display the log for: <br>
91
<li>New Console View</li>
92
<li>Program Output Console</li>
93
<li>Windows Program Output Console</li>
94
<li>CVS, and others based on installed features</li>
100
<h2>Console view context menu</h2>
101
<p>When you right-click in the <strong>Console</strong> view
102
(or when you press <strong>Shift+F10</strong> when the focus is on the <strong>Console</strong> view),
103
you see one or more of the following options in a context menu depending on the console view visible:
106
<table border="1" cellpadding="4" cellspacing="0" bordercolor="#DDDDDD" width="600px">
108
<col width="30%" valign="top" >
109
<col width="70%" valign="top" >
113
<th id="name">Name</th>
114
<th id="description">Description</th>
118
<td headers="name"><strong>Clear</strong></td>
119
<td headers="description">Clears the current console.</td>
122
<td headers="name"><strong>Editor options: Cut, Copy, Paste, Select All</strong></td>
123
<td headers="description">These options perform the standard edit operations. Which options are available depends on where the focus is in the <strong>Console</strong> view. For example, you cannot paste text into the program output, but you can paste text to the bottom of the file.</td>
126
<td headers="name"><strong>Go to Line</strong></td>
127
<td headers="description">Opens a dialog that moves the focus to the line you specify. The dialog also indicates the total number of lines in the console buffer.</td>
130
<td headers="name"><strong>Find/Replace...</strong></td>
131
<td headers="description">Opens a <strong>Find/Replace</strong> dialog that operates only on the text in the <strong>Console</strong> view.</td>
134
<td headers="name"><strong>Open Link</strong></td>
135
<td headers="description">Select to follow a detected hyperlink in any console view that supports. For example, the CVS console.</td>
138
<td headers="name"><strong>Scroll Lock</strong></td>
139
<td headers="description">Toggles the Scroll Lock.</td>
143
<p><img src="../images/ngref.gif" ALT="Related references" width="143" height="21">
144
<br><a href="../reference/cdt_o_views.htm">C/C++ Views and Editors</a>
145
<br><a href="../tasks/cdt_t_proj_error_parser.htm">Tuning Error Parsers</a>
149
<img src="../images/rh03_04.gif" ALT="Red Hat Copyright Statement"> <br>
150
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
b'\\ No newline at end of file'