Feature Request (Syntax warning and errors) [message #12989] |
Mon, 09 April 2007 21:21 |
Eclipse User |
|
|
|
Originally posted by: eduardo.almeida.gmail.com
Hi,
I don't know if this is the right place for this, if it is not, sorry.
I just used truStudio (http://www.xored.com/trustudio), there were lot of
problems :) but it has a very nice feature. It shows syntax errors that
are not necessary syntax error. Like:
<?php
echo $x;
?>
It would make a warning: $x variable not yet defined.
It has a lot of other things like:
break outside of loop
not all ways return a value
use of potentially undefined variable
use of undefined global identifier
use of undefined member
wrong number of parameters to function
unreachable code
assignment has no effect
constant expression in if
unused parameter
local variable is never used
etc
You can configure all this things to Error, warning or ignore.
To me it is VERY useful because a lot of annoying bugs are typos.
With some support, I think I can help implementing this feature.
|
|
|
Powered by
FUDForum. Page generated in 0.02744 seconds