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.
How to reproduce ? a) - create new properties file - add some properties, use for this action "Add property ..." button in editor ( fill all - key, value and comment ) b) -create second properties file - add some keys, similarly as in a), but fill only kyes to the dialog -> see differencies in these files. Use for this comparing text view ( In explorer over propeties file select from context menu 'Edit' ) ->In second file is not comments (we are not entered them), but in GUI form in Editor is showed comment for first property !? This is comment of properties file, but not for first property.
Changing priority -> P4. It is adequate to this issue.
Set target milestone to TBD
It is heuristics as spec does not say a word about it. http://java.sun.com/j2se/1.4/docs/api/java/util/Properties.html#load(java.io.InputStream) It's a wontfix candidate until we introduce another heuritics: - e.g. do not pair first comment as it is probably copyright - introduce notion of sections. Many users now uses something like ## filename.ext followed by all keys in given file.
Ok. I am moving this from DEFECT to ENHACEMENT. Am I right ?
Ok, it's better for another reasons...
This is a reasonable request for enhancement.