nbphpcouncil / nb-ci-plugin

NetBeans plugin for CodeIgniter
Other
49 stars 14 forks source link

Auto complete model functions #8

Open genivaldosc opened 7 years ago

genivaldosc commented 7 years ago

After load a model, the functions and the atributes don’t auto complete.

$this->load->model(“user_dao”); ... $this->user_dao->???

genivaldosc commented 7 years ago

Hi,

I include this:

on CI_Autocompletes.php on path nbproject and it worked!

kenjis commented 7 years ago

I recommned you write @property User_dao $user_dao in your source file.

/**
 * @property User_dao $user_dao
 */
class Foo extends CI_Controller
genivaldosc commented 7 years ago

Thanks for the tip! It is more practical and is similar to include.