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.
Adding class annotation to inner class break indentation. Steps to reproduce: 1) enable Encapsulations hints 2) have a inner class class Inner { } 3) use hint to add suppress warning for inner class @SuppressWarnings("PackageVisibleInnerClass") class Inner { // <- this is moved to the 1st column } Product Version: NetBeans IDE Dev (Build 201205310022) Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17 System: Windows 7 version 6.1 running on x86; Cp1250; en_US (nb) User directory: C:\Users\jprox\AppData\Roaming\NetBeans\dev Cache directory: C:\Users\jprox\AppData\Local\NetBeans\Cache\dev
Worksforme in the current dev build - that is provided that the code is formatted OK. if there's some extra space before the class Inner, the annotation will be indented using that extra spacing.