DEV Community

Cover image for What is the best code editor?
Fulton Browne
Fulton Browne

Posted on

What is the best code editor?

I am on the search for the best code editor, what are your picks?

Discussion (43)

elmuerte profile image
Michiel Hendriks

The one that also does my laundry.

ale_jacques profile image
Alexandre Jacques • Edited on

It varies on what I need to do. My main editor is VIM. I use it for Python and JS. My setup is pretty slick and not many plugins or configurations.

I have some freelance stuff that needs to be done in Java. And for that, no better choice than IntelliJ Idea (I even pay for the commercial version).

From time-to-time I try VS Code but, as far as it goes, my brain is too deep into VIM. Even with VIM keybidings I don't feel confortable enough.

ferricoxide profile image
Thomas H Jones II

VIM? Ugh. ed is the one, true editor. =)

marcusatlocalhost profile image

Sublime Text for performance reasons. VS Code is ok once in a while, but I come back to ST.

rfaulhaber profile image
Ryan Faulhaber

I'm a recent convert to emacs, so, emacs.

I think the editor you use is largely a personal preference, as each editor offers different things for different needs, and everyone has different needs! But the thing that blows me away about emacs is that it's so flexible that it can be pretty much anything. Sure atom, vscode, and vim are extensible, but with emacs it feels much less limited. emacs isn't the fastest or flashiest editor, sure, but what it lacks in trendiness it makes up for in features.

I specifically use doom emacs because emacs out of the box is quite a daunting program, and, as a former vim user, it's made the transition to emacs quite seamless (in fact it's like using a more sophisticated vscode).

developertharun profile image
Tharun Shiv

VS Code is my preference.


  1. Boots and works fast
  2. Extentions like live server, prettier, programming language based extentions, Emmet, Git Lens and more
  3. Git integration
  4. Integrated terminal
  5. Themes


tharunshiv image
riidom profile image
riidom • Edited on

I like to have a specialist, a generalist and an occasionalist.

Specialist depends on the language. If you write a lot Lua, it might be worth evaluating Zerobrane, for example. For Java and PHP such specialists exist too, and probably for other languages as well.

Generalist should deal equally well with all languages. I hail with the VS Code mob here.

Occasionalist should be mostly crazy fast to start up. I use these when I do quick edits in single files (so, nothing project-based, or let's call it folder-based). Start, edit, save, quit. And when I do the same a minute later, I dont feel stupid, because it's my occasionalist :) On Windows, Notepad++ is a solid choice, on Kubuntu, I use Kate, for example.

simanto_rahman profile image
Simanto Rahman • Edited on

Till now, Visual Studio Code (VS Code) has been a text editor that has blurred the line between IDE and text editors. I use it like an IDE with heavy extensions helping me making things simpler. My main use-cases are ASP.NET Core, Docker and React. I work with python here and there. And the support it has for all 4 of those is phenomenal.

lazerfx profile image
Peter Street • Edited on

I'd suggest that this is dependent on what you want to do and what your requirements are. Use the best tools for your job. For some, this will be the likes of Visual Studio Code. Others will use Eclipse, JetBrains solutions, 'full-fat' Visual Studio or even something like Vim, emacs or Notepad++...

For scratch operations, things like LinqPad or certain cloud services are useful.

In the interests of answering honestly, I don't think there is a true 'one-size-fits-all' answer to this question.

janpauldahlke profile image
jan paul • Edited on

my journey:

notepadd++, sublime, atom, und now finally VSC

it would still be atom, but the perf issues, idk

krishnakakade profile image
krishna kakade

VSCODE takes the cup 🏆🥇

taylorbeeston profile image
Taylor Beeston

I have found neovim with the right combination of plug-ins and init.vim settings to be better than any other editor I've tried despite giving VSCode, Atom and Sublime Text tries every once in a while.

jonrandy profile image
Jon Randy


adnanbabakan profile image
Adnan Babakan (he/him)

I think PhpStorm is the best IDE for web development. All in all, IntelliJ based IDEs are the best.

buphmin profile image

Same, it's features just save you so much time. Worth every penny.

quasipickle profile image
Dylan Anderson

SublimeText. I've tried VS Code and it is pretty nice, but for my workflow it doesn't do anything SublimeText doesn't already.

dogers profile image

Are you a unicorn that's actually bought a license?

quasipickle profile image
Dylan Anderson

"Unicorn" is awfully kind ;)

But yes, I did buy a license - I like to support the software that makes my life easier. Plus, work actually bought the license.

Thread Thread
dogers profile image

Well good job! :)

I see a lot of people using it with the unlimited trial who just shrug when I ask why.. I just shake my head and go back to VSC :(

Thread Thread
maciejcieslik profile image
Maciej Cieslik

Why licence when there's limetext?

caelinsutch profile image

Jetbrains products are the bomb! I love the functionality of Webstorm, Clion, and Intellij, integrations are amazing and their intellisense is second to none!

Only downside is they are a little heavy weight :(.

unfor19 profile image
Meir Gabay • Edited on

IDE: VS Code
I work with:

Languages: JavaScript, TypeScript, Vue, Python, Django, Bash
Technologies: git (GitHub), Docker, terraform,, serverless-framework

Most of the common languages/technologies have extensions, so it makes it easier/friendlier to use them.

Python Django - as far as I know, PyCharm Community Edition doesn't support Django natively, while VS Code has no limitation with Django (or with any other technology/framework), so if you're working with Django you should consider that.

And another crazy thing, you can run VS Code in your browser -

docker run -it -p \
  -v "$PWD:/home/coder/project" \
  -u "$(id -u):$(id -g)" \
abhinav profile image
Abhinav Kumar

Also see Visual Studio Codespaces/GitHub Codespaces.

anarionbe profile image
Marco De Bona

It only depend on what you prefer. Each one has pros and cons. Just try some and pick the one you prefer. Nobody can do that for you.

nitinreddy3 profile image
Nitin Reddy

VS Code for sure the all time best

lehmannsystems profile image

Very language dependent but VSCode ALL. THE. WAY.

maciejcieslik profile image
Maciej Cieslik

The one you like the most :)

patarapolw profile image
Pacharapol Withayasakpunt • Edited on

I have yet to find a best one, but I am stuck with VSCode for time being (i.e. relative best).

VSCode sucks because,

  • Doesn't load correctly sometimes, especially for Gitignored files.
  • JavaScript (not TypeScript) support, especially for JS in TS
  • Vetur is not good enough for TypeScript.
vuesomedev profile image
Gábor Soós

If you get the money and the hardware I would go for Webstorm...regarding code completion and refactoring capabilities it's really good.

If you don't want to spend money on it, the best solution is Vscode as others mentioned also.

xowap profile image
Rémy 🤖

If it's to edit a single file then it's going to be vim. I've used it a lot, it's powerful, it runs on all my servers, so that's very convenient.

Maybe sometimes I end up doing some copy/paste work and in that case I'm going to use kate as a buffer.

But if the goal is to edit a whole project then there is no doubt about the IntelliJ tools. The depth of integration with all the frameworks that I use is incredible and it's the only editor that I know which is able to help you so much with so little setup. I mean, if you're tying a SQL query inside some Python code it's going not only to detect the SQL syntax but also to auto-complete the SQL based on the inspection of the database you're connected to. It has incredible diff tools, fantastic database tools, integration with Django, Vue, NPM, Pip, Eslint, Prettier, ... Anything you want is there.

I never understood the point of VSCode really, it's heavier than IntelliJ and has less features out of the box. Also CTRL+W closes the damn thing, that's a deal breaker.

jwp profile image
John Peters • Edited on

VSCode for Typescript, JavaScript, HTML and CSS.

Visual Studio for Asp.Net Core in C#.

intellij for Java.

valperignon profile image
Valentin • Edited on

It depends on the language.

For Java, I use IntelliJ IDEA which is the best for that :)
I mainly use VS Code for the others.

And XCode for Swift.

creepinson profile image
Theo Paris • Edited on

VSCode is my favorite code editor, but when it comes to normal text editing I use Sublime Text 3 because I don't want to load all my 100 extensions every time I open it XD.

frostyworks profile image

VSCode because it is smooth, performant, and uses less resources.

bunufi profile image

Atom is good enough for me. In my case the bottleneck for productivity is not the editor, its me. So good enough is perfectly fine for now.

hassanaskary profile image
Hassan Askary

I prefer Neovim for the plugins, customizability, performance, and vim being ubiquitous.

pspiagicw profile image
pspiagicw • Edited on

I work on Vim . Used and tried VSCode GNU Emacs and its many distribution (Doom Emacs,Spacemacs) including Native Emacs .Worked on Netbeans and Android Studio .Always attracted to Vim . Always Vim.

panashetapy profile image
Panashe Tapera 💭

I'm all for Sublime Text, for some time I tried Atom, then someday I decided to try Sublime and it has worked well for. As a lover of Linux, it seems slick to me!

matthewjtrask profile image
Matt Trask

Which one you are most effective with.

rahulbordoloi profile image
Rahul Bordoloi

VSCode is Bae :) But, for Data Science related works, I do most of my stuffs in Colab Notebooks.

ride4sun profile image
ride4sun • Edited on

Well it depends what platform you are coding on. Like Java, C#, Python, R etc.

jordangillard profile image
Jordan Gillard

JetBrains. I swear on my life - JetBrains is the best. Hands down.

djtai profile image
David Taitingfong

I prefer VS Code - I use it at home and at work. I work with Python, Ansible (YAMLs, JSONs), Windows batch files; at home I've been getting into Hugo (HTML, CSS, JavaScript, etc).