PHPStorm & NetBeans autocomplete problem

Comparing #1 with #2

Content

The problem: If you type Yii::app()->user<ctrl+space> code completion didn't work. This solve it.
 
 
 
PHPStorm 5
---------

1. /yii/framework/yii.php right click "Mark as Plain text"
2. Create new php file in your project /protected directory named yii.php with this content:
[...]