{"id":13537581,"url":"https://github.com/dmytrodanylyk/folding-plugin","last_synced_at":"2025-04-12T15:36:34.891Z","repository":{"id":39617594,"uuid":"39215066","full_name":"dmytrodanylyk/folding-plugin","owner":"dmytrodanylyk","description":"Android File Grouping Plugin","archived":false,"fork":false,"pushed_at":"2015-11-14T14:48:01.000Z","size":1264,"stargazers_count":1528,"open_issues_count":13,"forks_count":143,"subscribers_count":46,"default_branch":"master","last_synced_at":"2025-04-03T15:11:15.333Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.dmytrodanylyk.com/pages/blog/android-file-grouping.html","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dmytrodanylyk.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-16T19:03:44.000Z","updated_at":"2025-03-23T09:51:15.000Z","dependencies_parsed_at":"2022-09-15T21:42:15.097Z","dependency_job_id":null,"html_url":"https://github.com/dmytrodanylyk/folding-plugin","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmytrodanylyk%2Ffolding-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmytrodanylyk%2Ffolding-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmytrodanylyk%2Ffolding-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmytrodanylyk%2Ffolding-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmytrodanylyk","download_url":"https://codeload.github.com/dmytrodanylyk/folding-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248590367,"owners_count":21129801,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T09:01:00.667Z","updated_at":"2025-04-12T15:36:34.864Z","avatar_url":"https://github.com/dmytrodanylyk.png","language":"Java","funding_links":[],"categories":["Java","\u003e 1K ⭐️","Intellij Plugin","Android Studio","开发环境/工具"],"sub_categories":["Plugins"],"readme":"## Android File Grouping Plugin v1.1\n\n![](screenshots/Preview.png)\n\n## Description\n\nThis plugin is very helpful in Android Development. It can display your files as a group of different folders in project structure view.\n\n**Note:**\n\n- It does NOT move files.\n- It does NOT create folders.\n\nNaming rules: folder name -\u003e file name part till underscore\n\nBefore grouping\n\n```\nres/\n    layout/\n      chat_activity.xml\n      chat_toolbar.xml\n      chat_item.xml\n      chat_share_view.xml\n      home_activity.xml\n      home_toolbar.xml\n      home_fragment_sign_in.xml\n      home_fragment_sign_up.xml\n```\n\nAfter grouping\n\n```\nres/\n    layout/\n      chat/\n        chat_activity.xml\n        chat_toolbar.xml\n        chat_item.xml\n        chat_share_view.xml\n      home/\n        home_activity.xml\n        home_toolbar.xml\n        home_fragment_sign_in.xml\n        home_fragment_sign_up.xml\n```\n\n## Installation \u0026 Usage\n\nInstallation\n\n1. Download latest Android File Grouping zip file [here](https://github.com/dmytrodanylyk/folding-plugin/releases)\n2. Open AS `Settings`, and select `Plugins`\n3. Click `Install from disk` and choose `Android File Grouping.zip`\n4. Restart\n\nUsage\n\n1. Rick click on layout folder (or any other)\n2. In context menu click Group/Ungroup\n\nSettings\n\nPlugin setting can be found by path 'Settings'('Preferences' on Mac Os) -\u003e 'Other Settings' -\u003e 'Folding Plugin'  \n\n![](screenshots/Settings.png)\n\nBy default, grouping happens by part of filename which situated before first symbol underscore(_). Also, this part \nof filename is not hide. Patter for grouping setup as regular expression and can be change 'Setting' -\u003e 'Other Setting' \n-\u003e 'Android Folding' -\u003e 'Use custom pattern'. 'Hide Folding Prefix' take potability hide part of filename with \ncomplete with pattern.\n\n| Default       | Folding default  | Folding with hide prefix |\n| ------------- |:----------------:| :-----------------------:|\n| ![](screenshots/Project_Tree_Default.png) | ![](screenshots/Project_Tree_Folding.png) | ![](screenshots/Project_Tree_Hide_Prefix.png) |\n\n## Limitations\n\nThe 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, NOT Android.\n\n![](screenshots/Project.PNG)\n\n## Credits \u0026 License\n\nSpecial thanks to [beta testers](screenshots/Beta_Testers.PNG).\n\n```\nThe MIT License (MIT)\n\nCopyright (c) 2015 Danylyk Dmytro\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmytrodanylyk%2Ffolding-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmytrodanylyk%2Ffolding-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmytrodanylyk%2Ffolding-plugin/lists"}