Android Studio & IntelliJ Plugin for sort xml by name="xxx".
Java
Clone or download
Latest commit f039f9d Jul 3, 2018

README.md

AndroidXmlSorter

Android Studio & IntelliJ Plugin for sort xml by name="xxx".

demo

Options

  • Insert space between difference prefix ('Snake Case', 'Camel Case')
  • Insert version and encoding
  • Delete comment
  • Code indent number
  • Separate non-translatable strings

Installation

Browse Repositories

Search word xml sort.

  • On Mac: Preference > Plugins > Browse repositories
  • On Other: File > Settings... > IDE Settings > Plugins > Browse repositories

Manually

  1. Download android-xml-sorter.jar.
  2. On Mac: Preference > Plugins > Install plugin from disk...
    On Other: File > Settings... > IDE Settings > Plugins > Install plugin from disk...
  3. Select downloaded AndroidXmlSorter.jar file.
  4. Restart application.

Usage

Editor > PopupMenu(Right Click) > Refactor > Sort Xml By Name

License

Copyright 2016-2017 Kaoru Tsutsumishita

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.