Product Version: NetBeans IDE Dev (Build 201102230001)
Java: 1.6.0_24; Java HotSpot(TM) Client VM 19.1-b02
System: Linux version 2.6.32-24-generic running on i386; UTF-8; en_US (nb)
Steps to reproduce it:
1. Create a function in PHP file.
2. In another PHP file, invoke code completion so that that function is available. Select that function and press Enter.
3. Require directive is supposed to be added for the corresponding file but nothing happened.
This is not supported now. The reason is that PHP projects often use autoload functions.
Probably there can be an project option, whether user wants to add automatically require, require_once, include or include_once.
Marking as enhancement.
Using autoloader is de facto standard: http://groups.google.com/group/php-standards/web/psr-0-final-proposal
IMHO, proposed enchantment is outdated and should not be implemented.
Won't fix for me since autoloading is a standard for years.