code completion in view when using framework (in this case Yii)

Hi

i added

 
/**
 * @var $this ActivityController
 */

in views/Activity/index.php and now i can get codecompletion with $this. but there are still some  variables which ar enot coming up in auto complete such as variables passed by render() method.

how I can get codecompletion for them . see screenshot for example.render variable- 23.03.2012 , 13_57_54.png


thanks

3 comments
Comment actions Permalink

Hi there,

PhpStorm has no special support for Yii or any other framework. If some variable is passed using some special methods, you have to declare them manually to have code completion -- the same way how you did for $this.

0
Comment actions Permalink

Thanks. Now I know bit better.
Is there any plan to support Yii in future? It is not that it is required feature to have in IDE but It would be nice to have  it

0
Comment actions Permalink

Please watch/vote/comment this ticket: http://youtrack.jetbrains.com/issue/WI-322 (I don't expect this to be implemented any time soon .. considering other more important features/tickets ... maybe v7 or something like that)

0

Please sign in to leave a comment.