“Go to declaration” does not work in Netbeans PHP

后端 未结 18 2441
眼角桃花
眼角桃花 2020-12-13 18:37

Some of my defined classes are not loaded by the IDE when I call Ctrl+B, Go to declaration, Ctrl+click.

I\'m using Windows 7, NetBea

18条回答
  •  长情又很酷
    2020-12-13 19: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.

提交回复
热议问题