Android File Grouping Plugin v1.1

Dmytro Danylyk
Google Developer Experts
3 min readOct 30, 2015

This plugin can display your files as a group of different folders in project structure view. It helps to organize layouts and other resources.

File grouping

Note:

  • It does NOT move files.
  • It does NOT create folders.

Installation

  1. Download latest Android File Grouping.zip file here
  2. Open Android Studio
  3. In toolbar menu select File|Settings | Plugins
  4. Click Install from disk and choose Android File Grouping.zip
  5. Restart Android Studio

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 your are in Project Structure View and NOT in Android Project View.

What’s new?

Thanks to Serhiy Kyrylyuk android file grouping plugin now is updated to v1.1 with two new features.

Hide Folding Prefix

Without hiding folding prefix
With hiding folding prefix

This feature gives you ability to display file names without prefix.

To do so

  • In toolbar menu select File|Settings
  • Choose Other Settings
  • Tick on Hide Folding Prefix
  • Collapse and expand folder to refresh project view
Settings

Custom Prefix Pattern

Without custom prefix pattern
With custom prefix pattern

This feature gives you ability to set which position of the underscore is taken for filtering.

To do so

  • In toolbar menu select File|Settings
  • Choose Other Settings
  • Tick on Use Custom Pattern and define pattern*
  • Collapse and expand folder to refresh project view
  • Note: default pattern will take first two underscores of file name to create folders.
Settings

--

--