The Timelapse Dev IntelliJ Plugin makes hard tasks easier for working on Timelapse.
You should have at least IntelliJ IDEA 2021.1.1 installed (Community/Ultimate).
Release binaries can be downloaded from the GitHub releases page.
They are tagged as intellij-plugin/<version>
.
- Download the intellij-plugin-<version>.zip file.
- From the IDE, go to Preferences → Plugins → ⚙️ → Install Plugin From Disk... and select the downloaded zip file.
- Restart your IDE for the changes to reflect.
The plugin adds a few Surround With... live templates for the XD HTML feature. These live templates can be viewed from Preferences → Editor → Live Templates and under the Timelapse (XD HTML) group.
The live templates are available while working with HTML. To use them, first select the text that you want to surround
with a XD <span>
tag and hit ⌥ Option
+ ⌘ Cmd
+ T
(macOS) to bring the list of available templates and choose
the desired one.
./gradlew tools:intellij-plugin:runIde
- Increment the plugin version inside the
/src/main/resources/META-INF/plugin.xml
file. It is nested within the<version>
tag. - Describe the changes to the plugin (new features, enhancements, bug fixes) inside the
<change-notes>
tag. - Update changes in CHANGELOG.md.
- Commit changes to the repository.
- Raise a PR with the changes and get it merged to the
main
branch.
-
Pull merged changes from remote (
origin
). -
Build plugin for distribution.
./gradlew tools:intellij-plugin:buildPlugin
-
This command will return soon, however you may have to wait until the distributions directory shows up under the intellij-plugin/build directory. It could take some time.
-
The distributions directory will contain the packaged plugin named intellij-plugin.zip.
-
Rename intellij-plugin.zip to intellij-plugin-<version>.zip.
-
Tag the release commit with
intellij-plugin/<version>
. -
Push the tag to
origin
.
git push --tags --no-verify
-
Go to the Create a new release page.
-
Specify the tag version (
intellij-plugin/<version>
). This tag should be available on GitHub. -
The release title should be IntelliJ Plugin v<version>.
-
Add the changelog to the Describe this release section.
-
Upload the built plugin binary to the release page.
-
Check the This is a pre-release option.
-
Click Publish release, and you're done 👏!
Copyright 2021 Red Green, Inc.