1. Autocomplete for class variables, etc. For example if I type MyClass-> and it would be real cool if a list of class members, etc. would pop up.
2. If I type a function name that's part of a class outside of the class declaration, it still shows the tooltip for the values it expects. It would be nice if you could do something like the Delphi IDE does where it only shows in the autocomplete the values that would be valid in a certain situation. Here's a little code to demonstrate:
- Code: Select all
class MyClass
{
private $privateval;
function setVal($value)
{
$this->privateval = $value;
}
function getVal()
{
return $this->privateval;
}
}
//Now right here, if I type setVal() it shouldn't give me any tooltip, but it does.
setVal("foo"); //Invalid;
$foo = new MyClass;
$foo->setVal("This works like it should");
//Now, when I type $foo-> it should give me a list of only the methods that belong to that class.
And now, my greatest request of all....Make this work with the files that are included. Say I have a file called "classes.php" that I include in all my php files. It would absolutely rock to see function help, autocompletion, etc. for the classes and functions in includes.
Hopefully that makes some sense. Thanks for the great job you've done so far.