Skip to content
This repository has been archived by the owner on Mar 21, 2023. It is now read-only.

Displays the cartoon strip of the day from the dilbert.com website in a toolwindow in products based on the IntelliJ Platform

License

Notifications You must be signed in to change notification settings

codebrewer-archive/intellij-platform-dilbert-daily-strip-plugin

Repository files navigation

Dilbert Daily Strip Plugin for IntelliJ Platform Products

License

Attention!

This plugin no longer works and is archived.

About

Used to display the cartoon strip of the day from the dilbert.com website in a tool window in products based on the IntelliJ Platform (such as IntelliJ IDEA, AppCode and CLion). Stopped working in March 2023 when the cartoon strip's author changed how the strip is made available.

History

The plugin was first released in 2005 and was periodically updated to keep pace with changes to the IntelliJ Platform. There was a time when there was thought of supporting other cartoon sources and being able to display more than just the current strip (e.g. the previous day's strip or a weekly digest or...). As a result, the source code is way over-engineered for what it actually does - a good example of violating the YAGNI principle. Updates often start with "WTF was I thinking?!" as I try to get my head around the code again.

Source code was originally tracked in a private CVS repository, migrated to Git using cvs2git and hosted in a private Bitbucket repository before eventually being moved to GitHub.

Over the years, issues have been tracked in a private Bugzilla instance, a private JIRA instance, a private Bitbucket project and now GitHub. The chances of issue numbers in the comment history making any sense in the context of GitHub are slim.

Requirements

The plugin's build script (see build.gradle.kts) declares a requirement for IntelliJ IDEA 223.8836.41 Community Edition (corresponding to build IC-223.8836.41 as of the plugin version 2.0.0 release) and the source code is compiled for Java 17, per JetBrains requirements for a plugin targeting 2022.2 or later.

Installation

Pre-built binary distributions of the plugin are hosted in the JetBrains plugin repository and the latest version can be installed directly from within an IntelliJ Platform product (but the plugin may have been removed by the time you are reading this). Alternatively, follow the instructions below to build from source.

Building

Note: you probably want to branch from the 1.10.1 tag since master now contains a stripped-down plugin that displays only a warning message that strips can no longer be fetched.

The plugin can be built with Gradle and the JetBrains gradle-intellij-plugin:

./gradlew clean buildPlugin

with the output being found in a zip archive in ./build/distributions/.

The plugin can be run in a sandboxed version of IntelliJ IDEA:

./gradlew runIde

Licensing

This software is licensed under the Apache License Version 2.0. Please see LICENSE for details.

About

Displays the cartoon strip of the day from the dilbert.com website in a toolwindow in products based on the IntelliJ Platform

Resources

License

Stars

Watchers

Forks

Packages

No packages published