#342 Keep properties file sorted

v5.2
closed-fixed
Makarius
core (195)
1
2014-11-20
2010-03-25
Victor Engmark
No

For versioning purposes (and for correlating option changes with file changes) it would be nice if the properties file was stored in alphabetical order. Now I have to use `sort -o properties properties` and remove the comments at the top to track changes.

Discussion

  • Alan Ezust
    Alan Ezust
    2011-11-29

    +1 on that!!

     
  • Alan Ezust
    Alan Ezust
    2011-12-07

    • priority: 7 --> 9
    • status: open --> open-remind
     
  • The properties are saved using Properties.store() from the java api. Are you sure that it is really worth working on that ?
    To compare properties it is still possible to use the sort lines macro.

     

  • Anonymous
    2012-01-02

    @kpouer I think that the point of the request is to help make the settings file easier to manage with an SCM software.
    Ideally for me it would be nice if I could track changes to the whole settings directory, and have either a .gitignore file or jEdit/tmp folder for transient files. But I would also like to +1 the sort-order request, and also add that it'll be good for color schemes too.

     
    • priority: 9 --> 1
    • status: open-remind --> open
     
  • Ok, if someone wants to do it or submit a patch, but for me it is the lowest priority.

     
  • Alan Ezust
    Alan Ezust
    2014-11-20

    • status: open --> closed-fixed
    • assigned_to: Makarius
    • Group: --> v5.2
     
  • Alan Ezust
    Alan Ezust
    2014-11-20

    Fixed by [patch #536]. Thank you makarius.