ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Autocomplete in Eclipse for Codeigniter 2

April 27, 2012 3:57am

Subscribe [1]
  • #1 / Apr 27, 2012 3:57am

    mah30

    1 posts

    I found this article about Eclipse autocomplete for Codeigniter 2 & it worked 😊

    autocomplete in Eclipse for codeigniter 2

    after applying those changes when you type

    $this->

    within a function Eclipse suggests all the included classes & methods e.g load

    & if you choose

    $this->load->

    it suggests all the methods of the “load” class
    e.g view ... & preview its parameters 😉

  • #2 / Apr 27, 2012 4:08am

    vrencianz

    60 posts

    Good trick. Thx!

  • #3 / May 04, 2012 1:41am

    vrencianz

    60 posts

    Just an additional observation.

    More autocompletion is possible.  If you want to have auto-completion on the dbforge class for example, just add (as the tutorial says):

    /**
      * @var CI_DB_forge
      */
     var $dbforge;

    to the core Controller and Model classes.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases