Currently, if you edit a .properties file, add a few keys, then save the file, the new keys are saved at the end of the file in the order you entered them, with one line break in between each new property. I'd like to propose an enhancement where the .properties file would be saved with every key in order, and without line breaks.
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.
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.