This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
When using the following template: /** * Executes ${action} action * * @param sfRequest $request A request object * */ public function execute${action}(sfWebRequest $request) { ${cursor}; } The template expansion would not work (not asking "action" to be replaced) It starts working again: - when ${action} is removed from the comment or - when comments are converted to // type. Note using /* ... */ rather than /** ... */ causes the same bug.
works in Product Version: NetBeans IDE Dev (Build 200812180001) Java: 1.6.0_20; Java HotSpot(TM) 64-Bit Server VM 16.3-b01 please download latest development build or wait for 70M1. If you can reproduce this issue then reopen, please. thanks
reproduced in Product Version: NetBeans IDE Dev (Build 100825-ba4898edabae) Java: 1.6.0_16; Java HotSpot(TM) 64-Bit Server VM 14.2-b01 steps from user 'jbw'. thread http://forums.netbeans.org/post-82577.html not working: Code: /** * Set ${varname} * @param test */ public function set${methodname}($$${varname}) { $$this->_${varname} = $$${varname}; } but the one without variable in the DocBlock works correctly Code: /** * Set * @param test */ public function set${methodname}($$${varname}) { $$this->_${varname} = $$${varname}; }
batch reassigning
Still does not work with NB7: Product Version: NetBeans IDE 7.0 (Build 201104080000) Java: 1.6.0_24; Java HotSpot(TM) 64-Bit Server VM 19.1-b02 System: Linux version 2.6.38-8-generic running on amd64; UTF-8; en_US (nb) Userdir: /home/victor/.netbeans/7.0 The template from the first comment expands as: /** */ public function executeaction(sfWebRequest $request) { ; } without any chance to enter the "action" parameter !
Works for me properly in NB 7.0.1.
The issue is solved for me with NB 7.0.1 Product Version: NetBeans IDE 7.0.1 (Build 201107282000) Java: 1.6.0_26; Java HotSpot(TM) 64-Bit Server VM 20.1-b02 System: Linux version 2.6.38-10-generic running on amd64; UTF-8; en_US (nb)