Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Why is PDT 2 worse than PDT 1?
icon4.gif  Why is PDT 2 worse than PDT 1? [message #534598] Wed, 19 May 2010 11:47 Go to next message
Matt  is currently offline Matt
Messages: 6
Registered: May 2010
Junior Member
I use eclipse PDT 1.x daily, and have done so for the last couple of years, when PDT2 first came out I was quick to upgrade and try it out.. Unfortunately I found the code hinting/assist to be much slower and inconsistent/unreliable most of the time, so i thought okay, must be a bad first release, and went back to PDT1 for the time being.

The other day, I decided to give PDT2 another chance and was once again annoyed to find its still horrendously slow with terrible code hinting/assist in comparison to PDT 1.. what gives?! It feels like Im using a different editor!

And Ive tried this on both my home and work pc, both of which should be more than capable of running it (AMD 64bit 4200x2, 2gig RAM). Im also pretty sure its not eclipse responsible, as ive run PDT 1 on the latest eclipse with no problems

Re: Why is PDT 2 worse than PDT 1? [message #534609 is a reply to message #534598] Wed, 19 May 2010 11:59 Go to previous messageGo to next message
Jason Huselton is currently offline Jason Huselton
Messages: 8
Registered: April 2010
Location: Texas
Junior Member
Admittedly I'm a newb. I find PDT 2 to be a bit clunky and it doesn't feel ready for prime time. I don't know if it was something I did during the install process, but running with the debugger appears to lock constantly, running a debug begins to pop errors within eclipse, and at other times, it is so slow to type, that it can hang for more than 2 minutes (just trying to type).

In most cases I have to shut down and do a -clean. Is PDT 1 that much cleaner?
Re: Why is PDT 2 worse than PDT 1? [message #534611 is a reply to message #534598] Wed, 19 May 2010 12:05 Go to previous messageGo to next message
Roy Ganor is currently offline Roy Ganor
Messages: 150
Registered: July 2009
Senior Member
may I ask if you used Eclipse PDT 2.2 already?

PDT 2 was delivered 1.5 years ago...

http://www.eclipse.org/pdt/downloads/

anyway, thanks for sharing,
Roy
Re: Why is PDT 2 worse than PDT 1? [message #534617 is a reply to message #534609] Wed, 19 May 2010 12:13 Go to previous messageGo to next message
Matt  is currently offline Matt
Messages: 6
Registered: May 2010
Junior Member
Roy: This is a fresh install, from the pdt site a week or two ago (ive been trying to give it a chance)

Jason: I havent had debugging problems in either but here are my perceived differences:

code hinting for custom classes
PDT 1: if method has correct phpdoc (i.e. @return Business) - INSTANT
PDT 2: If method has correct phpdoc - 2 or 3 seconds if (and thats a big if!) it picks up on it at all! Interestingly, it now occasionally picks up on the code hinting in places i know pdt 1 wont (i.e. in views), so it makes me wonder if theyve completely rewritten how the code assist engine works for pdt 2?

and yes, i get that occasional temporary lock up in pdt 2 every now and then (garbage collecting?)

ive tried the eclipse performance tweaking articles to allow eclipse to use more ram and stuff, doesnt really make much difference tbh




[Updated on: Wed, 19 May 2010 12:37]

Report message to a moderator

Re: Why is PDT 2 worse than PDT 1? [message #534661 is a reply to message #534617] Wed, 19 May 2010 14:40 Go to previous messageGo to next message
sNop is currently offline sNop
Messages: 281
Registered: July 2009
Senior Member
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig9EBFE19713F4C1B8AA816437
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi Matt,

>=20
> code hinting for custom classes
> PDT 1: if method has correct phpdoc (i.e. @return Business) - INSTANT
> PDT 2: If method has correct phpdoc - 2 or 3 seconds if (and thats a bi=
g
> if!) it picks up on it at all! Interestingly, it now occasionally picks=

> up on the code hinting in places i know pdt 1 wont (i.e. in views), so
> it makes me wonder if theyve completely rewritten how the code assist
> engine works for pdt 2?
>=20

Pls look at this:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=3D293333

The performance is better after H2 indexer was inmplemented, but it's sti=
ll slow ;(

Only one thing which I can recommend for you is exclude all dirs and file=
s ( which aren't really necessary ) from build path.


--------------enig9EBFE19713F4C1B8AA816437
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkv0MJoACgkQkCAxuhXMpxW+mwCcCckD/shBLf7i4E2Fm5Sz sPqw
fsQAnieZVfelEJey1tDgUdG56U1mpqHl
=N97K
-----END PGP SIGNATURE-----

--------------enig9EBFE19713F4C1B8AA816437--
Re: Why is PDT 2 worse than PDT 1? [message #534662 is a reply to message #534617] Wed, 19 May 2010 15:06 Go to previous messageGo to next message
sNop is currently offline sNop
Messages: 281
Registered: July 2009
Senior Member
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigB4E5A45F75D294B25BC7FFD2
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi Matt,

Pls look at this bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=3D293333

The performance is better after H2 indexer was implemented, but it's stil=
l slow ;(

Only one thing, which I can recommend for you, is exclude all dirs and fi=
les ( which aren't really necessary ) from build path.

>=20
> code hinting for custom classes
> PDT 1: if method has correct phpdoc (i.e. @return Business) - INSTANT
> PDT 2: If method has correct phpdoc - 2 or 3 seconds if (and thats a bi=
g
> if!) it picks up on it at all! Interestingly, it now occasionally picks=

> up on the code hinting in places i know pdt 1 wont (i.e. in views), so
> it makes me wonder if theyve completely rewritten how the code assist
> engine works for pdt 2?
>=20


--------------enigB4E5A45F75D294B25BC7FFD2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkv0NtAACgkQkCAxuhXMpxVx3gCfaIDhX2AQwd83iQa6KkRo t2mX
6PAAnRxyHwR4UfcgIRsKDeHpTvjoPdwP
=g6Pt
-----END PGP SIGNATURE-----

--------------enigB4E5A45F75D294B25BC7FFD2--
Re: Why is PDT 2 worse than PDT 1? [message #534664 is a reply to message #534611] Wed, 19 May 2010 15:22 Go to previous messageGo to next message
Jason Huselton is currently offline Jason Huselton
Messages: 8
Registered: April 2010
Location: Texas
Junior Member
Holy Crap. Is this true. If I go to Installed Software and look at Eclipse IDE for PHP Developers, it states the version as 1.2.2.2100216-1730. Id is epp.package.php.

I swore I was on 2.2 but an upgrade is in order. If I'm looking at the wrong place for version, please let me know.

Thanks
Re: Why is PDT 2 worse than PDT 1? [message #534666 is a reply to message #534664] Wed, 19 May 2010 15:25 Go to previous messageGo to next message
Jason Huselton is currently offline Jason Huselton
Messages: 8
Registered: April 2010
Location: Texas
Junior Member
Upon further review, there appears to be some differences in version. How exactly can one go about finding out the exact version of PDT one is running.

Thanks
Jason
Re: Why is PDT 2 worse than PDT 1? [message #534672 is a reply to message #534598] Wed, 19 May 2010 15:36 Go to previous messageGo to next message
sNop is currently offline sNop
Messages: 281
Registered: July 2009
Senior Member
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig7E23395697F79BD661FCA6A5
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi Matt,

Pls look at this bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=3D293333

The performance is better after H2 indexer was implemented, but it's stil=
l slow ;(

Only one thing, which I can recommend for you, is exclude all dirs and fi=
les ( which aren't really necessary ) from build path.

>=20
> The other day, I decided to give PDT2 another chance and was once again=

> annoyed to find its still horrendously slow with terrible code
> hinting/assist in comparison to PDT 1.. what gives?! It feels like Im
> using a different editor!
>=20
> And Ive tried this on both my home and work pc, both of which should be=

> more than capable of running it (AMD 64bit 4200x2, 2gig RAM). Im also
> pretty sure its not eclipse responsible, as ive run PDT 1 on the latest=

> eclipse with no problems
>=20


--------------enig7E23395697F79BD661FCA6A5
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkv0Pb8ACgkQkCAxuhXMpxU6OQCfaVFcGtBOHppdJrBYQkCU sLEh
jLoAn06r20sc0puy627GoI9uyi8OQ8k8
=5sIA
-----END PGP SIGNATURE-----

--------------enig7E23395697F79BD661FCA6A5--
Re: Why is PDT 2 worse than PDT 1? [message #534741 is a reply to message #534672] Thu, 20 May 2010 04:29 Go to previous messageGo to next message
Matt  is currently offline Matt
Messages: 6
Registered: May 2010
Junior Member
thanks but the link doesnt work?

another thing thats not as good in pdt 2, is it'll only bring up the tooltip with the method parameters in if when you're mid typing the method, you hit control space, which is next to useless if you're coming back to add parameters to a function as you would have to type the whole thing out again to get the tooltip suggestions

in pdt 1, all you have to do is type the opening bracket of the method, or type a comma to insert a new parameter and the suggestions will auto come up.

[Updated on: Thu, 20 May 2010 04:34]

Report message to a moderator

Re: Why is PDT 2 worse than PDT 1? [message #534812 is a reply to message #534741] Thu, 20 May 2010 08:18 Go to previous messageGo to next message
sNop is currently offline sNop
Messages: 281
Registered: July 2009
Senior Member
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig63E849C4296A89F9F40ED0CF
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

it wokrs without problems

On 20. 5. 2010 10:29, Matt wrote:
> thanks but the link doesnt work?


--------------enig63E849C4296A89F9F40ED0CF
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkv1KIYACgkQkCAxuhXMpxU6+gCfcGho3zoJgv9hIVbBD81P zeyh
CvoAnA4HchbnD/vNI7ir8grxisVbbr0T
=dXiQ
-----END PGP SIGNATURE-----

--------------enig63E849C4296A89F9F40ED0CF--
Re: Why is PDT 2 worse than PDT 1? [message #534924 is a reply to message #534812] Thu, 20 May 2010 12:18 Go to previous messageGo to next message
Matt  is currently offline Matt
Messages: 6
Registered: May 2010
Junior Member
"'3D293333' is not a valid bug number."
Re: Why is PDT 2 worse than PDT 1? [message #534926 is a reply to message #534812] Thu, 20 May 2010 12:21 Go to previous messageGo to next message
elkuku is currently offline elkuku
Messages: 22
Registered: July 2009
Junior Member
without problems - lucky you ;)

I check the project frequently for updates - I had the luck, some time
ago, to grab a 2.2 version that runs - acceptable. Newer updates brake
the debugger, syntax highlighting or throw strange java errors (known
errors..) - time comes closer to the announced stable release - let's
not give up the hope and - I am not going to buy zend studio :P

Am 20.05.2010 07:18, schrieb sNop:
> it wokrs without problems
>
> On 20. 5. 2010 10:29, Matt wrote:
>> thanks but the link doesnt work?
>
Re: Why is PDT 2 worse than PDT 1? [message #535540 is a reply to message #534926] Mon, 24 May 2010 07:12 Go to previous messageGo to next message
Matt  is currently offline Matt
Messages: 6
Registered: May 2010
Junior Member
also i get MASSIVE amounts of type lag if the file is more than a few thousand lines log, no matter what/where im typing
Re: Why is PDT 2 worse than PDT 1? [message #537103 is a reply to message #534617] Tue, 01 June 2010 06:50 Go to previous message
Craig Fisher is currently offline Craig Fisher
Messages: 1
Registered: June 2010
Junior Member
I was experiencing the same problems with docblocks:- delays and also function docblocks being doubly-nested and not picking up parameters.

Found it when moving from PDT1 to PDT2.2 to evaluate the changes in 2.2 -- but found the solution.

Removed my project from Eclipse (DON'T DELETE THE FILES); then deleted the .project and .buildpath files from the folder on the hard disk; then create a new project in PDT with the same name...

Ta da! Now works
Previous Topic:I would like visual edit html or php pages
Next Topic:Code hints in Helios
Goto Forum:
  


Current Time: Wed Aug 27 19:25:23 EDT 2014

Powered by FUDForum. Page generated in 0.02121 seconds