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.
NetBeans 7.0 RC2 for win32 on Windows 7 x64 and jdk 1.6.0 u24 x64. In editing java source code, code template 'Psfm' is expect to expand as following public static final void method() { } but indeed expanded as following. public final void method() { } that is, keyword 'static' is missing. I selected 'tool' menu > 'option', then show option dialog. In option dialg, select 'editor' icon and 'code template' tab, then show template list. In template list, 'Psfm' is missing static. expand text is same as Pfm's.
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/cb85dbe9feae
Integrated into 'main-golden', will be available in build *201104120401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/cb85dbe9feae User: Dusan Balek <dbalek@netbeans.org> Log: Issue #197585: Java code templates 'Psfm' is expanded with missing static - fixed.