Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/security/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php Aptana:您如何像在Dreamweaver中那样使用include()、require()等链接文件?_Php_Aptana_Dreamweaver - Fatal编程技术网

Php Aptana:您如何像在Dreamweaver中那样使用include()、require()等链接文件?

Php Aptana:您如何像在Dreamweaver中那样使用include()、require()等链接文件?,php,aptana,dreamweaver,Php,Aptana,Dreamweaver,在Dreamweaver中,如果您使用include()等,它会将它们识别为资源,然后您可以在页面顶部为它们创建“选项卡”(以及从该文件链接的其他资源,如javascripts等)时在它们之间切换。如何至少让Aptana确认外部资源?目前我使用的是Netbeans,但在此之前我也使用了Aptana 2 在Aptana 2中,它通过以下方式对我起作用: 右键单击项目并选择“属性” 切换到项目性质 选择web作为主要属性 还可以将php作为项目性质进行检查 按CTRL键并将鼠标移到路径/要求上,现在

在Dreamweaver中,如果您使用include()等,它会将它们识别为资源,然后您可以在页面顶部为它们创建“选项卡”(以及从该文件链接的其他资源,如javascripts等)时在它们之间切换。如何至少让Aptana确认外部资源?

目前我使用的是Netbeans,但在此之前我也使用了Aptana 2

在Aptana 2中,它通过以下方式对我起作用:

  • 右键单击项目并选择“属性”
  • 切换到项目性质
  • 选择web作为主要属性
  • 还可以将php作为项目性质进行检查
  • 按CTRL键并将鼠标移到路径/要求上,现在应该可以单击该路径
  • 也许你必须重新启动Aptana。
    如果这不起作用,请尝试将php设置为primary nature。(其中一个设置对我有效)

    嗨,谢谢你的回答-也许我有点笨,但遵循这些说明似乎没有任何区别。。。!将鼠标移到路径/要求上时是否按Ctrl键?Aptana Studio 3用户可以使用“附加PHP资源”上的文档页面: