[eluser]gvdvenis[/eluser]
In my case the code completion mainly works, but i suspect that the lack of useful completion hints is due to the architecture of the loading mechanism CI uses. for example:
Code:
class Album extends Controller {
function Album()
{
parent::Controller();
$this->load->model('album_model', 'AlbumModel', TRUE);
$this->AlbumModel->GetSomeRecords(); //<- this doesn't autocomplete and AFAIK there is no IDE that handles this situation.
}
Please correct me if I'm wrong! When using this load mechanism there is no way of getting the code completion to work.
Just to be curious: Why was this approach taken instead of for example this "more common way" of doing things:
Code:
class Album extends Controller {
protected $AlbumModel;
function Album()
{
parent::Controller();
$this->AlbumModel = new model('album_model', TRUE);
$this->AlbumModel->GetSomeRecords(); //<- doing things this way will trigger codecompletion...
}
Anyone any ideas/comments?