I used eclipse for training in android, but now using Intellij IDEA 13. Iām used to the eclipse graphical string editor, which can alphabetically sort the string.xml file for me. I want to do the same in intelliJ, but could not find a solution. Here is the code
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">ActionBar App</string>
<string name="hello_world">Hello world!</string>
<string name="action_settings">Settings</string>
</resources>
and I want to sort it alphabetically as follows
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="action_settings">Settings</string>
<string name="app_name">ActionBar App</string>
<string name="hello_world">Hello world!</string>
</resources>
How to do it? Please, help!
source
share