The top 10 code editors for programmers in 2022. We start by exploring simple text editors like vim, then show the evolution to IDEs like Visual Studio. #programming #code #top10 🔗 Resources VS Code course https://fireship.io/courses/vscode-tricks Editor war https://en.wikipedia.org/wiki/Editor_war VS Code in 100 Seconds https://youtu.be/KMxo3T_MTvY vim in 100 Seconds https://youtu.be/-txKSRn0qeA 🔥 Get More Content - Upgrade to PRO Upgrade to Fireship PRO at https://fireship.io/pro Use code lORhwXd2 for 25% off your first payment. 🎨 My Editor Settings - Atom One Dark - vscode-icons - Fira Code Font 🔖 Topics Covered - How do you choose a code editor? - What is the best code editor? - vim vs emacs - VS Code vs vim - the editor wars - tools required to learn to code
ADVERTISEMENT
My favorite part of the video is that all the terminal-based IDEs were shown inside the VSCode integrated terminal
i program on paper. Really easy to use. For exemple if i want to go to any line, no keys need to be pressed, i am already on it with my eyes. To erase a line i select the eraser tool and skrtch skrtch the line i want to remove. If i make an error, i don't know it until my CS professor give me a low grade. It force me to program like a pro and make no mistakes. Also to exit it, it way easier because i just push the paper away from me.
Using a jetbrains ide feels like using photoshop: it has everything you'll never need, with amazing features multiple menus feel you keep uncovering. But it also has weird features, like a button to print your terminal output to a printer?
TIMESTAMPS: 0:53 : VI 2:10 : EMACS 3:26 : VIM 4:25 : neoVIM 4:52 : Nano 5:30 : Notepad 6:07 : Dreamweaver 6:46 : VScode 7:52 : platforms specific IDE’s 8:00 : VSstudio for Microsoft’s .NET framework 8:36 : JetBrains
One really important point about editors is that your project should not need a specific editor to write code. Looking at you Eclipse. Every member of the team should be able to pick whichever editor they want. All build scripts should exist outside of the editor itself because your code should last for decades and many editors will come and go.
I was a contract programmer for many years, working on Unix and Linux systems, so I used VI or VIM for most of the time, unless the client had a specific setup they used. This was mainly because VI was everywhere, and for the most part my time with the company was in the 6-12 month period and setting up something complex like EMACS wouldn't have been a useful use of time. It was far from ideal, but it worked for me and much of my work was hunting down minor bugs that no-one else wanted to do, so the actual amount of typing of code or editing was limited to small changed or shifting about blocks of code, things that VI do adequately. I once bought a Sublime Text licence which I still use to this day now I am retired (after I pinned my version when they retrospectively changed the licencing) where I'm no longer concerned about having the same setup wherever I go. I have started to think about Visual Studio because its used a lot in the Arduino/ESP32 community and can be used for the other languages I regularly use (Python, various assemblers) and I'm toying with the idea of C Sharp if only out of interest and making Linux/Windows compatible graphicy programs. My general advice is the best IDE or Editor is the one you use most, in reality most people use less than 10% of the functionality of even simpler editors, and the most important thing is how well it integrates with the other tools you use like source management, cloud storage, and the languages you use. Thonny is a great little tool when working with MicroPython and other embedded programming, but the editor is limited which is mitigated somewhat because the programs you are developing are also usually small.
I think KDE's text editor Kate deserves more attention. It was just a notepad clone with syntax highlighting a few years ago, but now it has code completion, function information on mouseover, error checking with compilers, integration with git, LSP support, and embedded versions of KDE's terminal and file manager. It's also very lightweight still.
i use vi because im paid by the hour
Important to note, JetBrains can be a bit pricey but if you're a student/academic you can get all their stuff for free with your university email! I got PyCharm as part of a software bundle when I started my undergrad and I would honestly struggle to use anything else at this point...!
00:50 - Vi 02:10 - Emacs 03:24 - Vim 04:25 - Neovim 04:51 - Nano 05:30 - Notepad / Notepad++ 06:05 - what? 💀 (Dreamweaver) 06:38 - Sublime text - Brackets - Atom 06:46 - Visual Studio Code 08:02 - Visual Studio 08:38 - Jet Brains
For Angular 2+ devs: Webstorm can automatically import ngmodules for you when you declare a component or feature, e.g if you write *ngif it can automatically import CommonModule. Also Webstorm has Vim emulation, I'll tell you more once I figure out how to exit.
Please make more “i tried” videos!
Yo you forgot MS Word
I can’t believe he skipped the important parts of neovim such as built in lsp, treesitter integration, and more
I swear you never make a bad video. Amazing as always. I use vim, btw. edit: yes, i still can't exist
4:38: Allow me to contribute a second datapoint here: Vimscript sucks. Integrating Lua into Neovim was a good move. Neovim also recently integrated LSP support, so you can get a very IDE-like experience.
I’ve had to use almost all these over the years but JetBrains has always been my go to for starting any new projects. Haven’t found anything that can come close to its refactoring and auto imports.
Microsoft's push for LSP has made all refactoring and smart tools available on every editor that supports it. My neovim config works much much better than having to open up a PHPStorm for every project.
Over a decade ago, I came across this doctor that had written his own document scanning app in notepad++ and was using notepad++ as the middleware. I had never seen someone MacGyver a text editor like that before.
You don't need to use Emacs in the terminal. The GUI is clean and simple and with frameworks such as Doom it's easier than ever to jump in and start working. This was not the best showing for Emacs.