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.
I'm trying to expand template: ---------- /** * Nastaví ${subject} * * @param ${type} $$${value} */ public function set${fncName}($$${value}) { $this->${property} = $$${value}; } /** * Vrátí ${subject} * * @return ${type} */ public function get${fncName}() { return $this->${property}; } ---------- When I'm trying to expand it here: ---------- <?php class TMP { <here> } ---------- it doesn't work. But here: ---------- <?php class TMP { public function tmp() { <here> } } ---------- is working. Template: ---------- function ${function_name}(${params}) { ${cursor} } ---------- is working everywhere. It seems, that some templates cannot be expanded outside of function/method scope.
Seems it is similar problem as here http://netbeans.org/bugzilla/show_bug.cgi?id=206413
*** This bug has been marked as a duplicate of bug 206413 ***