How to get Eclipse to tell me if PHP variable is used or not [message #61491] |
Thu, 22 November 2007 09:32  |
Eclipse User |
|
|
|
Originally posted by: edward.tanguay.meteo-graphics.de
I used Eclipse in a PHP project once where Eclipse would underline
variables that were:
- defined but not used
- used by not defined
This was a wonderful help especially in PHP where a typo such as this:
$numberOfReports = 10;
..
..
..
echo $NumberOfReports;
will just show blank and not give you an error. I believe it even created
a "warning" in the Errors View which was nice.
Does anyone know how to configure Eclipse to have this "variable scope
integrity" feature which is so helpful in catching little typos in
variables like this?
Thanks,
Edward Tanguay
http://www.tanguay.info/web
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02875 seconds