Autocomplete on array index not working (osx - 4.0.3)

I cannot get autocompletion on array indizes to work, any hint why this doesnt work for me.


$opt = array();
$opt["test1"] = 'test1';
$opt["test2"] = array();

* Pressing CTRL + Space => "No Suggestion"

I'm on OSX, phpstorm version is 4.0.3, JDK 1.6.0_26

1 comment
Comment actions Permalink

Hi Patrick,

It works ... but only in global scope. Unfortunately it still does not work inside class method or normal function body :( .

Main ticket:

Kind of related tickets:


Please sign in to leave a comment.