27 Best IDEs for C/C++ Programming or Source Code Editors on Linux

C++, an extension of well known C language, is an excellent, powerful and general-purpose programming language that offers modern and generic programming features for developing large-scale applications ranging from video games, search engines, other computer software to operating systems.

C++ is highly reliable and also enables low-level memory manipulation for more advanced programming requirements.

Best Linux IDE Editors or Source Code Editors

Best Linux IDE Editors or Source Code Editors

There are several text editors out there that programmers can use to write C/C++ code, but IDE has come up to offer comprehensive facilities and components for easy and ideal programming.

Don’t Miss: 12 Best Text Editors (GUI + CLI) for Linux

In this article, we shall look at some of the best IDE’s you can find on the Linux platform for C++ or any other programming.

1. Netbeans for C/C++ Development

Netbeans is a free, open-source and popular cross-platform IDE for C/C++ and many other programming languages. Its fully extensible using community developed plugins.

It includes project types and templates for C/C++ and you can build applications using static and dynamic libraries. Additionally, you can reuse existing code to create your projects, and also use drag and drop feature to import binary files into it to build applications from the ground.

Let us look at some of its features:

  1. The C/C++ editor is well integrated with the multi-session GNU GDB debugger tool.
  2. Support for code assistance
  3. C++11 support
  4. Create and run C/C++ tests from within
  5. Qt toolkit support
  6. Support for automatic packaging of compiled application into .tar, .zip and many more archive files
  7. Support for multiple compilers such as GNU, Clang/LLVM, Cygwin, Oracle Solaris Studio and MinGW
  8. Support for remote development
  9. File navigation
  10. Source inspection
NetBeans IDE for C++ Programming

NetBeans IDE for C++ Programming

Visit Homepage: https://netbeans.org/features/cpp/index.html

2. Code::Blocks

Code::Blocks is a free, highly extensible and configurable, cross-platform C++ IDE built to offer users the most demanded and ideal features. It delivers a consistent user interface and feels.

And most importantly, you can extend its functionality by using plugins developed by users, some of the plugins are part of Code::Blocks release and many are not, written by individual users not part of the Code::Block development team.

Its features are categorized into a compiler, debugger and interface features and these include:

  1. Multiple compiler support including GCC, clang, Borland C++ 5.5, digital mars plus many more
  2. Very fast, no need for makefiles
  3. Multi-target projects
  4. A workspace that supports combining of projects
  5. Interfaces GNU GDB
  6. Support for full breakpoints including code breakpoints, data breakpoints, breakpoint conditions plus many more
    display local functions symbols and arguments
  7. custom memory dump and syntax highlighting
  8. Customizable and extensible interface plus many more other features including those added through user-built plugins
CodeBlocks IDE for C++ Programming

CodeBlocks IDE for C++ Programming

Visit Homepage: http://www.codeblocks.org

3. Eclipse CDT(C/C++ Development Tooling)

Eclipse is a well known open-source, cross-platform IDE in the programming arena. It offers users a great GUI with support for drag and drops functionality for easy arrangement of interface elements.

The Eclipse CDT is a project based on the primary Eclipse platform and it provides a fully functional C/C++ IDE with following features:

  1. Supports project creation
  2. Managed build for various toolchains
  3. Standard make build
  4. Source navigation
  5. Several knowledge tools such as call graph, type hierarchy, in-built browser, macro definition browser
  6. Code editor with support for syntax highlighting
  7. Support for folding and hyperlink navigation
  8. Source code refactoring plus code generation
  9. Tools for visual debugging such as memory, registers
  10. Disassembly viewers and many more
Eclipse IDE for Linux

Eclipse IDE for Linux

Visit Homepage: http://www.eclipse.org/cdt/

4. CodeLite IDE

CodeLite is also a free, open-source, cross-platform IDE designed and built specifically for C/C++, JavaScript (Node.js) and PHP programming.

Some of its main features include:

  1. Code completion and it offers two code completion engines
  2. Supports several compilers including GCC, clang/VC++
  3. Displays errors as code glossary
  4. Clickable errors via build tab
  5. Support for LLDB next generation debugger
  6. GDB support
  7. Support for refactoring
  8. Code navigation
  9. Remote development using built-in SFTP
  10. Source control plugins
  11. RAD (Rapid Application Development) tool for developing wxWidgets-based apps plus many more features
Codelite IDE for Linux

Codelite IDE for Linux

Visit Homepage: http://codelite.org/

5. Bluefish Editor

Bluefish is a more than just a normal editor, it is a lightweight, fast editor that offers programmers IDE-like features for developing websites, writing scripts and software code. It is multi-platform, runs on Linux, Mac OSX, FreeBSD, OpenBSD, Solaris, and Windows, and also supports many programming languages including C/C++.

Read Also: 11 Best Notepad++ Alternatives For Linux

It is feature-rich including the ones listed below:

  1. Multiple document interface
  2. Supports the recursive opening of files based on filename patterns or content pattern
  3. Offers a very powerful search and replace functionality
  4. Snippet sidebar
  5. Support for integrating external filters of your own, pipe documents using commands such as awk, sed, sort plus custom-built scripts
  6. Supports full-screen editing
  7. Site uploader and downloader
  8. Multiple encoding support and many more other features
BlueFish IDE Editor for Linux

BlueFish IDE Editor for Linux

Visit Homepage: http://bluefish.openoffice.nl

6. Brackets Code Editor

Brackets is a modern and open-source text editor designed specifically for web designing and development. It is highly extensible through plugins, therefore C/C++ programmers can use it by installing the C/C++/Objective-C pack extension, this pack is designed to enhance C/C++ code writing and to offer IDE-like features.

Brackets Code Editor for Linux

Brackets Code Editor for Linux

Visit Homepage: http://brackets.io/

7. Atom Code Editor

Atom is also a modern, open-source, multi-platform text editor that can run on Linux, Windows or Mac OS X. It is also hackable down to its base, therefore users can customize it to meet their code writing demands.

It is fully featured and some of its main features include:

  1. Built-in package manager
  2. Smart auto-completion
  3. In-built file browser
  4. Find and replace functionality and many more
Atom Code Editor for Linux

Atom Code Editor for Linux

Visit Homepage: https://atom.io/
Installation Instructions: https://www.tecmint.com/atom-text-and-source-code-editor-for-linux/

8. Sublime Text Editor

Sublime Text is a well-defined, multi-platform text editor designed and developed for code, markup, and prose. You can use it for writing C/C++ code and offers a great user interface.

Its features list comprises of:

  1. Multiple selections
  2. Command palette
  3. Goto anything functionality
  4. Distraction-free mode
  5. Split editing
  6. Instant project switching support
  7. Highly customizable
  8. Plugin API support based on Python plus other small features
Sublime Code Editor for Linux

Sublime Code Editor for Linux

Visit Homepage: https://www.sublimetext.com
Installation Instructions: https://www.tecmint.com/install-sublime-text-editor-in-linux/

9. JetBrains CLion

CLion is a non-free, powerful and cross-platform IDE for C/C++ programming. It is a fully integrated C/C++ development environment for programmers, providing Cmake as a project model, an embedded terminal window and a keyboard-oriented approach to code writing.

It also offers a smart and modern code editor plus many more exciting features to enable an ideal code writing environment and these features include:

  1. Supports several languages other than C/C++
  2. Easy navigation to symbol declarations or context usage
  3. Code generation and refactoring
  4. Editor customization
  5. On-the-fly code analysis
  6. An integrated code debugger
  7. Supports Git, Subversion, Mercurial, CVS, Perforce(via plugin) and TFS
  8. Seamlessly integrates with Google test frameworks
  9. Support for Vim text editor via Vim-emulation plugin
JetBains CLion IDE

JetBains CLion IDE

Visit Homepage: https://www.jetbrains.com/clion/

10. Microsoft’s Visual Studio Code Editor

Visual Studio is a rich, fully integrated, cross-platform development environment that runs on Linux, Windows and Mac OS X. It was recently made open-source to Linux users and it has redefined code editing, offering users every tool needed for building every app for multiple platforms including Windows, Android, iOS and the web.

It is feature-full, with features categorized under application development, application lifecycle management, and extend and integrate features. You can read a comprehensive features list from the Visual Studio website.

Visual Studio Code Editor

Visual Studio Code Editor

Visit Homepage: https://code.visualstudio.com/

11. KDevelop

KDevelop is just another free, open-source and cross-platform IDE that works on Linux, Solaris, FreeBSD, Windows, Mac OSX and other Unix-like operating systems. It is based on the KDevPlatform, KDE and Qt libraries. KDevelop is highly extensible through plugins and feature-rich with the following notable features:

  1. Support for Clang-based C/C++ plugin
  2. KDE 4 config migration support
  3. A revival of Oketa plugin support
  4. Support for different line editings in various views and plugins
  5. Support for Grep view and Uses widget to save vertical space plus many more
KDevelop IDE Editor

KDevelop IDE Editor

Visit Homepage: https://www.kdevelop.org

12. Geany IDE

Geany is a free, fast, lightweight and cross-platform IDE developed to work with few dependencies and also operate independently from popular Linux desktops such as GNOME and KDE. It requires GTK2 libraries for functionality.

Its features list consists of the following:

  1. Support for syntax highlighting
  2. Code folding
  3. Call tips
  4. Symbol name auto-completion
  5. Symbol lists
  6. Code navigation
  7. A simple project management tool
  8. In-built system to compile and run a users code
  9. Extensible through plugins
Geany IDE for Linux

Geany IDE for Linux

Visit Homepage: http://www.geany.org/

13. Anjuta DevStudio

Anjuta DevStudio is a simple GNOME yet powerful software development studio that supports several programming languages including C/C++.

It offers advanced programming tools such as project management, GUI designer, interactive debugger, application wizard, source editor, version control plus so many other facilities. Additionally, to above features, Anjuta DevStudio also has some other great IDE features and these include:

  1. Simple user interface
  2. Extensible with plugins
  3. Integrated Glade for WYSIWYG UI development
  4. Project wizards and templates
  5. Integrated GDB debugger
  6. In-built file manager
  7. Integrated DevHelp for context-sensitive programming help
  8. Source code editor with features such as syntax highlighting, smart indentation, auto-indentation, code folding/hiding, text zooming plus many more
Anjuta DevStudio for Linux

Anjuta DevStudio for Linux

Visit Homepage: http://anjuta.org/

14. The GNAT Programming Studio

The GNAT Programming Studio is a free easy to use IDE designed and developed to unify the interaction between a developer and his/her code and software.

Built for ideal programming by facilitating source navigation while highlighting important sections and ideas of a program. It is also designed to offer a high-level of programming comfortability, enabling users to developed comprehensive systems from the ground.

It is feature-rich with the following features:

  1. Intuitive user interface
  2. Developer friendly
  3. Multi-lingual and multi-platform
  4. Flexible MDI(multiple document interface)
  5. Highly customizable
  6. Fully extensible with preferred tools
GNAT Programming Studio

GNAT Programming Studio

Visit Homepage: http://libre.adacore.com/tools/gps/

15. Qt Creator

It is a non-free, cross-platform IDE designed for the creation of connected devices, UIs, and applications. Qt creator enables users to do more of creation than actual coding of applications.

It can be used to create mobile and desktop applications, and also connected embedded devices.

Some of its features include:

  1. Sophisticated code editor
  2. Support for version control
  3. Project and build management tools
  4. Multi-screen and multi-platform support for easy switching between build targets plus many more
Qt Creator for Linux

Qt Creator for Linux

Visit Homepage: https://www.qt.io/ide/

16. Emacs Editor

Emacs is a free, powerful, highly extensible and customizable, cross-platform text editors you can use on Linux, Solaris, FreeBSD, NetBSD, OpenBSD, Windows, and Mac OS X.

The core of Emacs is also an interpreter for Emacs Lisp which is a language under the Lisp programming language. As of this writing, the latest release of GNU Emacs is version 24.5 and the fundamental and notable features of Emacs include:

  1. Content-aware editing modes
  2. Full Unicode support
  3. Highly customizable using GUI or Emacs Lisp code
  4. A packaging system for downloading and installing extensions
  5. An ecosystem of functionalities beyond normal text editing including a project planner, mail, calendar and newsreader plus many more
  6. A complete built-in documentation plus user tutorials and many more
Emacs Editor for Linux

Emacs Editor for Linux

Visit Homepage: https://www.gnu.org/software/emacs/

17. SlickEdit

SlickEdit (previously Visual SlickEdit) is an award-winning commercial cross-platform IDE created to enable programmers with the ability to code on 7 platforms in 40+ languages. Respected for its feature-rich set of programming tools, SlickEdit allows users to code faster with complete control over their environment.

Its features include:

  • Dynamic differencing using DIFFzilla
  • Syntax expansion
  • Code templates
  • Autocomplete
  • Custom typing shortcuts with aliases
  • Functionality extensions using Slick-C macro language
  • Customizable toolbars, mouse operations, menus, and key bindings
  • Support for Perl, Python, XML, Ruby, COBOL, Groovy, etc.
SlickEdit - Source Code and Text Editor

SlickEdit – Source Code and Text Editor

18. Lazarus IDE

Lazarus IDE is a free and open-source Pascal-based cross-platform visual Integrated Development Environment created to provide programmers with a Free Pascal Compiler for rapid application development. It is free for building anything including e.g. software, games, file browsers, graphics editing software, etc. irrespective of whether they will be free or commercial.

Feature highlights include:

  • A graphical form designer
  • 100% freedom because it is open source
  • Drag & Drop support
  • Contains 200+ components
  • Support for several frameworks
  • A built-in Delphi code converter
  • A huge welcoming community of professionals, hobbyists, scientists, students, etc.
Lazarus IDE

Lazarus IDE

19. MonoDevelop

MonoDevelop is a cross-platform and open-source IDE developed by Xamarin for building web and cross-platform desktop applications with a primary focus on projects that use Mono and .Net frameworks. It has a clean, modern UI with support for extensions and several languages right out of the box.

MonoDevelop’s feature highlights include:

  • 100% free and open-source
  • A Gtk GUI designer
  • Advanced text editing
  • A configurable workbench
  • Multi-language support e.g. C#, F#, Vala, Visual Basic .NET, etc.
  • ASP.NET
  • Unit testing, localization, packaging, and deployment, etc.
  • An integrated debugger
MonoDevelop IDE for C Programming

MonoDevelop IDE for C Programming

20. Gambas

Gambas is a powerful free and open source development environment platform based on a Basic interpreter with object extensions similar to those in Visual Basic. To greatly improve its usability and feature set its developers to have several additions in the pipeline such as an enhanced web component, a graph component, an object persistence system, and upgrades to its database component.

Among its several current feature highlights are:

  • A Just-in-Time compiler
  • Declarable local variables from anywhere in a function’s body
  • Smooth scrolling animation
  • Gambas playground
  • JIT compilation in the background
  • Support for PowerPC64 and ARM64 architectures
  • Built-in Git support
  • Auto-closing of braces, markups, strings, and brackets
  • A dialog for inserting special characters
Gambas IDE Editor

Gambas IDE Editor

21. The Eric Python IDE

The Eric Python IDE is a full-featured Python IDE written in Python based on the Qt UI toolkit to integrate with Scintilla editor control. It is designed for use by both beginner programmers and professional developers and it contains a plugin system that enables users to easily extend its functionality.

Its feature highlights include:

  • 100% free and open-source
  • 2 tutorials for beginners – a Log Parser and Mini Browser application
  • An integrated web browser
  • A source documentation interface
  • A wizard for Python regular expressions
  • Graphic module diagram import
  • A built-in icon editor, screenshot tool, difference checker
  • A plugin repository
  • Code autocomplete, folding
  • Configurable syntax highlighting and window layout
  • Brace matching
The Eric Python IDE

The Eric Python IDE

22. Stani’s Python Editor

Stani’s Python Editor is a cross-platform IDE for Python programming. It was developed by Stani Michiels to offer Python developers with a free IDE capable of call tips, auto-indentation, PyCrust shell, source index, blender support, etc. It uses a simple UI with tabbed layouts and integration support for several tools.

Stani’s Python Editor’s features include:

  • Syntax colouring & highlighting
  • A UML viewer
  • A PyCrust shell
  • File browsers
  • Drag and drop support
  • Blender support
  • PyChecker and Kiki
  • wxGlade right out of the box
  • Auto indentation & completion
Stanis Python Editor

Stanis Python Editor

23. Boa Constructor

Boa Constructor is a simple free Python IDE and wxPython GUI builder for Linux, Windows, and Mac Operating Systems. It offers users with Zope support for object creation and editing, visual frame creation and manipulation, property creation and editing from the inspector, etc.

Feature highlights include:

  • An object inspector
  • A tabbed layout
  • A wxPython GUI builder
  • Zope support
  • An advanced debugger and integrated help
  • Inheritance hierarchies
  • Code folding
  • Python script debugging
Boa Constructor Python IDE

Boa Constructor Python IDE

24. Graviton

Graviton is a free and open-source minimalist source code editor built with a focus on speed, customizability, and tools that boost productivity for Windows, Linux, and macOS. It features a customizable UI with colorful icons, syntax highlighting, auto-indentation, etc.

Graviton’s features include:

  • 100% free and open-source
  • A minimalist, clutter-free User Interface
  • Customizability using themes
  • Plugins
  • Autocomplete
  • Zen mode
  • Full compatibility with CodeMirror themes
Graviton Source Code Editor

Graviton Source Code Editor

25. MindForger

MindForger is a robust free and open-source performance-driven Markdown IDE developed as a smart note-taker, editor, and organizer with respect for the security and privacy of users. It offers tons of features for advanced note-taking, management, and sharing such as tag support, data backup, metadata editing, Git and SSH support, etc.

Its features include:

  • Free and open source
  • Privacy-focused
  • Supports several encryption tools e.g. ecryptfs
  • Sample mapper
  • Automatic linking
  • HTML preview and zooming
  • Import/export
  • Support for tags, metadata editing, and sorting
MindForger Markdown IDE

MindForger Markdown IDE

26. Komodo IDE

Komodo IDE is the most popular and powerful multi-language integrated development environment (IDE) for Perl, Python, PHP, Go, Ruby, web development (HTML, CSS, JavaScript) and more.

Check out some of the following key features of Komodo IDE.

  • A powerful editor with syntax highlighting, autocomplete, and more.
  • A visual debugger to debug, inspect and test your code.
  • Support for Git, Subversion, Mercurial, and more.
  • Useful add-ons for customizing and extending features.
  • Supports Python, PHP, Perl, Go, Ruby, Node.js, JavaScript and more.
  • Set your own workflow using easy file and project navigation.
Komodo IDE

Komodo IDE

27. VI/VIM Editor

Vim an improved version of VI editor, is a free, powerful, popular and highly configurable text editor. It is built to enable efficient text editing and offers exciting editor features for Unix/Linux users, therefore, it is also a good option for writing and editing C/C++ code.

Don’t Miss: Learn Vi/Vim as a Full Text Editor – A BEGINNER’S GUIDE

Generally, IDEs offer more programming comfortability then traditional text editors, therefore it is always a good idea to use them. They come with exciting features and offer a comprehensive development environment, sometimes programmers are caught up between choosing the best IDE to use for C/C++ programming.

There are many other IDEs you can find out and download from the Internet, but trying out several of them can help you find that which suits your needs.

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

Aaron Kili

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

85 Responses

  1. tom-erik says:

    Where is Komodo?

  2. Pietro Pesci Feltri says:

    In all IDEs for C/C++ you show here, I used Netbeans, KDevelop, Code:: Blocks, Eclipse and Visual Studio Code.

    The best hands down are Netbeans because is really powerful and more intuitive and consistent. KDevelop is some tied to QT, Code::Block and Visual Studio are some crude, but Eclipse for Linux is simply unusable.

  3. Rick Stanley says:

    I have been in this business since 1986, and have taught C & C++ on a University level, and well as a contract programmer.

    IMHO, having used and experimented with various IDE’s, I have yet to find one I could use comfortably. I currently using a full featured programmers editor, emacs, which could be considered by some, as an IDE. I don’t, even though it should be on the list, to counter the inclusion of vi/vim,

    IMHO, the best IDE is the Linux O/S, and bash command line! No, I am not kidding!

    I use emacs as my editor, and to compile using a Makefile. (It does have a feature that allows me to locate and correct errors easily! Along with many other excellent features and add-ins.)

    For debugging, I don’t use gdb directly, but I do use kdbg, as I find it easier to use than gdb directly.

    There are other tools available, such as valgrind, splint, profilers, and others, that may or may not integrate with some IDE’s. Some external tools might integrate well with one or more IDE’s, and other external tools might only work with other IDE’s. All external tools WILL work well with the bash command prompt!

    A lot of people, especially beginners, get caught up in figuring out how to configure and use IDE’s, and resort to online forums, when they fail, and can’t figure out how to fix whatever problem the are having! ;^) They spend more time fighting the IDE than writing the program itself!

    My favorite misconception by beginners, is: “Code::Blocks is a compiler!” ;^) (See: http://wiki.codeblocks.org/index.php/FAQ-General#Q:_What_Code::Blocks_is_not.3F)

    IMHO, when you eliminate the chaff (IDE’s) and concentrate on learning the language, editors, tools, libraries, etc…, you become a better programmer, faster, and more effectively.

    Not trying to start a flame war but to offer the bash command line as a valid option to the IDE’s listed.

  4. Mark says:

    I’ve tried Code::Blocks and I am very displeased with it. The description here is incorrect. It lacks many IDE features, so what’s all about “offer users the most demanded and ideal features”? The GUI is not consistent at all and contains many bugs.

    Furthermore, the syntax highlighting sucks, refactoring is something the devs have never heard of, and closed panels are not automatically opened when new output is generated (compile or console).

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.