Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
250 views
in Technique[技术] by (71.8m points)

php - How to get my class to appear in Aptana's autocomplete?

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.

Can you help me?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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

Project Natures -> PHP (checkbox) and click "Make Primary" button.

OK, OK

Project will be reindexed and your classes will be available


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...