dqz30992 2016-11-16 21:29
浏览 312

Netbeans缺少PHP的代码提示

I'm having a problem with Netbeans 8.1 working on Symfony2 project - I don't have any code hints and autocomplete suggestions. It applies to both userland code written by me and autoloaded from vendors.

For example when I want to implement an interface, there's no hint for missing methods. I don't even get autocomplete for $this.

I already tried to clear cache directory with no success.

My Netbeans info:

Product Version: NetBeans IDE 8.1 (Build 20151231-debian-8.1)

Java: 1.8.0_111; OpenJDK 64-Bit Server VM 25.111-b14

Runtime: OpenJDK Runtime Environment 1.8.0_111-8u111-b14-2ubuntu0.16.04.2-b14

Running on Ubuntu 16.04.1 LTS

Perhaps someone had that problem?

  • 写回答

2条回答 默认 最新

  • duanshangying5102 2016-11-17 01:16
    关注

    I had this problem when I excluded vendors directory in Netbeans project properties. I did it when I wanted Netbeans to use code sniffer. Maybe you'll find it helpful information.

    评论

报告相同问题?

悬赏问题

  • ¥15 matlab有关常微分方程的问题求解决
  • ¥15 perl MISA分析p3_in脚本出错
  • ¥15 k8s部署jupyterlab,jupyterlab保存不了文件
  • ¥15 ubuntu虚拟机打包apk错误
  • ¥199 rust编程架构设计的方案 有偿
  • ¥15 回答4f系统的像差计算
  • ¥15 java如何提取出pdf里的文字?
  • ¥100 求三轴之间相互配合画圆以及直线的算法
  • ¥100 c语言,请帮蒟蒻写一个题的范例作参考
  • ¥15 名为“Product”的列已属于此 DataTable