Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

After a Week, I Must Begrudgingly Admit VSCode Is a Better Editor Than Emacs

DZone's Guide to

After a Week, I Must Begrudgingly Admit VSCode Is a Better Editor Than Emacs

There's never really one right answer for which code editor to choose. A lot of times, it comes down to preference. See why one dev decided to go with VSCode.

· Web Dev Zone ·
Free Resource

Jumpstart your Angular applications with Indigo.Design, a unified platform for visual design, UX prototyping, code generation, and app development.

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 anytime 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 over 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.

A 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 the cursor is in indent space, using tab should jump to the beginning of the line, when the cursor is in code space, tab should indent or do nothing.
  • I installed Emacs keybindings to preserve muscle memory, and now the 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. It shows beginning of the path instead of the important stuff.
  • The cmd+O shortcut isn't context aware. Opens the UI at the last visited folder instead of at the current file.
  • No good shortcut for "jump back to previous file" that I can find.

Take a look at an Indigo.Design sample application to learn more about how apps are created with design to code software.

Topics:
web dev ,vscode ,code editor ,emacs

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}