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.

Example:

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

* Pressing CTRL + Space => "No Suggestion"

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



Attachment(s):
phpstorm_autocomplete_1.jpg
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:

0

Please sign in to leave a comment.