Code completion for constructors
The next new feature is code completion for constructors. After new keyword the code completion windows is displayed with constructors and parameters for all available classes in the project.

The parameters info functionality works for constructors as well.


typo in your title: "cunstructors" should be "constructors"
Posted by Martijn on December 09, 2008 at 10:19 AM CET #
Hello,
I use the latest Dev Build( 20081203 ), but the last two Features you describe are not included...
Greetings,
Stefan Sturm
Posted by Stefan Sturm on December 09, 2008 at 12:55 PM CET #
To Martijn: Thanks. I have fixed this:).
To Stefan: The changes were committed at the end of last week and you use build from Wednesday. You should try some latest build. But unfortunately there is problem on netbeans.org site and I have talked with responsible engineers, which are going to fix it. You can also download the latest build from the continual build server: http://deadlock.netbeans.org/hudson/job/trunk/lastSuccessfulBuild/artifact/nbbuild/dist/zip/ . Just unzip the zip file and run netbeans in bin folder. You can also use --userdir option http://blogs.sun.com/netbeansphp/entry/userdir .
Thanks,
Petr
Thanks,
Petr
Posted by Petr on December 09, 2008 at 02:03 PM CET #
@Petr:
I now installed 20081209, but still no Functions you are talking about :-(
Greetings,
Urkman
Posted by Stefan Sturm on December 10, 2008 at 07:37 AM CET #
Nice, constuctor completion is what I missed, thanks, I tested it on the 2008-12-10_03-38-34 from http://deadlock.netbeans.org/hudson/job/PHP-build/ and it works as you describes.
Suggestion for improvements - type of params from type hinting or from phpdoc @param will be very helpful also.
Example
class StepToLeft {
/**
* @param IDirection $left
* @param string $info
* @return MyMove
*/
public function __construct(IDirection $left,$info) {
}
when I type
$move = new StepToLeft($x,
in the param info box: IDirection $left,string $info will be nicer then $left,$info
Posted by optik on December 10, 2008 at 09:07 AM CET #
To Stefan: It should be. If it's not working, probably you find a bug. But I think this is strange. It should work without a problem.
To Optik:
Good suggestion. We will try to implement this.
Thanks,
Petr
Posted by Petr on December 10, 2008 at 05:21 PM CET #
Can't find this functionality in the M1 build.
Posted by Mikhail Matveev on December 17, 2008 at 06:56 PM CET #
Misha, it has to be in the M1. The trunk was branched this morning. I have wrote the entry last week. If you are not able to find it, file a bug.
Thanks,
Petr
Posted by Petr on December 18, 2008 at 12:28 AM CET #
Hi
code completion for constructors not present in my build as well. After i type new Ctrl+space, Class names are shown in "completion options area" but without any parameter hints in front of the class name (not even when i use Ctrl+p)...
i guess i'm clear :|
:"-(
Product Version: NetBeans IDE 6.5.1 (Build 200903060201)
Java: 1.6.0_13; Java HotSpot(TM) Client VM 11.3-b02
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Userdir: E:\Documents and Settings\Dev\.netbeans\6.5
anyways, Thansk for the wonderful IDE :D its really cool
Posted by eAdd on June 01, 2009 at 03:55 PM CEST #
It was a very nice idea! Just wanna say thank you for the information you have shared. Just continue writing this kind of post. I will be your loyal reader. Thanks again.
Posted by links of london on October 31, 2009 at 03:26 AM CET #