Android文件分组AndroidStudio插件:Android File Grouping Plugin
7n5e
9年前
Android File Grouping Plugin
![Android文件分组AndroidStudio插件:Android File Grouping Plugin](https://simg.open-open.com/show/80b5324a32ecc48346e5fb0e4105e14b.png)
- 它没有移动文件
- 它没有创建新的文件夹.
分组前
- 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
![Android文件分组AndroidStudio插件:Android File Grouping Plugin](https://simg.open-open.com/show/1b906fd906a1d09df6ad6b1095a135ce.png)
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.