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.
"sout + TAB" (also serr + TAB) wont generate System.out.println (or System.err.println) if we use backspace to delete existing characters in the same line. Steps to generate bug: 1. Type something in java editor (for eg. String str = "sample";) 2. Now delete the entire line using backspace. 3. Then use sout + TAB key. 4. System.out.println is not generated.
Sorry, not reproducible to me as described. But please note that the code template/abbreviation needs to be typed as a whole (without any backspaces, etc.). Eg. one types "sout<BACKSPACE>t" the expansion abbreviation won't work (it is canceled when the <BACKSPACE> is pressed). I heard some discussions that, as we use Tabs to expand the abbrevs now, we should not cancel the abbrev expansion on backspace, but that sounds more like an enhancement.
*** This issue has been marked as a duplicate of 57856 ***
*** This bug has been marked as a duplicate of bug 151633 ***