This plugin houses tooling and capabilities that makes life easier while building the Simple Android app.
The plugin contains,
- A
uuid()
function expression to generate new UUID strings, commonly used in tests - A collection of Live Templates that make working with UUIDs easier
- A collection of Live Templates that make working with timestamps easier
- Go to Preferences (
Cmd + ,
) or Android Studio → Preferences - Search for
Plugins
in the Preferences Dialog - Click on the
Cog Icon
and ChooseInstall Plugin from Disk…
- Choose the latest release (
yyyy-mm-dd
format) from thereleases
directory
To make changes and release a new version of the plugin, do the following.
- Use IntelliJ Community / Ultimate Edition to open the project.
- Click on
Create New Project
- From the
New Project
window,- Select
IntelliJ Platform Plugin
from the left pane - Then select
IntelliJ IDEA IU-xxx.xxxx.xx
from Project SDK on the right pane - Click on
Next
- Select
- In the next screen click on the
…
icon to select theProject location
,- Point to
simple-android-idea-plugin
- Click on
Finish
- If a
File Already Exists
dialog shows up, click onYes
to overwrite the.iml
file
- Point to
- One the IDE opens the project, do a
git reset --hard
(this is hacky, but we'll update this once we find a solution)
- Click on
- Make the desired changes.
- Open the
/resources/META-INF/plugin.xml
file and bump up the plugin version number specified inside the<version>
tag. Please follow SemVer to update the version number. - Update
CHANGELOG.md
to mention the changes that were made. - Go to
Build → Prepare Plugin Module for Deployment
.- This will generate a
intellij-plugin.jar
in the project's root directory - Don't push the generated jar to Git. Instead make a release on GitHub with the changelog
- This will generate a