Hello,

It does not work. I may miss understand your suggestion. However, the
code that I talk about is the code found in the Blig tutorial:
http://book.cakephp.org/view/334/Create-a-Post-Model

I use Eclipse Version 3.4.1. I'm new into Eclipse and CakePHP.

On Jul 8, 11:27 am, schneimi <michael.schne...@arcor.de> wrote:
> Hi,
>
> for code completion in controllers, you can declare the vars and use
> phpdoc in your app_controller.php:
>
>  /**
>   * @var CookieComponent
>   */
>  var $Cookie;
>
>  /**
>   * @var Yourmodel
>   */
>  var $Yourmodel;
>
> For completion of helpers in views, you have to create an arbitrary
> file in you app folder with some instantiated helpers (that are never
> really instantiated because the file isn't included):
>
> $html = new HtmlHelper();
> $javascript = new JavascriptHelper();
>
> Regards,
>
> Michael
>
> On 8 Jul., 00:33, saidbakr <said....@gmail.com> wrote:
>
>
>
> > Hello,
>
> > I'd like to know how to use Eclipse and CakePHP combination to develop
> > a web application. I don't care about svn or development in teamwork.
> > I just need Eclipse to autocomplete all the code.
>
> > For example: In the Blog Tutorial on Cakephp.org Create a Posts
> > Controller section of the tutorial regards a code as follows:
> > ...
> > $this->set('posts', $this->Post->...
>
> > The last Post does not posses any autocomplete list for its methods
> > and properties. I like it to show such list and I don't know how to
> > make Eclipse do it like it do for $this->.- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to