Aptana 3 php 无法激活函数链接和变量辅助 [英] Aptana 3 php can't activate function linking and variable assist
问题描述
我刚刚升级到 Aptana 3,似乎失去了一些我在 Eclipse 中拥有的强大功能.到目前为止,我不知道如何重新启用它.
I just upgraded to Aptana 3 and seem to have lost some of the great functionality I had in Eclipse. So far I can't figure out how to re-enable it.
具体来说,我需要重新开启这两个功能:
Specifically, I need these 2 functions turned back on:
FileUpload::checkForExistingUploadPath('./somepath');
以前,将鼠标悬停在checkForExistingUploadPath"路径上会超链接它,我可以直接跳转到该类中的该函数.它仍然突出显示文件上传"部分,但不是功能.它甚至不会跳转到同一个类中的函数.
Previously, hovering over the 'checkForExistingUploadPath' path would hyperlink it and I could jump straight to that function in that class. It still hightlights the 'FileUpload' part, but not the function. It won't even jump to functions within the same class.
另一部分是让我知道该函数使用了哪些变量.以前,您可以将鼠标悬停在checkForExistingUploadPath"上,它会显示
The other part is letting me know what variables are used by that function. Previously you could hover over 'checkForExistingUploadPath' and it would say
checkForExistingUploadPath($var1, $var2 = true, $etc);
即它提供了变量名称和顺序.
i.e it provided the variable names and order.
任何有关重新打开这些功能的帮助将不胜感激 - 我相信特别偏好有我需要的其他好东西.
Any help on switching these back on would be appreciated - and I'm sure that particular preference has other goodies I need.
推荐答案
您需要处理一个已创建或重新定义为 Aptana PHP 项目的项目.这样做可以启用您正在寻找的高级功能.
You'll need to work on a project that was created or re-defined as Aptana PHP project. Doing so enables the advanced features you are looking for.
如果您要创建新项目,请使用 Aptana PHP 项目向导.
In case you are creating a new project, use the Aptana PHP project wizard.
如果您的工作区中已经有项目,则必须将Aptana PHP Nature"添加到您的项目中:
In case you already have projects in your workspace, you'll have to add the 'Aptana PHP Nature' to your project:
- 在项目浏览器视图中右键单击项目.
- 选择属性 > 项目性质.
- 选择 PHP 特性(带有图标的特性).
- 单击确定".它会要求关闭并重新打开您的项目.
应该这样做(如果没有,请重新启动工作室).
This should do it (and if it doesn't, restart the studio).
希望有帮助!
这篇关于Aptana 3 php 无法激活函数链接和变量辅助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!