The code editor is basically a text editor which is designed to work with pretty much any programming language.
In this article, I am gonna talk about the top 6 text or code editors which you can install on your system and start using it.
You can have a look at another article that can help you to understand the difference between IDE vs Text Editor.
Vim, or Vi IMproved, It’s a highly configurable text editor that’s built to serve the needs of a developer. For beginners, it is complicated because it is tough to use and huge learning curve.
It supports, split-screen, session screen, tab expansion, syntax highlighting, and tag system.
You can find download links to install vim.
1 2 3 4 5 6 7 8 # Linux sudo apt-get install vim # MacOS brew install vim # Windows choco install vim
Nano is another popular text editor. It is available only for command-line interface. It supports Case sensitive search, Auto Indentation, Tab Completion, Autoconf support, and etc.
Visual Studio Code
It is a free and modern text editor. It offers tons of powerful features such as debugging capability, autocomplete, supports pretty much all of languages, Built-in terminal and etc.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 # Linux wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg sudo install -o root -g root -m 644 packages.microsoft.gpg /etc/apt/trusted.gpg.d/ sudo sh -c 'echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/trusted.gpg.d/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list' rm -f packages.microsoft.gpg sudo apt install apt-transport-https sudo apt update sudo apt install code # or code-insiders # MacOS brew install visual-studio-code # Windows choco install vscode
Sublime Text is a text editor built for code and markup. It natively supports pretty much all programming languages. It quickly navigates files, lines, or symbols. It also supports Python-based plugin API, simultaneous editing, specific project preferences, and etc.
You can find download links to install Sublime text.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 # Linux wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add - sudo apt-get install apt-transport-https echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list sudo apt-get update sudo apt-get install sublime-text # MacOS brew install sublime-text # Windows choco install sublimetext2 choco install sublimetext3.app
Atom is free and brilliant text editor of the 21st century. IT supports cross-platform editing, built-in package manager, file system browser, multiple pane support, find and replace function, and smart autocompletion.
You can find download links to install Atom.
1 2 3 4 5 6 7 8 # Linux sudo apt install atom # MacOS brew install atom # Windows choco install atom
It is lightweight text editor built by Adobe. It supports preprocessor for SCSS and LESS, live preview, multiple tabs, and etc.
You can find download links to install Brackets.
1 2 3 4 5 6 7 8 9 10 # Linux sudo add-apt-repository ppa:webupd8team/brackets sudo apt-get update sudo apt-get install brackets # MacOS brew install brackets # Windows choco install brackets
Vim editor is winner here, but everyone has their own way of thinking and explaination. You can choose whatever text/code editors you like, but stick to it once you picked one and learn it.
But if you are a beginner, then stick to a simple text editor, and start with at least basics of any programming language, and then finally start exploring proper Text/Code Editor for your daily routine.