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.
Created attachment 155453 [details] Sample project Desired behaviour (actually it is what I get when editing, before formatting): @NamedQueries({ @NamedQuery(name = "Entity.someQuery", query = "SELECT e" + " FROM Entity e" + " WHERE e.relantionship.id = :relantionshipId") }) After formatting: @NamedQueries({ @NamedQuery(name = "Entity.someQuery", query = "SELECT e" + " FROM Entity e" + " WHERE e.relantionship.id = :relantionshipId") }) Looks like the strings are not considered as continuation. I am attaching a sample project with all my configurations. I don't know if this behaviour is what is expected or not, but it looks odd to me. Product Version: NetBeans IDE 8.0.2 (Build 201408251540) Updates: NetBeans IDE is updated to version NetBeans 8.0.2 Patch 2 Java: 1.8.0_51; Java HotSpot(TM) 64-Bit Server VM 25.51-b03 Runtime: Java(TM) SE Runtime Environment 1.8.0_51-b16 System: Linux version 3.4.63-2.44-desktop running on amd64; UTF-8; en_US (nb) Product Version: NetBeans IDE Dev (Build 20150818-602910034ac6) Java: 1.8.0_51; Java HotSpot(TM) 64-Bit Server VM 25.51-b03 Runtime: Java(TM) SE Runtime Environment 1.8.0_51-b16 System: Linux version 3.4.63-2.44-desktop running on amd64; UTF-8; en_US (nb)
Formatter resides in java.source.base; reassinging