NetBeans auto-completion from included file not working?

前端 未结 3 839
既然无缘
既然无缘 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:13

    Go to Tools->Options-> click on PHP Icon on top -> General tab -> find "Global include path" -> Add Folder ->

    if(onLinux) { choose /var/www; } if(onWindows) { choose c:\path_to_htdocs or whatever; }

    Ah, too much programming for today.. :)

    For me, this repaired autocompletion and ctrl+click on method call.

提交回复
热议问题