The perfect IDE in pictures: Part 1, *it* works for *you*

I don’t think the perfect IDE exists. But all the right ingredients are out there. Allan MacGregor wrote a post about VIM as the “perfect IDE” that started an interesting discussion on dev.to. But I’m skeptical about the pages-long config file, the dozens of independent plugins, and whether the result is really an “IDE”. This reminded me of an experience I had with seasoned developers who genuinely had no idea how much time a real IDE can save. So here’s my response, in pictorial form, in several parts. (Because I have no idea how I’d have the time to write such a thoughtful and organized post like Allan did.)

A real IDE works for you – you don’t work for it.

Here’s Visual Studio Code doing the right thing:

vsc-auto-suggest-extension

This is freakin’ amazing. All I did was open a Docker config file for editing. In other words, I did no extra work. And VS Code unobtrusively suggested an extension (also by the VS Code team) to help me do my job. The IntelliJ family of IDE’s does this as well, AFAIK.

Not all IDE’s are GUI apps

There are text-mode IDE’s too. So let’s take the whole GUI-vs-Text-Mode debate right off the table. Here’s Spacemacs doing an auto-suggestion. In this case, I told it to open a Javascript file and it suggested an extension for it:

spacemacs-suggest-extension

The Spacemacs message isn’t as clear and configurable as VSC, but the install process is easier: just hit the ‘y’ key, compared to two or three mouse clicks. Note that out-of-the box I’m already getting good syntax highlighting from Visual Studio Code. But with this extension installed, holy cow:

vsc-inline-docs

When I hover the mouse over a keyword, I get a super-readable summary of the syntax. And this isn’t even a “statically typed programming language” in this file – it’s just a particular config format. This saves me time and irritation having to “context switch” to looking up documentation somewhere. And better yet:

vsc-error-report

Spacemacs doing the equivalent:

spacemacs-error-report

Great error checking, and reporting. Now just imagine how helpful this is with the “real” programming in a project.


Next episode … another, pushing back on the idea that IDE’s are bloatware, packed with unnecessary features, and besides, my favorite text editor XYZ is a great IDE too.

😉

I believe it’s fine for there to be great text editors yet also great IDE’s. They each have their place. In my opinion, it’s the engineer’s role to chose the right tool for the job.

Leave a Comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s