Netbeans PHP (Mac OSX) 不包含完整的 PHP 代码完成功能


Netbeans PHP (Mac OSX) doesn't include full PHP Code Completion?

我刚刚下载了带有 PHP 捆绑包的 Netbeans,但是当我运行它时,没有完整的 php 代码完成。

对于非常基本的示例:

  • mysql_fetch_array
  • substr
  • explode

即使在 PHP 中完成这种基本功能/方法/等代码,它也不会出现。那么 Netbeans with PHP Bundle 有什么用呢?为什么它被捆绑为 PHP,甚至没有代码完成作为基本需求?

有人知道我怎样才能让它工作吗?

我仍然不明白你的问题。例如,对于mysql_fetch_array,NetBeans IDE 提供了代码完成选项mysql_fetch_array($result) 和 mysql_fetch_array($result, $result_type='MYSQL_BOTH')。对于 substr,NetBeans 提供了 substr($string, $start) 和 substr($string, $start, $length=null)。除此之外,你还期待什么?此外,您可能会在 NetBeans PHP 用户论坛上更成功地发帖