Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Feature Request (Syntax warning and errors)
Feature Request (Syntax warning and errors) [message #12989] Mon, 09 April 2007 21:21
Eclipse UserFriend
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.
Previous Topic:No support for german charset?
Next Topic:Getting XDebug plugin to work
Goto Forum:
  


Current Time: Thu Apr 25 11:02:46 GMT 2024

Powered by FUDForum. Page generated in 0.02875 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top