KDevelop vs php files - autocompletion

Sebastian Gutweiler newsletter at gutweiler.net
Mon Mar 22 20:00:16 GMT 2004


* Eugeny N Dzhurinsky <eugenydzh at jdevelop.com> [040322 19:47]:

Hi,

> On Mon, 22 Mar 2004 19:06:27 +0100
> Sebastian Gutweiler <newsletter at gutweiler.net> wrote:
> > It works fine here. After I
> > typed $test-> KDevelop shows me a list containing donothing() and
> > test().
> > 
> > Is class test and it's functions in the Classes-View?
> 
> No, nothing there. Seems that i'm really doing something in a wrong way.
> Can you please explain me step-by step how to create the PHP project
> from scratch - how you are doing that?

Go to Project -> New Project -> Create New Project Dialog appears,
select PHP and then "Simple PHP Script", set application name and
location, then click on Next. In the following two Dialogs also click
on Next and Finish.

After you have clicked on the Finish-Button you should see a sample
Hello world program. 

If you want to create a new file for a class, use
the "New Class" on the right side and select "A new empty php source
file". Make sure that "Add to Project" is checked in the "New File"
Dialog.

When you write a class definition in this new File and save it,
it's class should be in the "Classes"-View on the right side.
If you create a new instance of your new class Code Completion should
work. 

Sebastian

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list