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.
We don't allow code editing in guarded blocks. Fine. But we could actually allow *insertion* of new lines into guarded blocks. It would take some careful bookkeeping, but we could allow the user to place the caret, press enter and type lines in between those lines in the guarded blocks. That might resolve some of the frustration about them.
A relatively easy change on the editor side but IMHO a considerable complication for the maintainers of the guarded sections e.g. a form editor. Instead of a simple regeneration of the whole section they would have to retain the user-inserted code by making diffs between old and new code etc.