The Newsgroup Web Interface is deprecated, and can no longer be used to post. Please use the Community Forums.

Eclipse NewsPortal - eclipse.tools.pdt

Re: PDT Code Assist

Subject: Re: PDT Code Assist
From: exceptione@xxxxxxxxxxxx (Exception e)
Newsgroups: eclipse.tools.pdt
Organization: EclipseCorner
Date: Jun 25 2009 09:32:10

1) I noticed that when I created a new PHP Page (file>new>PHP file)the code page that was created lacked the closing ?> markup.  Is that normal?

Yep, not closing a file with ?> is actually recommended.

2) Code assist only works when I press CTL-space. I followed the help instructions, and verified that window>preferences>PHP>editor>Code Assist had the Enable auto activation box was checked.  Actually, I still had Ganymede files installed, so I fired it up, and it has the same behavior, although it did add the closing ?> that I mentioned in #!.

You are right that autocompletion is a bit Spartan.
In comparison to Visual Studio you need to hit the keyboard very often to trigger autocompletion. Eclipse/pdt does litte to follow you with advise.

You can see in window>preferences>PHP>editor>Code Assist that there are autocompletion trigger characters. Only when you enter these characters, autocompletion pops up. Code assist will also be there if you type "new "


Code assist is thus very limited. To improve this situation I would suggest heading over to this bug report and add your vote: https://bugs.eclipse.org/bugs/show_bug.cgi?id=204768

Date Subject  Author
31.12. o 


"News-Portal" was written by Florian Amrhein.


Search this group