如何让我的班出现在Aptana的自动完成? [英] How to get my class to appear in Aptana's autocomplete?
问题描述
我在寻找一种可能性,我自己的类添加到自动完成集锦为我的项目。目前,我有一个目录下的阶级在它的类文件,这将在我的PHP项目require_once插入一个项目文件。
I'm searching for a possibility to add my own classes to the Aptana autocompletion for my project. At the moment I have one project file with a directory "class" with class files in it, which will be inserted with "require_once" in my php project.
你能帮助我吗?
推荐答案
文件 - >新建 - > PHP项目 - >项目资源管理器(新项目)
File->New->PHP Project-> Project Explorer ( new project )
右键单击[YOUR PROJECT]在工程资源管理器 - >属性
right click on [YOUR PROJECT] in "Project Explorer" -> Properties
您会看到为属性[YOUR PROJECT]窗口
You will see "Properties for [YOUR PROJECT]" window
项目性质 - > PHP(复选框)
并点击主按钮。
Project Natures -> PHP (checkbox) and click "Make Primary" button.
OK,OK
项目将重建索引和你的类将可
Project will be reindexed and your classes will be available
这篇关于如何让我的班出现在Aptana的自动完成?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!