Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » how to activate code completion
how to activate code completion [message #20586] Thu, 17 May 2007 11:42 Go to next message
Eclipse UserFriend
Originally posted by: jcmdass.gmail.com

Hello all,
I downloaded the pdt all in one package from zend.
Now I wonder how I activate the code completion, I already looked through
almost all the preferences and I didn't found an option to enable the code
completion.

If I press ctrl + space it just shows me the complete list of php
functions, which doesn't help much.

regards, jannes
Re: how to activate code completion [message #21599 is a reply to message #20586] Thu, 17 May 2007 22:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: apaz.yahoo.com

What were you expecting to get?

Jannes Meyer wrote:
> Hello all,
> I downloaded the pdt all in one package from zend.
> Now I wonder how I activate the code completion, I already looked through
> almost all the preferences and I didn't found an option to enable the code
> completion.
>
> If I press ctrl + space it just shows me the complete list of php
> functions, which doesn't help much.
>
> regards, jannes
Re: how to activate code completion [message #21778 is a reply to message #21599] Fri, 18 May 2007 10:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jcmdass.gmail.com

> What were you expecting to get?
>
> Jannes Meyer wrote:
>> Hello all,
>> I downloaded the pdt all in one package from zend.
>> Now I wonder how I activate the code completion, I already looked through
>> almost all the preferences and I didn't found an option to enable the code
>> completion.
>>
>> If I press ctrl + space it just shows me the complete list of php
>> functions, which doesn't help much.
>>
>> regards, jannes

I expect pdt to show me only those functions which would fit in that
situation, and not EVERY php function.
Here's a screenshot to illustrate what I mean:
http://img522.imageshack.us/img522/1580/pdtup2.png

Maybe it has something to do with the fact that the php file I'm editing is
not inside a project.
But it's impossible to create a new project in the eclipse workspace for
every single file I eventually want to edit.

Is there a way to active code completion for normal *.php files, which are
in the DocumentRoot of my Apache server and not inside the Eclipse
workspace??
Re: how to activate code completion [message #21868 is a reply to message #21778] Fri, 18 May 2007 12:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: news.kasimir-k.fi

Jannes Meyer scribeva in 18/05/2007 10:51:
> Maybe it has something to do with the fact that the php file I'm editing is
> not inside a project.

I'd guess so. Eclipse is an IDE rather than just an editor.

> But it's impossible to create a new project in the eclipse workspace for
> every single file I eventually want to edit.

If you wan't to be able edit a file here and a file there, rather than
working with projects, then you might be happier with another program.
One good option is jEdit <http://jedit.org/> - it's also a Java program,
so it runs where Eclipse runs. It can be configured to reasonable IDE
too, but it can be used as plain text editor too. I used to use jEdit a
lot, but then I found that Eclipse's project features are actually
exactly what I've been wanting.

> Is there a way to active code completion for normal *.php files, which are
> in the DocumentRoot of my Apache server and not inside the Eclipse
> workspace??

If you don't have any projects in the Document Root, then make the
entire Document Root one project - then all files will be part of a project.

..k
Re: how to activate code completion [message #21913 is a reply to message #21778] Fri, 18 May 2007 12:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: smserg.bk.ru

Pehaps this is a bug because of you haven't created project.
You can add entire DocumentRoot in project, may be it helps.

Jannes Meyer wrote:
>> What were you expecting to get?
>>
>> Jannes Meyer wrote:
>>> Hello all,
>>> I downloaded the pdt all in one package from zend.
>>> Now I wonder how I activate the code completion, I already looked through
>>> almost all the preferences and I didn't found an option to enable the code
>>> completion.
>>>
>>> If I press ctrl + space it just shows me the complete list of php
>>> functions, which doesn't help much.
>>>
>>> regards, jannes
>
> I expect pdt to show me only those functions which would fit in that
> situation, and not EVERY php function.
> Here's a screenshot to illustrate what I mean:
> http://img522.imageshack.us/img522/1580/pdtup2.png
>
> Maybe it has something to do with the fact that the php file I'm editing is
> not inside a project.
> But it's impossible to create a new project in the eclipse workspace for
> every single file I eventually want to edit.
>
> Is there a way to active code completion for normal *.php files, which are
> in the DocumentRoot of my Apache server and not inside the Eclipse
> workspace??
Re: how to activate code completion [message #22260 is a reply to message #21778] Sun, 20 May 2007 10:09 Go to previous messageGo to next message
Guy Gurfinkel is currently offline Guy GurfinkelFriend
Messages: 39
Registered: July 2009
Member
The next build of PDT will include support of opening files without a
project.
This will solve your problem.

--
Guy Gurfinkel,
Team Leader, Development Tools
Zend.

"Jannes Meyer" <jcmdass@gmail.com> wrote in message
news:f2k0f3$qf8$1@build.eclipse.org...
>> What were you expecting to get?
>>
>> Jannes Meyer wrote:
>>> Hello all,
>>> I downloaded the pdt all in one package from zend.
>>> Now I wonder how I activate the code completion, I already looked
>>> through
>>> almost all the preferences and I didn't found an option to enable the
>>> code
>>> completion.
>>>
>>> If I press ctrl + space it just shows me the complete list of php
>>> functions, which doesn't help much.
>>>
>>> regards, jannes
>
> I expect pdt to show me only those functions which would fit in that
> situation, and not EVERY php function.
> Here's a screenshot to illustrate what I mean:
> http://img522.imageshack.us/img522/1580/pdtup2.png
>
> Maybe it has something to do with the fact that the php file I'm editing
> is
> not inside a project.
> But it's impossible to create a new project in the eclipse workspace for
> every single file I eventually want to edit.
>
> Is there a way to active code completion for normal *.php files, which are
> in the DocumentRoot of my Apache server and not inside the Eclipse
> workspace??
Re: how to activate code completion [message #27743 is a reply to message #22260] Tue, 12 June 2007 21:04 Go to previous message
Eclipse UserFriend
Originally posted by: jcmdass.gmail.com

> The next build of PDT will include support of opening files without a
> project.
> This will solve your problem.
>

Yeah, I just downloaded the newest version of PDT and it works. PDT is
exactly what I need now. You guys are great! Keep up the good work.

Thanks, Jannes
Previous Topic:Internal error ocurred during refreshing workspace
Next Topic:Zend Debug vs XDebug
Goto Forum:
  


Current Time: Fri Dec 27 14:37:19 GMT 2024

Powered by FUDForum. Page generated in 0.05815 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top