junichi11 / cakephp-netbeans

CakePHP support in NetBeans
http://cakephp.org
71 stars 18 forks source link

code completion not working for NetBeans PHP IDE 7.3 #34

Closed cavcav closed 11 years ago

cavcav commented 11 years ago

Having built the CakePhp starter blog tutorial within NetBeans using the latest version of this plugin, there is no code completion available for the Post class (extends AppModel) within the PostsController class. There is a CakePhp badge on project icon.

junichi11 commented 11 years ago

Probably, I guess that you don't add Post to $uses. i.e. You have to write like the following:

public $uses = array('Post');

Sorry, CakePHP works fine without this in PostsController. But this plugin needs this.

Thanks.

cavcav commented 11 years ago

Oh. I tried a lot of things to fix this but this is the first time I've seen this solution. Do you have a link to more documentation?

Thank you, Junichi

On Fri, Jun 7, 2013 at 9:30 AM, junichi11 notifications@github.com wrote:

Probably, I guess that you don't add Post to $uses. i.e. You have to write like the following:

public $uses = array('Post');

Sorry, CakePHP works fine without this in PostsController. But this plugin need this.

Thanks.

— Reply to this email directly or view it on GitHubhttps://github.com/junichi11/cakephp-netbeans/issues/34#issuecomment-19106743 .

junichi11 commented 11 years ago

You are welcome.

Do you have a link to more documentation?

If you want to know features for this plugin, please try to see README file[1] at first. And please, submit here as new issues if you have some issues. (perhaps, It is faster than other places) You can close this if you solved your problem.

[1] https://github.com/junichi11/cakephp-netbeans/blob/netbeans73/README.md

Thanks.

cavcav commented 11 years ago

I am looking at the Code Completion section in your readme. I am new to NetBeans. It would help to have instruction on where to place the "public $uses" etc... Just feedback. I will try putting it in different places and see if it works. Thank you for your patience.

On Fri, Jun 7, 2013 at 10:07 AM, junichi11 notifications@github.com wrote:

You are welcome.

Do you have a link to more documentation?

If you want to know features for this plugin, please try to see README file[1] at first. And please, submit here as new issues if you have some issues. (perhaps, It is faster than other places) You can close this if you solved your problem.

[1] https://github.com/junichi11/cakephp-netbeans/blob/netbeans73/README.md

Thanks.

— Reply to this email directly or view it on GitHubhttps://github.com/junichi11/cakephp-netbeans/issues/34#issuecomment-19108916 .

junichi11 commented 11 years ago

It would help to have instruction on where to place the "public $uses" etc... Just feedback. I will try putting it in different places and see if it works

If you don't know place for putting public $uses, $components, e.t.c. , you should look at CakePHP's documents ;)

e.g. $uses, $components, $helpers:

class PostsController extends AppContoller {
    public $uses = array('Post', 'Comment', ...);
    public $components = array('Session');
    public $helpers = array('Html', 'Form');
}

If you have some problems, please feel free to reopen this issue.

Thanks.