Vanishing Intellij popups with Sway

After my last NixOS update IntelliJ started behaving weirdly. Not always, just sometimes. The autocomplete popup opens, maybe remains open for a keystroke or two. Then suddenly disappears. Same with the “Copy Path/Reference…” popup from the context menu, the one where you pick absolute path, relative path, package name and so on. Pretty annoying, especially when you’re in the middle of typing. And every time the popup vanished, the whole window seemed to flicker once, as if IntelliJ was reacting to a resize event....

Status: 🌱 Seedling · Planted: Oct 9, 2026 · 3 min

Wayland Support in IntelliJ

Today I learned, that IntelliJ has support for Wayland Compositor since version 2024.2, so seems like im rather late to the game. Simply go to Help > Edit custom VM options and add -Dawt.toolkit.name=WLToolkit. For me it so far works nicely. And the issue of some overlay windows (like object inspector) not being resizable in Sway … are just gone. Yay 🥳

Status: 🌱 Seedling · Planted: Mar 18, 2025 · 1 min

Scripting IntelliJ

Recently I learned, that it’s possible to script IntelliJ. I picked up on it while Writing an IntelliJ Plugin for my Coverage Tracker project, aka “Undercovered”. So there is the IDE scripting console, which comes out-of-the-box. You just open the Action panel and search for IDE Scripting Console, next a tiny popup menu should show, asking for whether it should be Groovy or Kotlin (beta). Right away you can enter some code and evaluate it by pressing Control + Return....

Status: 🌿 Budding · Planted: Mar 17, 2025 · Last tended: Mar 18, 2025 · 5 min

Writing an IntelliJ Plugin

In a way, this is the last part of my journey creating a Java (Line) Coverage Analyzer. This article concentrates on creating an IntelliJ plugin, that adapts it to show the results collected by the analyzer created in Let’s create a Coverage Analyzer, Part 4. To get started, check out JetBrains’ Developing a Plugin article. With recent IntelliJ versions you need to install the Plugin DevKit first, then create a new Project and select the IDE Plugin Generator....

Status: 🌱 Seedling · Planted: Mar 4, 2025 · 4 min