【问题标题】:Aptana studio 3 include files with functionsAptana studio 3 包含带有函数的文件
【发布时间】:2014-04-26 22:00:59
【问题描述】:

我正在使用 Aptana Studio 3

如果我创建一个 php 文件并添加 2 个函数。 函数 test1() 和函数 test2()

然后我调用了函数 test1,然后我看到了关于这个函数的信息,比如我需要什么类型的变量等等,效果很好。

但现在我有了这个文件结构:

\ralph
 \inc
  functions.php # (here are the 2 test functions now)
 \projects
  \testwebsite
   index.php

在 index.php 中我称之为:

  include('../../inc/functions.php');

当我调用函数 test1 我再也看不到 hte 函数的详细信息了。 有没有办法做到这一点?

拉尔夫

【问题讨论】:

    标签: php aptana aptana3


    【解决方案1】:

    抱歉,我想快速问这个问题: 答案可以在这里找到: How to get my class to appear in Aptana's autocomplete? 当您创建一个项目时,请确保您检查标记 php 而不是 web。 效果很好

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-03-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-21
      相关资源
      最近更新 更多