I found a solution for this in the codeigniter forum.
http://codeigniter.com/forums/viewthread/187641/
I came up with a slightly βsaferβ solution. instead of changing the system files, create a folder called "autocomplete" (or any other name)
t
autocomplete applications
system
user_guide
then create a file (in autocomplete) with the name controller.php with the code below (class CI_Controller, etc.). then copy this file with the name model.php and change the class in this file to CI_Model. Aptana then uses them to reassign their autocomplete. Just add any features you want to autocomplete for each file. (for example, I added CI_Cart, which was not in the original example in this link
(Note that currently this only provides autocomplete for models and controllers. I assume that if you are expanding other classes and need autocompletion, you need to create a new file in the autocomplete folder with a list of all the classes that you want to use for this class see)
class CI_Controller { var $config; var $db; var $email; var $form_validation; var $input; var $load; var $router; var $session; var $table; var $unit; var $uri; var $pagination; var $cart; } ?>
source share