androideclipseadtxml-editor

Sort Android strings.xml in Alphabetical Order


While programming my Android app I just kept inserting elements in strings.xml with no order whatsoever. Is there a shortcut key (like Ctrl+Shift+F can organize android: attributes in an XML layout file) that sorts string elements alphabetically?


Solution

  • For anyone else who bumps into this. Copy all the string elements, paste into an Excel spreadsheet sort A-Z and then copy and paste back.