phpstorm6 yii code complete issue

i enable plugin "Framework MVC Structute Support" and install YiiStorm plugin from repo, i do the same config as this url

http://www.yiiframework.com/wiki/92/configuring-phpstorm-ide-for-yii

but i find there still some classes can not be auto completed, such as "CDataProvider", "IDataProvider"

CHtml, CJSON, Yii, etc auto completed fine.

how can i do?

thanks for your great work.








here is the steps to config for yii app

Notes on Configuring PhpStorm Mac OS X for Yii

In PhpStorm for Mac OS X, there are some differences:

  1. Exclude
    yiilite.php
    from index:
    • PhpStorm → Preferences → [IDE Settings] File Types
      .
    • Append
      yiilite.php
      to
      Ignore files and folders
      field.
  2. Exclude not used directories, specify resources.
    • PhpStorm → Preferences → [Project Settings] Directories
      .
    • Mark
      framework/cli/views
      ,
      protected/runtime
      and
      assets
      as
      excluded
      .
    • Mark website root as
      resource root
      .
  3. Specify path to your PHP.
    • Set the Interpreter path. E.g.
      /Applications/MAMP/bin/php/php5.3.6/bin
    • PhpStorm → Preferences → [Project Settings] PHP
      .
  4. If your project uses common Yii framework folder you need to include it.
    • PhpStorm → Preferences → [Project Settings] PHP → Add
      .
    • Specify a path to
      framework
      directory.
  5. If you are writing unit tests you can include PHPUnit to get code completion:
    • PhpStorm → Preferences → [Project Settings] PHP → Add
      .
    • Specify a path to PHPUnit.

Please sign in to leave a comment.