vexus2 / CakeStorm

CakeStorm is a PhpStorm plugin for CakePHP users.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support AutoComplete

vexus2 opened this issue · comments

Thank you for your advice!

I believe without writing the Annotation, want to work the Code Completion.
For example, such a reading model described $uses()

Yup, but IMO writing it everytime for every View/Model/Controller is not as we regard as DRY. :P

Currently I have no sufficient Java experience to implement this so we have to wait for @nanapi.

Hi,

Good to know,

We can have models and components auto-completion by adding annotations but the real problem is helpers.
I don't any way to add completion for custom helpers in views besides the adding annotations in View class but there is one issue in this case you will have all helpers in all view not just controller helpers.

It will be really helpful if you find any way to link controllers to view and really awesome if we can have views variables completions (from $this->set('var', $var)).

Regards

One of the drawbacks of the Cake is a huge usage of "magic".

I think the only way is to tokenize things like set, loadModel and public $helpers.

This is an unproductive comment, just to show my interest for this feature.
Can you please give us some news ?

This sounds like a Scam. Everybody watch out!

Let's report it.