Home

 

Problems view

While editing resource files, various builders can 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 as errors, as shown in Figure | -5. 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.

RAD v7.5 provides a quick fix for some problems. How to process a quick fix is described in Quick fix.

Figure 8-5 Problems view with warnings notification

Note: The Java builder is responsible for all Java resource files. However, in an enterprise application project, other builders can be used. Builders can be enabled and disabled for each project. Right-click the project in the Package Explorer and select Properties and then Builders.

The Problems view allows you to filter the problems to show only specific types of problems by clicking the View Menu icon , which opens a menu from which you can sort the content or select the Configure Contents dialog (Figure | -6).

Figure 8-6 Configure Contents of Problems view

ibm.com/redbooks