natanfelles / codeigniter-phpstorm

PhpStorm Code Completion for CodeIgniter 3
https://natanfelles.github.io/blog/codeigniter-code-completion-phpstorm.html
204 stars 101 forks source link

method won't populate from another module #8

Closed adrianmak closed 7 years ago

adrianmak commented 7 years ago

instead of loading a module in this way, $cart = Modules::load('cart');

I used to use $this->load->module("cart"); $this->mymodule->cart(5);

The code complete seems not working, it will not populate the method from cart module

natanfelles commented 7 years ago

See #5 and add your custom classes inside MX_Controller in phpstorm.php.