Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Workbench User Guide
Previous Page Home Next Page

Problems view

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. 

Picture of the Problems view with two warnings added to it.

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 Group By menu.

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.

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 Configure Contents 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.

Picture of the Filters options.

Problems can be fixed by selecting Quick Fix from the context menu. The list of possible resolutions will be shown.


Picture of the Quick Fix dialog

To add the Problems view to the current perspective, click Window > Show View > Other... > General > Problems .

Related concepts
Markers
Bookmarks
Tasks view

Related tasks
Opening views
Moving and docking views
Automatically fixing problems


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire