Hello,
I love NuSphere's PHPEd but one useful feature which I have seen in other PHP IDEs which I found missing in PHPEd is visible feedback to indicate undeclared / non-assigned variables. Although it is useful that variables in PHP do not need to be declared, one of the most common mistakes is to mis-type a variable name. Editors like PHP storm display variables used in statements which have not been previously assigned a value in gray. This way it is easy to spot immediately when you have mistyped a variable name or forgot to assign it a value, as normally all variables are assigned a value before they are used.
Example:
public function showInformation() {
$first_name = "Pete";
echo $first_name . " " . $last_name; //$last_name would be shown in gray as it hasn't been assigned a value yet
}
|
Would this be something which could be added to the Editor to make it even more useful than it is now?
Many thanks
Jitse