blob: 8ae7f7f30c84730ccbd80f2ac40bb67fe38605b0 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML>
<HEAD>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<LINK REL="STYLESHEET" HREF="../book.css" CHARSET="ISO-8859-1" TYPE="text/css">
<title>Problems view (concept)</title>
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"> </script>
</head>
<body>
<H1 CLASS="Head">Problems view</H1>
<P CLASS="Para"> As you work with resources in the workbench, various builders
may automatically log problems, errors, or warnings in the Problems view. For
example, when you save a Java source file that contains syntax errors, those
will be logged in the Problems view. When you double-click the icon for a problem,
error, or warning, the editor for the associated resource automatically opens
to the relevant line of code.&nbsp;</P>
<p><img src="../images/prob.png" alt="Picture of the Problems view with two warnings added to it." border="0" ></p>
<p CLASS="Head">By default the problems view will group your problems by severity.
You can also group them by type or not at all. Certain components will add their
own grouping. For instance the Java development tools (JDT) support adds a Java
Problem Type group. The grouping can be selected using the <b>Group By</b> menu.</p>
<p CLASS="Head">The first column of the Problems view displays an icon that denotes
the type of line item, the category and the description. Left-click the item to
open the file in an editor and highlight the line containing the problem.
</p>
<p CLASS="Head">You can filter the Problems view to view only warnings
and errors associated with a particular resource or group of resources. You can
add multiple filters to the problems view and enable or disable
them as required. Filters are additive so any problem that satisfies at least
one of the filters will be shown.</p>
<p><img src="../images/prbfil.png" alt="Picture of the Filters options." border="0" ></p>
<p>Problems can be fixed by selecting <b>Quick Fix</b> from the context menu. The list
of possible resolutions will be shown. To fix other similar problems,
you can select <b>Find Similar Problems</b> to locate other problems
in the view that the same fix can be applied to. </p>
<p><br>
<img src="../images/prb_quickfix.png" alt="Picture of the Quick Fix dialog"></p>
<p CLASS="Head">
To add the Problems view to the current perspective, click
<a class="command-link" href='javascript:executeCommand("org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=org.eclipse.ui.views.ProblemView)")'>
<img src="PLUGINS_ROOT/org.eclipse.help/command_link.png">
<b>Window &gt; Show View &gt; Other... &gt; General &gt; Problems</b></a>.
</p>
<p><img border="0" src="../images/ngrelc.png" alt="Related concepts" ><br>
<a href="concepts-11.htm">Markers</a><br>
<a href="cbookmrk.htm">Bookmarks</a><br>
<a href="ctskview.htm">Tasks view</a><br>
</p>
<p><img border="0" src="../images/ngrelt.png" alt="Related tasks" ><br>
<a href="../tasks/tasks-3.htm">Opening views</a><br>
<a href="../tasks/tasks-3e.htm">Moving and docking views</a><br>
<a href="../tasks/tquickfix.htm">Automatically fixing problems</a><br>
</p>
</body>
</html>