Android文件分组AndroidStudio插件:Android File Grouping Plugin
7n5e
9年前
Android File Grouping Plugin
这个开源的插件在Android开发中非常有用。它能够在项目结构视图中将文件分组展示在不同的文件夹中。
- 它没有移动文件
- 它没有创建新的文件夹.
分组前
- 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
分组后
- 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
- Download latest Android File Grouping zip file here
- Open Android Studio Settings, and select Plugins
- Click Install from disk and choose Android File Grouping.zip
- Restart IDE
Usage
- Rick click on layout folder (or any other)
- 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.