Android file grouping plugin

Description

This open source plugin is very helpful in Android Development. It can display your files as a group of different folders in project structure view.

  • It does NOT move files.
  • It does NOT create folders.
Before grouping
res/  
    layout/
      chat_activity.xml
      chat_toolbar.xml
      chat_item.xml
      chat_share_view.xml
      home_activity.xml
      home_toolbar.xml
      home_fragment_sign_in.xml
      home_fragment_sign_up.xml
After grouping
res/  
    layout/
      chat/
        chat_activity.xml
        chat_toolbar.xml
        chat_item.xml
        chat_share_view.xml
      home/
        home_activity.xml
        home_toolbar.xml
        home_fragment_sign_in.xml
        home_fragment_sign_up.xml

Naming rules: folder name -> file name part till underscore

Installation & Usage

Installation

  1. Download latest Android File Grouping zip file here
  2. Open Android Studio Settings, and select Plugins
  3. Click Install from disk and choose Android File Grouping.zip
  4. Restart IDE

Usage

  1. Rick click on layout folder (or any other)
  2. In context menu click Group/Ungroup

Limitations

The Android project view defines its own structure and does not allow modifying the structure through any extensions. Make sure you are in Project structure view, NOT in Android.

Special Thanks

Thanks to all 39 beta testers who helped me test this plugin on Win, Mac & Linux.

comments powered by Disqus