Hello is there a way to sort the string names alphabetically in strings.xml ? It should sort it like this
Before
<string name="ccc">CText</string> <string name="aaa">AText</string> <string name="bbb">BText</string>
After
<string name="aaa">AText</string> <string name="bbb">BText</string> <string name="ccc">CText</string>
I am using Android Studio 1.5.1
I used AndroidXmlSorter plugin and it works perfectly for me.
How to install: Go to Android Studio -> Preferences -> Plugins and hit Browse repositories.. Search for AndroidXmlSorter, install and restart your Android Studio. Go to your strings.xml file and hit Ctrl+L. Voila.
Disclaimer: I'm not the author of this plugin, I just found it by chance and I think all the credits should go to the plugin author. The repo is here: https://github.com/roana0229/android-xml-sorter
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With