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.
Have a code: class MyClass{ private $field; } Select, for example, three letters "las" in the editor. Result: on the left, a lamp appears. After clicking it, the IDE offers to surround this part of code with try{ block. It's wrong, because it makes no sense in this context. It happens for many other cases, but it doesn't happen somewhere: for example, if you select letters in a field definition (like "riv" in the example above), no lamp appears. So it seems that editor tries to detect when this action should be offered, but does it wrong.
Actually not implemented - works just by accident Suggested for 7.0
batch reassigning
Works properly in 7.2 dev.