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.
If you have nonexisting class rule used in HTML code and use the hint to create it in some css file, then this process does not append a new line at the end. Let's say I have this css file: === CSS START=== .rule{ } === CSS END=== Now if I use the hint action, result would be === CSS START=== .rule{ }.newrule{ } === CSS END=== Product Version: NetBeans IDE Dev (Build 201209100001) Java: 1.7.0_07; Java HotSpot(TM) Client VM 23.3-b01 System: Linux version 3.2.0-29-generic-pae running on i386; UTF-8; en_US (nb)
This happens only if there's no new line after the last rule
Seems to be another bug in the internal DiffProvider - the modified source code properly contains the newline after the last rule closing curly bracket, however the computed Difference of ADD type doesn't.
*** Bug 225190 has been marked as a duplicate of this bug. ***
*** Bug 232016 has been marked as a duplicate of this bug. ***
Problem still present in 8.2 dev
Please don't change the version against which it was initially reported. Thank you