This plugin is still in alpha stage, so it might be unstable. Feel free to share your feedback and report issues!
This plugin is in JetBrains Plugins Repository! Get it from here.
Droid-Snippet
Live Coding Template for Android Studio. Speed up development time by adding access to important android utils snippet. Droid Snippet is currating fingertips utils needed in day to day development of android application.
Usage:
Find the Droid Snippet action with CMD+J
shortcut and type the initials of the utils you are looking for.
Available Utils :
- Utils
- Network Utils
- Device Utils
- Screen Utils
- Location Utils
- Permission Utils
- Intent Utils
Installation
Online Repository
Android Studio > Preference > Plugin > Browse Repositories > Search > Droid Snippet > Install and Restart
From Disk
Download Droid Snippet.jar > Android Studio > Preference > Plugin > Install plugin from disk > find Droid Snippet . jar> select > Install and Restart
Setting Up Project on IntelliJ
- Clone repository into local disk
- Import project
- Download Droid Snippet Settings
- IntelliJ > File > Import Settings > Select droid_snippet_settings.jar > Confirm and Restart IntelliJ
CMD+,
to lauch Preferences Screen on Intellij- Editor > Live Templates
- Learn more on live template support
Disclaimer
This is built off utils on Android Utils Code . This is continuously a work in progress and more utils will be added based on usage and contributions.
Contribution
- Snippets can be suggested by adding utilsFile.java to
/snippets
on the repository or - Contribution to Android Utils Code or
- Live templates
Before sending a PR
- Naming Convention - Ensure naming convertion follwing the pattern. UtilsCategoryName_UtilsFunction (e.g networkUtils_isConnected)
- Test (Application for live template resource) - ensure it's tested and works as expected.
Adequate testing will be conducted before a PR is accepted.