DEV Community

wolfiton
wolfiton

Posted on • Updated on

Five editors every developer should know

Nano

Nano is a built-in editor in many Linux distributions that can be used by typing on the keyboard, it doesn't rely on the mouse for editing actions.

So it's the perfect company when you work in a non-GUI environment on the webserver.

The basic commands include hotkeys like:

  • CTRL+O - to save the document

  • CTRL+X - to exit the current document

Find more about Nano https://www.nano-editor.org/

Vim

Vim is not installed by default and is the improved version of vi which is also a keyboard-based editor that can be used in non-GUI environments.

The keyboard shortcuts and commands to make VIM work are a bit more complex.

For example to be able to insert something in a document you need first to press the i on your keyboard.

This command will make VIM enter insert mode, in this mode, the document can be edited. To exit this mod we need to press the ESC key on our keyboard, which will bring VIM in command mode.

After all this, we might also want to save our document so we will need to type:

:wq 

The above command can be translated as write and quit.

So as you can see Dear Reader, Vim is pretty complex but its power rests in the command mode. I encourage you to explore it.

Find more about vim https://www.vim.org/

VSCodium(VSCode without telemetry)

VSCode built from the source without telemetry, is a robust IDE that will most certainly help you face all the challenges you may face in your developer career.

Also where VSCodium powers end, a new power will rise with the help of extensions provided by the community that can make your IDE into a real hero and also change its appearance.

VSCodium has integrated also a terminal any debug tools you may need to face the dangerous bugs that lie in the shadows of your code.

So VScodium, BE WITH YOU, brave programmer!. (Force be with you - from Star wars)
Find more about VSCodium https://vscodium.com/

Atom

Atom the opensource editor that exploded overnight and has a huge community that tries to make it better with each release.

If you wanted to know every last bit of your editor and also change everything, well then you found your editor,

Atom is the most hackable editor you will ever find and it's created for the 21st century.

Also, it has collaboration set up by default, under the name of Teletype, that will allow you to collaborate and share your code with others in real-time.

Update

It doesn't have collaboration set up by default, it is a plugin you will need to install and it is not included in the core.

So if your passion is to strip everything out that you don't like, look no further.

All that I can say good luck with your tinkering.

Find more about Atom https://atom.io/

Eclipse

One of the two editors any Java company will ask if you master it, the other one is Intellij Idea.

Big companies prefer to work with well-tested tools and Eclipse is a veteran in this field and every new release is created and generates more trust

As a result, a lot of companies use it for other languages as well and adapt it to their workflow.

Eclipse is so big that it has its own conference where the new features are presented along with best practices.

So it's best to keep an eye out for it.

Find more about Eclipse https://www.eclipse.org/

I hope you enjoyed this article Dear Reader, also if you find it useful share it on social.

Credits:

https://www.nano-editor.org/

https://www.vim.org/

https://vscodium.com/

https://atom.io/

https://www.eclipse.org/

Top comments (14)

Collapse
 
elmuerte profile image
Michiel Hendriks

Eclipse is not an editor, it's an IDE which almost consumes as much memory as your average Electron application.

Also, nano is sadly not a default in most Linux distros. For some odd reason centos does not have nano, nor nano-tiny, by default. Centos does come with the obscure (reduced) vim.

Collapse
 
ghost profile image
Ghost • Edited

So Atom should consume as much as Eclipse?, that's a no-go for me. Too bad, looked nice.

Collapse
 
wolfiton profile image
wolfiton • Edited

Atom uses similar memory like VSCode, so you should try it

Thread Thread
 
ghost profile image
Ghost • Edited

how much would be that aprox? I'm used to work with a bunch of open files next to each other, and I like my RAM available, also I'm used to Vim so over 100MB for text editing is barbaric to me, RAM is expensive around here.

Thread Thread
 
wolfiton profile image
wolfiton

It's an electron app like VSCode so I think that it consumes more then 100 mb. See this article for some insights blog.atom.io/2019/07/23/atom-1-39....

Thread Thread
 
ghost profile image
Ghost

thanks for the info, I'll check it out, even if I don't end up using it, is good to have alternatives to recommend others when asked, I love Vim, but is not everyone cup of tea :)

Thread Thread
 
wolfiton profile image
wolfiton • Edited

You are welcome. Glad I could help.
Just out of curiosity, do you work in Dev OPS or support that you need all the RAM for something else, then the editor?

Collapse
 
wolfiton profile image
wolfiton • Edited

Odd in Kubuntu, Nano is the default, Manjaro and I think in Fedora too.

Can you work with vi?(because I can't)

Collapse
 
elmuerte profile image
Michiel Hendriks

Debian defaults to nano or nano-tiny for the smaller installs. Thus Debian derivatives, like Ubuntu, generally include nano in the base install.

Vi is long dead, and not even included in any Linux distribution for a long time. Vi is actually vim in vi-mode. I don't like either (vi nor vim). Give me nano, pico, emacs, jove, ...

Every time I execute a command which puts me into vim is followed by a bunch of offensive words and ESC key presses. I know how to use Vim, for basic stuff, but I hate it.

Thread Thread
 
wolfiton profile image
wolfiton • Edited

I personally don't hate it or love it. I find it useful sometimes to just edit small parts of configs. For bigger parts I usually use nano.

But the ability to delete the whole row with dd, shouldn't be ignored either.

Thread Thread
 
moopet profile image
Ben Sinclair

Vim is love, Vim is life.

Collapse
 
moopet profile image
Ben Sinclair

Ah, nano. The only editor where ctrl-O saves a file instead of opening one.

Also, Vim is usually installed by default, even if it's a small build masquerading as vi.

Collapse
 
sigmapie8 profile image
Manav

If it were twitter, emacs people would have eaten you alive!😁

Collapse
 
wolfiton profile image
wolfiton

You are completely right, the war of the editors emacs vs vim is never ending.