10 years of love for Emacs undone by a week in VSCode.

πŸ€”

Last week, I wrote about Why I won’t be switching to VSCode any time soon. Then Cunningham’s law kicked in, I learned about some killer features, got tips on some config, and gave VSCode another chance.

That was the one. The feature that made me try VSCode for real. You can hover any function or variable, press command, and see its definition in a little popup. Or jump straight to the code.

😍

I think I have the perfect config going, and I’d share it with you, but I don’t know how. Mainly I focused on getting a clean interface where code dominates.

Blank slate with a bunch of code. The status bar is subtle, no activity bar, no cruft to the left or right of the code. No ugly vertical lines showing indentation.

Change indicators still show up as subtle green or blue lines.

It’s great.

Here’s some stuff that still annoys me πŸ‘‡

  • tabs are huge, and there doesn’t seem to be a config for that
  • pressing Tab inserts a tab
  • changing Tab to “line indent” works okay-ish, but not quite. I’d like to indent to automatic correct indentation instead of having to press it multiple times. When cursor is in indent space, tab should jump to beginning of line, when cursor is in code space, tab should indent or do nothing.
  • I installed emacs keybindings to preserve muscle memory, and now jump-to-line shortcut doesn’t work
  • the cmd+P magic search can be annoyingly dumb sometimes, and the UI struggles with long file paths. Shows beginning of path instead of the important stuff
  • the cmd+O shortcut isn’t context aware. Opens UI at last visited folder instead of at current file
  • no good shortcut for “jump back to previous file” that I can find

Any ideas? @ me

Learned something new? Want to become a better engineer? πŸ’Œ

Join 9,400+ people just like you already improving their skills.

Here's how it works πŸ‘‡

Leave your email and I'll send you an Interactive Modern JavaScript Cheatsheet πŸ“– right away. After that you'll get a thoughtfully written email every week aboutΒ React, JavaScript,Β  andΒ lessons learned in my 20 years of writing code for companies ranging from tiny startups to Fortune5 behemoths.



Man, I love your way of writing these newsletters. Often very relatable and funny perspectives about the mundane struggles of a dev. Lightens up my day. ~ Kostas

PS: You should also follow me on twitter πŸ‘‰ here.
It's where I go to shoot the shit about programming.