NetBeans auto-completion from included file not working?

前端 未结 3 841
既然无缘
既然无缘 2021-02-05 20:35

I have a file named config.php, and i have other files includes config.php. When editing one of files, I use an object from config.php and it autocompletes name of the object. B

3条回答
  •  深忆病人
    2021-02-05 21:10

    From netbeans go to tools->options Go to editor selection and from code Completion select php for languages section. This will expand menu and you will see a section Code Completion for Class Methods

    Set that configuration by selecting checkboxes on that section. enter image description here

    I hope I understood this right. I use netbeans too and I am able auto-complete after I change my netbeans settings.

提交回复
热议问题