DEV Community

Chris Achard
Chris Achard

Posted on

What is your favorite editor and why?

I used to use TextMate, but switched to Sublime Text when they stopped supporting TextMate 1 (many years ago), and have gotten really fast with Sublime.

Recently though I've played around with VS Code and really like it (because of how customizable it is), but I still find myself opening Sublime more.

So: without starting any editor "wars", I was just curious: what is your favorite editor right now and why?

If you'd like to give more context, I'd also love to know: What is your favorite plugin/extension for that editor?

For Sublime, one fun one is "Emoji" (so you can insert emojis with just a few keystrokes): https://packagecontrol.io/packages/Emoji

And for VS Code, an underrated one I think is "Custom CSS", which lets you fully customize the VSCode experience by writing custom css: https://github.com/be5invis/vscode-custom-css

Top comments (43)

Collapse
 
ordovician profile image
Erik Engheim

I don't get why people leave TextMate. Still my favorite editor. Yes I dabble in Sublime, Atom, VSCode, Vim and Kakoune, but I always go back to TextMate. Yes there are some annoyances with TextMate, but I cannot find anybody else which has such a nice Bundle plugin system. It is not just that Bundles are easy to make and edit, but I love how their functionality is so well sectioned off and easy to discover. Like you have a menu entry for each language. I cannot see that for other editors.

Sublime just has way too little UI. Everything seems to be text configuration files. TextMate makes it a lot easier to discover functionality. Especially related to configuring bundles.

If I have to use a text mode editor then I prefer Kakoune for many of the same reasons. I tend to prefer simplicity and ease of use. Editor which are based on some simple powerful principles. Kakoune takes make of the good ideas of Vim and simplifies them and make them more powerful.

Thus you get a far more manageable editor for a developer not willing to invest tons of time in being a Vim wizard.

Collapse
 
brewsterbhg profile image
Keith Brewster

I'm a VS Code fan, I think it's got an incredibly rich plugin/extension system, and anytime I open a filetype I haven't worked with, I immediately get popups being like "hey want to install a formatter for this?". I really like Git Lens, because I get an immediate git blame beside any line I highlight (not because I like to blame people for things, but it helps to see when code was last modified when debugging). It's also great because the blame itself not very invasive.

Collapse
 
sophiabrandt profile image
Sophia Brandt

I used VSCode, but now I use NeoVim.

Pros:

  • extremely customizable to my needs
  • much faster than VSCode
  • superb integration with the terminal
  • "modal editing"/keyboard as a first-class citizen (which makes me much faster than trying to navigate VSCode with both mouse and keyboard)

Cons:

  • not beginner-friendly
  • high learning curve
  • it takes some time to customize to your needs
  • complicated setup for many plugins (with VSCode it's a simple installation of a plugin, with Vim it's a complicated manual install)

The Vim keybindings for VS Code didn't work for me because VS Code and also many plugins overwrite the standard Vim bindings. I had to customize a lot of key mapping to get my Vim experience back. At that time, I switched back to NeoVim.

Collapse
 
cbeauhilton profile image
cbeauhilton

nvim has some great plugin managers that make it as easy or easier than VS Code - I like Vim-Plug

Collapse
 
jarodpeachey profile image
Jarod Peachey

I LOVE VSCode. I love the built in terminal, built-in error checking, and built-in everything under the sun. My favorite plugin is probably bracket-colorizer, which color-codes matching brackets and parentheses so it's easy to see where that darn if statement actually ends.

Collapse
 
tracker1 profile image
Michael J. Ryan

The integrated terminal is absolutely the killer features for me. Especially with ssh remoting.

I use quite a few formatters and other extensions, but the terminal is what won me over. It's fast enough that it doesn't slow me down and so nice in so many ways. I do miss the old non-tab ux though.

The fact that it works on Linux, Windows and Mac doesn't hurt either. I tend to use as much of the same told everywhere.

Collapse
 
cguttweb profile image
Chloe

Yep agree once I discovered it makes me wonder how I went so long without it a great plugin.

Collapse
 
rhymes profile image
rhymes • Edited

Used Sublime, then VSCode for years, went back to Sublime. It's honestly faster than VSCode on an older machine like mine and it has enough plugins :D

It's weird how we swear on one tool or another, then for external reasons (VSCode uses too much RAM sometimes) you switch tool and after a couple of weeks you find yourself happy with the new one as well :D

Collapse
 
siatwe profile image
Simon Weis

emacs

Collapse
 
safijari profile image
Jariullah Safi

I love Spac(Emacs) ... I guess I'm a heathen šŸ‘€

Collapse
 
phizzard profile image
Phil Tietjen

I've been a VS Code fanboy ever since I started using it. Going from brackets to sublime to atom to VS Code. I thought atom was my jam when I was using it and then on a whim I decided to try VS Code and I was really surprised that it didn't feel as bloated as atom. It came installed with almost everything you need and looks aesthetically pleasing out the box. Beyond that,it has a great plugin eco-system

Collapse
 
cguttweb profile image
Chloe

I did the same used Sublime for a long time then switched to Atom that it did seem to lag and after some colleagues raved about VSCode I gave it a go and love using it. The plugins are great but I do find it a resource hog at times with the odd extensions crashes but I do use quite a few and my work laptop is showing its age.

Collapse
 
miguelmota profile image
Miguel

Vim! been using it for 5+ years and never looked back

  • Vi comes pre-installed in most *nix systems
  • Can use it on both servers and desktops
  • It's fast
  • Easy to extend
  • Easy to backup dotvim files and restore in new computers
  • More use of keyboard and less mouse movements makes me more production
Collapse
 
vonheikemen profile image
Heiker

This is funny. My favorite is Neovim but i can't use it right now for everything.

So i'm using Sublime text just because it can adjust the indentation per file automatically.

Favorite extensions

  • NvMode: Not Vim Mode. I made it. The idea is to enable modal editing and bind native sublime commands to keys in "command mode" (the equivalent of vim's normal mode). It doesn't try to emulate vim, better plugins have tried and failed, so it is just an aggresive keymap configuration and a handful of custom commands. Since is a plugin it can be extended even more with your own config (like i did). And by the way, to install it you just clone it inside the sublime packages folder.

  • AceJump: Allows you to move the cursor to any character to any place currently on screen.

With those two modal editing in sublime is not that bad. I got what i need from both worlds.

Collapse
 
bauripalash profile image
Palash Bauri šŸ‘»

I used mostly Sublime while my main development work was on Windows but after shifting to Ubuntu , I used Sublime for few months, then tried VS Code. I kinds started liking it. But VS Code was too heavy, it was slowing down my machine and I like fast development environments. šŸ˜Š

Sublime Text has been my all time favourite. It's Lightweight and Fast āœˆļø