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.
Product Version = NetBeans IDE Dev (Build 201608100002) Operating System = Linux version 4.4.0-34-generic running on amd64 Java; VM; Vendor = 1.8.0_102 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.102-b14 Reproducibility: Happens every time When pasting a block of code (first line is not a comment) into an existing block (surrounded by braces), pasting after a // comment line, the first line of the pasted code is not correctly indented. Screen shots coming shortly.
Created attachment 161637 [details] IDE log
Created attachment 161638 [details] Before copy/paste
Created attachment 161639 [details] After paste formatted
Created attachment 161640 [details] The correct indentation