| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| <html lang="en"> |
| <head> |
| <meta name="copyright" content= |
| "Copyright (c) IBM Corporation and others 2000, 2011. 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=utf-8"> |
| <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" type="text/javascript"></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.</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 configure the contents of the Problems view to view only warnings and errors associated with |
| a particular resource or group of resources. This is done using the <b>Filters</b> dialog available from the drop |
| down menu. You can add multiple filters to the Problems view and enable or disable them as required. Filters can |
| either be additive (any problem that satisfies at least one of the enables filters will be shown) or exclusive (only |
| problems that satisfy all of the filters will be shown) The two most popular filters (All Errors and Warnings on |
| Selection) are provided by default.</p> |
| <p>Problems can be fixed by selecting <b>Quick Fix</b> from the context menu. The list of possible resolutions will |
| be shown in a 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.svg" alt="command link"> <b>Window > Show View > Other... |
| > General > Problems</b></a>.</p> |
| <h3 class="related">Related concepts</h3><a href="concepts-11.htm">Markers</a><br> |
| <a href="cbookmrk.htm">Bookmarks</a><br> |
| <a href="ctskview.htm">Tasks view</a><br> |
| <h3 class="related">Related tasks</h3><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> |
| </body> |
| </html> |