Vista Problemi

Quando si utilizzano le risorse nel workbench, diversi generatori possono registrare automaticamente problemi, errori o avvisi nella vista Problemi. Ad esempio, quando viene salvato un file di origine Java contenente errori di sintassi, gli errori verranno registrati nella vista Problemi. Facendo doppio clic sull'icona relativa a un problema, un errore o un avviso, l'editor associato a quella risorsa verrā aperto automaticamente alla relativa riga di codice. 

Immagine della vista Problemi con due avvisi aggiunti.

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

Immagine delle opzioni Filtri.

Problems can be fixed by selecting Quick Fix from the context menu. The list of possible resolutions will be shown. To fix other similar problems, you can select Find Similar Problems to locate other problems in the view that the same fix can be applied to.


Per aggiungere la vista Proprietā alla prospettiva corrente, scegliere Finestra > Mostra vista > Altro... > Generale > Problemi.

Argomenti correlati
Indicatori
Segnalibri
Vista Attivitā

Attivitā correlate
Apertura delle viste
Spostamento e ancoraggio delle viste
Correzione automatica di problemi