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.
Summary: | Properties files saved by the properties editor should be sorted and saved without extraneous line breaks. | ||
---|---|---|---|
Product: | utilities | Reporter: | Leo Yamamoto <moobob> |
Component: | Properties | Assignee: | Jan Peska <JPESKA> |
Status: | STARTED --- | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 3.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
Leo Yamamoto
2002-01-30 00:56:13 UTC
Set target milestone to TBD First I also thought that this would be a good idea. But there are also reasons why this shouldn't be done: 1. If you want to have something like sections, e.g. grouping some keys together you'll be forced to always use a common prefix. 2. Even worse, your sections will be ordered in alphabetically order, but one might prefer a logical order. 3. When using properties files for i18n, it's very nice that new strings are added at the bottom and not scattered over the file, so the various translators only have to consider the bottom of the file to do their work. Since you can already click on the column headers for sorting the files in the view I suggest to add an explicit sort option, but nothing that is automatically done on an insert key or save operation. tnx, boris I agree with Boris that auto-sorting should be turned off by default. But I agree that I would be a nice enhancement. However, we do not plan to implement it in the next release. |