Hello,
it would be great to have possibility to help autocomplete engine. If programmer knows something that autocomplete engine doesn't know, programmer could write tags in comments to declare that some variable is of some type.
For example, suppose I have a
class Foo and local
variable $foo (instance of Foo type,
but autocomlete engine can't know this).
$foo = $bar['foo']; // <-- autocomplete engine doesn't know the type of $foo, but programmer does know it
|
The solution could be something like this:
$foo = $bar['foo']; //@ide: $foo is Foo
|
For now I always do the workaround like this
//$foo = new Foo(); // <-- when I'm writing a code, I always have to uncomment this line and comment the next line
$foo = $bar['foo'];
|