Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Autocomplete with "new" contructor doesn'y show parameters
Autocomplete with "new" contructor doesn'y show parameters [message #491931] Fri, 16 October 2009 15:11 Go to next message
Marco  is currently offline Marco Friend
Messages: 3
Registered: October 2009
Junior Member
I have been using Eclipse 3.4.1 with PDT 2.0.0 and (almost) everythig was fine.
I upgraded to Eclipse 3.5.1 with PDT 2.1.0 and to my big surprise i found out that when i type a new method, for example

$obj = new ClassName(

autocomplete (CTRL+SPACE) doesn't show the class constructor parameters anymore. It still does with method different from constructor.

Any idea? Thanks.
Marco
Re: Autocomplete with "new" contructor doesn'y show parameters [message #529661 is a reply to message #491931] Mon, 26 April 2010 16:36 Go to previous messageGo to next message
Marco  is currently offline Marco Friend
Messages: 3
Registered: October 2009
Junior Member
Came back after 6 months and tried to download and install new 3.5 SR2+PDT2.1 SR2.
With my surprise problem was not fixed!
Anyone with same issue?
Re: Autocomplete with "new" contructor doesn'y show parameters [message #529674 is a reply to message #529661] Mon, 26 April 2010 17:20 Go to previous messageGo to next message
sNop is currently offline sNopFriend
Messages: 281
Registered: July 2009
Senior Member
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigF6DF799E8636A0E1D2519188
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Dne 26. 4. 2010 18:36, Marco napsal(a):
> Came back after 6 months and tried to download and install new 3.5
> SR2+PDT2.1 SR2.
> With my surprise problem was not fixed!
> Anyone with same issue?

pls report bug at:
https://bugs.eclipse.org/bugs/


--------------enigF6DF799E8636A0E1D2519188
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/

iEYEARECAAYFAkvVy1QACgkQkCAxuhXMpxVUSQCfcjTWN0wOAqsKep0MQtgk katO
/SYAnA1VvgikVqaM0pigJ0uBcrDIxp1Y
=rT/o
-----END PGP SIGNATURE-----

--------------enigF6DF799E8636A0E1D2519188--
Re: Autocomplete with "new" contructor doesn'y show parameters [message #631337 is a reply to message #491931] Thu, 07 October 2010 07:03 Go to previous messageGo to next message
Ryan  is currently offline Ryan Friend
Messages: 2
Registered: October 2010
Junior Member
Was a bug report ever submitted for this? If so I can't seem to find it and I don't want to submit a duplicate. I'm having the same issue using version 3.6 with PDT under Ubuntu 10.04. Auto complete will not show the constructor definition (__construct) when creating a new object such as:

$obj = new MyCoolObject();

The constructor definition will show in the auto complete list of methods after the above line has created the object and you start a new line with

$obj->

then hit Ctrl+Space.

Anybody else having this issue still? Should I submit the bug report?

[Updated on: Thu, 07 October 2010 07:04]

Report message to a moderator

Re: Autocomplete with "new" contructor doesn'y show parameters [message #631340 is a reply to message #631337] Thu, 07 October 2010 07:15 Go to previous messageGo to next message
Marco  is currently offline Marco Friend
Messages: 3
Registered: October 2009
Junior Member
I submitted a bug (you can see it here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=310588). They told me it was fixed. But I still get the same problem...
Re: Autocomplete with "new" contructor doesn'y show parameters [message #631354 is a reply to message #631337] Thu, 07 October 2010 08:20 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 360
Registered: July 2009
Location: Japan
Senior Member
Ryan wrote on Thu, 07 October 2010 03:03
Auto complete will not show the constructor definition (__construct) when creating a new object


https://bugs.eclipse.org/bugs/show_bug.cgi?id=322479
Bug 322479 - [Content Assist] constructor method should not be proposed by code assist
Re: Autocomplete with "new" contructor doesn'y show parameters [message #631468 is a reply to message #631354] Thu, 07 October 2010 15:35 Go to previous message
Ryan  is currently offline Ryan Friend
Messages: 2
Registered: October 2010
Junior Member
I pretty new to these boards. Is it possible to add another comment to the bug explaining that it isn't working correctly still, or is this not possible since it has been closed? It won't allow me to add anything to it anyway, but I'm also not a poster or on the CC list.
Previous Topic:[Help] Configure PDT to run php in web page besides its default location
Next Topic:eclipse plug-in autobuild
Goto Forum:
  


Current Time: Tue Mar 19 03:57:13 GMT 2024

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

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

Back to the top