如何让我的课程出现在 Aptana 的自动完成功能中? [英] How to get my class to appear in Aptana's autocomplete?
问题描述
我正在寻找将我自己的类添加到我的项目的 Aptana 自动完成功能的可能性.目前我有一个项目文件,其中有一个目录class",其中包含类文件,它将在我的 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.
你能帮我吗?
推荐答案
File->New->PHP Project-> Project Explorer(新建项目)
File->New->PHP Project-> Project Explorer ( new project )
在项目资源管理器"中右键单击 [您的项目] -> 属性
right click on [YOUR PROJECT] in "Project Explorer" -> Properties
您将看到[您的项目] 的属性"窗口
You will see "Properties for [YOUR PROJECT]" window
项目性质 -> PHP(复选框)并点击设为主要"按钮.
Project Natures -> PHP (checkbox) and click "Make Primary" button.
好的,好的
项目将被重新索引,您的课程将可用
Project will be reindexed and your classes will be available
这篇关于如何让我的课程出现在 Aptana 的自动完成功能中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!