DEV Community

Cover image for What is the best code editor?

What is the best code editor?

Fulton Browne on May 19, 2020

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

Collapse
 
elmuerte profile image
Michiel Hendriks

The one that also does my laundry.

Collapse
 
ale_jacques profile image
Alexandre Jacques • Edited

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.

Collapse
 
ferricoxide profile image
Thomas H Jones II

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

Collapse
 
developertharun profile image
Tharun Shiv

VS Code is my preference.

Reasons:

  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
Collapse
 
marcusatlocalhost profile image
Marcus

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

Collapse
 
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).

Collapse
 
simanto_rahman profile image
Simanto Rahman • Edited

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.

Collapse
 
lazerfx profile image
Peter Street • Edited

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.

Collapse
 
riidom profile image
riidom • Edited

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.

Collapse
 
janpauldahlke profile image
jan paul • Edited

my journey:

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

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

Collapse
 
krishnakakade profile image
krishna kakade

VSCODE takes the cup 🏆🥇

Collapse
 
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.

Collapse
 
jonrandy profile image
Jon Randy 🎖️

SublimeText

Collapse
 
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.

Collapse
 
buphmin profile image
buphmin

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

Collapse
 
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.

Collapse
 
dogers profile image
Dogers

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

Collapse
 
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
Dogers

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?

Collapse
 
caelinsutch profile image
caelinsutch

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 :(.

Collapse
 
unfor19 profile image
Meir Gabay • Edited

IDE: VS Code
I work with:

Languages: JavaScript, TypeScript, Vue, Python, Django, Bash
Technologies: git (GitHub), Docker, terraform, drone.io, 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 - github.com/cdr/code-server

docker run -it -p 127.0.0.1:8080:8080 \
  -v "$PWD:/home/coder/project" \
  -u "$(id -u):$(id -g)" \
  codercom/code-server:latest
Collapse
 
abhinav profile image
Abhinav Kumar

Also see Visual Studio Codespaces/GitHub Codespaces.

Collapse
 
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.

Collapse
 
nitinreddy3 profile image
Nitin Reddy

VS Code for sure the all time best

Collapse
 
lehmannsystems profile image
Mike

Very language dependent but VSCode ALL. THE. WAY.

Collapse
 
maciejcieslik profile image
Maciej Cieslik

The one you like the most :)

Collapse
 
sonicoder 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.

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt • Edited

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.
Collapse
 
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.

Collapse
 
jwp profile image
John Peters • Edited

VSCode for Typescript, JavaScript, HTML and CSS.

Visual Studio for Asp.Net Core in C#.

intellij for Java.

Collapse
 
valperignon profile image
Valentin • Edited

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.

Collapse
 
frostyworks profile image
Révaz

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

Collapse
 
bunufi profile image
Dainius

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.

Collapse
 
hassanaskary profile image
Hassan Askary

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

Collapse
 
theoparis profile image
Theo Paris • Edited

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.

Collapse
 
pspiagicw profile image
pspiagicw • Edited

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.

Collapse
 
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!

Collapse
 
rahulbordoloi profile image
Rahul Bordoloi

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

Collapse
 
matthewjtrask profile image
Matt Trask

Which one you are most effective with.

Collapse
 
ride4sun profile image
ride4sun • Edited

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

Collapse
 
jordangillard profile image
Jordan Gillard

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

Collapse
 
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).