Wednesday 10 August 2022

Pushover Plugin for IntelliJ

 One of the more annoying problems I face on a daily basis is the slow compile times of my current primary project at work.

To be fair, this is a lot less of a problem than it used to be; prior to our upgrade from Scala 2.11 to Scala 2.13, compilation would regularly take 30 minutes or more. These days, it’s typically around 5 minutes for a full rebuild - still annoying, but hardly as much of a time sink.

However, I do still occasionally have to rebuild old versions, or run the database initialisation task, which does still take a long time.

Wouldn’t it be nice if I could go off and do something else, and get notified (on my phone) once it’s complete?

Enter my newest project - an IntelliJ plugin that sends a Pushover notification when a build completes, or when any execution completes.

Currently, it works on time-based thresholds (configurable separately for Builds and Executions). For example, you can get a ping when a build completes, if it took more than a minute… or when a run configuration completes, if it took more than 10 minutes.

However, this is not ideal for interactive run configurations (which is where I spend most of my time), so v0.0.3 will hopefully introduce a checkbox on the run configuration that allows per-configuration selection of whether or not the notification is sent.

Current, the v0.02 beta is available on the JetBrains marketplace - take a look here: https://plugins.jetbrains.com/plugin/19651-pushover-notification

To install it into IntelliJ, you'll need to a custom release channel - specifically, https://plugins.jetbrains.com/plugins/beta/list - or download it from the marketplace and install it manually.

No comments:

Post a Comment