Hi Avairet,
> - the "schneimi"'s method for models completion in controllers works
> fine, but it's necessary to copy it in each controllers you create and
> replace "model" by your model name... I've tried to put this in
> AppController, but it doesn't work. Any ideas to add completion for
> all controllers in one place?
Model completion works in all controllers for me with the phpdoc in
the AppController. Maybe your controllers extend Controller and not
AppController.
> - this 2 methods doesn't work if I use Subclipse and check out a cake
> app directory as an Eclipse project. In this case, there are no code
> completion, even Php builtin functions! Any ideas why code completion
> doesn't work with a SVN shared project?
I also remember problems with SVN checkout as a project, it seems like
it isn't handled as a PHP project that way. I use to create a PHP
project first and then use the import for that project to get the data
from SVN.
> - and last, is it possible to take code completion for "components'",
> "behaviors", "elements" and so on?
It should be possible to extend the completion to the other stuff,
e.g. this works for the Session-Component:
/**
* @var SessionComponent
*/
var $Session;
-
Michael
On 13 Nov., 17:56, avairet <[EMAIL PROTECTED]> wrote:
> Hi everybody!
>
> Firstly, excuse me for my simple English...
>
> Then I tell you my own experience with PDT/Cake Code Completion.
> My config : Eclipse Europa 3.3 + PDT 1.0 + Cake 1.2 with advanced
> install/config("Cake core", "app dir" and "webroot dir" in three
> different paths) )
>
> - the "voidstate" example is very cool for helpers methods completion
> in view (file with $helper = new Helper())
>
> - the "schneimi"'s method for models completion in controllers works
> fine, but it's necessary to copy it in each controllers you create and
> replace "model" by your model name... I've tried to put this in
> AppController, but it doesn't work. Any ideas to add completion for
> all controllers in one place?
>
> - this 2 methods doesn't work if I use Subclipse and check out a cake
> app directory as an Eclipse project. In this case, there are no code
> completion, even Php builtin functions! Any ideas why code completion
> doesn't work with a SVN shared project?
>
> - and last, is it possible to take code completion for "components'",
> "behaviors", "elements" and so on?
>
> Thank's for your kind attention and best regards!
>
> Avairet
>
> On 15 oct, 05:35, Mandy <[EMAIL PROTECTED]> wrote:
>
> > I use Easy Eclipse for PHP. I created eclipse_helper.php, copied all
> > of the above and pasted it in the file. Then placed the file in
> > webroot folder, did a Project->Clean->Build (made sure .thtml files
> > are opened by PHP editor).
>
> > However, I still couldn't see code completion when I typed $html->
> > (and then ctrl + space).
>
> > ?
>
> > -Mandy.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---