5 Useful Atom Plugins for C/C++ Developers

Hello everyone. In this article, I want to show you how to build a development environment for C/C++ in the Atom text editor. If you don’t familiar with Atom, please read this article before. There are many IDE options for developing C/C++ applications on Linux such as CLion, Qt Builder etc. However, I usually prefer working on Atom because it is fast and lightweight when we compare with its competitors.

Firstly, if you want a complete development environment, you can choose a commercial IDE, but I strongly recommend to you to setup this kind of lightweight development environment. Let’s start!

Atom has a strong package management system located on Edit->Preferences->Packages tab.  Moreover, You can also look at these packages at http://atom.io/packages. I picked up some of the most useful packages for you. In order;

  1. autocomplete-ctags

    It helps to make auto-complete feature. You also need to install “clang” package on your distro.

  2. linter-clang

    This Linter plugin provides an interface to clang. You also need to have “linter”.

  3. atomic-rtags

    It provides excellent C++ code navigation functionality using rtags.

  4. atom-terminal-panel

    A talented and embedded terminal emulator for Atom

  5. switch-header-source

    Quick switching between C/C++/Objective-C header and source files.


You can find more plugin and enrich this list. These tips allows you to setup Atom for C/C++ development and cross-compilation. As I said in the beginning of the article, it is really fast. Moreover, new features will probably be available soon. You also can do research about how to debug your code via gdb and you can look at this bundle which was prepared for C/C++ developers. Finally, when we look at the final state of our editor, we will see this kind of thing;

Happy codings!

Tagged: Tags