My new favorite thing for development

2021-11-10developmentworksoftwaresetupide
banner

This is a short post about a handy extension (okay, two).

I fount out about this from Vlad from devinsideyou.com who creates great content about Scala stuff and related tooling and setup.

Enter Error Lens:

Error Lens

Before installing this, I was using a different lens which displayed the last committer of the corresponding line (blame), or “Not committed yet” if it was a modified or new line there. Which sound like something of interest, but in practice, mostly just annoyed me.

In contrast, having the error displayed not just in the compiler output, or in a tool window is tremendously useful. It even displays the info messages that Quill generates for compile-time queries:

Quill

Which is kind of weird, but okay, I guess. While writing this, I discovered that it can be turned off, which may or may not have been added in an update since I installed it :)

When I started using IDEA for work, for all it’s bells and whistles, I was instantly missing this direct feedback. To my absolute delight, someone felt the same, and already created an equivalent plugin: InlineError . In fact, the original Code extension is credited for inspiration!

InlineError

At first, it would occasionally throw some out of bounds errors, which is annoying, but the usefulness easily outweighs the inconvenience. When I set out to fix it myself, turned out that the creator already took care of it. You need to enable the dev channel for the updates to work, though.

Now, if only some implemented Magit for IDEA…