Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get a list of files with errors in PhpStorm

Tags:

phpstorm

In PhpStorm I get a read mark on the upper right side of the code window if there's a PHP bug in the file. That's great. What I like to have is a list of all files which have this read mark.

Any ideas?

like image 320
BetaRide Avatar asked Oct 03 '12 12:10

BetaRide


People also ask

How to find error in PhpStorm?

PhpStorm analyzes the code from the modified files by running inspections from the selected profile. If any errors or warnings are detected, you will see a notification. In the notification, click Review to see the list of the detected problems in the Messages tool window.

How do I find a file in PhpStorm?

From the main menu, select Edit | Find | Find in Files Ctrl+Shift+F . In the search field, type your search string. Alternatively, in the editor, highlight the string you want to find and press Ctrl+Shift+F . PhpStorm places the highlighted string into the search field.

How do I save a file in PhpStorm?

You can always save your changes manually: Press Ctrl+S or select File | Save All from the main menu.


1 Answers

To get the list of all files with errors and warnings use Code | Inspect Code. It's possible to specify what inspection profile to use, which directories to scan. Custom Scope provides a flexible way to include/exclude certain directories or files from the inspection results.

like image 60
CrazyCoder Avatar answered Oct 05 '22 01:10

CrazyCoder