Pinterest Stumbleupon Whatsapp
Ads by Google

If you’re someone who writes code regularly, it’s highly important that you use a code editor that you’re comfortable with. Under Linux, there is a large selection of editors to choose from, each one aimed at different types of programmers. Choosing just two editors to compare is really hard, but I chose my two favorites: Eclipse and Geany.

These two editors are fantastic at what they’re aimed to accomplish, but they’re still vastly different from one another. To take a closer look, I compared these two by the interface, amount of features, overall ease of use, and other characteristics such as language support.

Eclipse

Eclipse is a rather massive editor that tries to include every feature imaginable into a single package that everyone can use. Because of its large size, it definitely takes a while to launch, even with a solid-state hard drive. Once it does launch, it’ll ask you to choose a location for the workspace (where the project folders are saved) and then opens up the main window. Anyone who has used Visual Studio before will realize that the interface looks slightly familiar because Eclipse aims to be a similarly heavy code editor.

eclipse_interface

To get started, you’ll want to create a new project. Eclipse will ask you which programming language the project will be using. The amount of supported programming languages in this list depends on which additional packages and plugins are installed — with the right plugins and SDK, you can also create new Android application projects So, You Want To Develop Android Apps? Here's How To Learn So, You Want To Develop Android Apps? Here's How To Learn After so many years, one would think that the mobile market is now saturated with every app imaginable to man - but that's not the case. There are plenty of niches that still need to... Read More in Eclipse. From here you can become even more specific with the type of project (if you want) as well as choose which toolchain/compiler you want to use.

eclipse_project

Ads by Google

Once created, you can view the code, add new files to the project, and do whatever else you want. Eclipse also offers a nice outline which gives you a view of the currently written functions and variables. Another view allows you to create a tasklist so that you can stay focused on the work ahead by creating organized lists and scheduling deadlines.

eclipse_code

Of course, there are a few other highly complicated features available that only help those people who really know what they’re doing. Special functionality may also be added via various packages and plugins. Finally, the Preferences window allows you to customize virtually everything imaginable so that Eclipse will work the way you want it to. As expected, this can include line numbering, matching braces, and plenty more.

Installation

Eclipse can be installed from any Linux distribution by searching for an “eclipse” package within your respective package manager. In case your distribution does package groups such as Fedora Fedora 19 "Schrödinger's Cat" Is Alive And Full Of New Features and Improvements Fedora 19 "Schrödinger's Cat" Is Alive And Full Of New Features and Improvements Joy to the world, a new version of Fedora codenamed "Schrödinger's Cat" has been released! In the past, Fedora has provided leadership in the open source community, holding up to strict open source policies, continuous... Read More , you may want to select the Eclipse package group (if available) so that it will definitely pull all recommended packages as most distributions tend to split Eclipse into multiple packages.

Geany

Geany Geany - A Great Lightweight Code Editor For Linux Geany - A Great Lightweight Code Editor For Linux Surprisingly, Linux doesn't offer that many good IDE's (Integrated Development Environments). I believe this is because back in the day most Linux programmers took out good old Notepad (or gedit in this case), and started... Read More , on the other hand, is a very lightweight code editor. In fact, the only applications that would be even more lightweight are simple text editors that happen to support syntax highlighting. When you first launch it, you’ll be greeted with a much saner interface. You aren’t blasted with a multitude of various features you may or may not need, but rather a listing of more common actions.

You can create new files with a handful of supported programming languages, but these languages are hard-coded into Geany and cannot be extended. Most of the common languages are covered in the list. The idea of projects is mostly absent in Geany — instead you’ll only see a list of currently open files. While I like the idea of projects, this neglect to support them shows the simplicity of Geany. That provides both advantages and disadvantages, depending on your programming needs.

geany_template

Like any other text editor, it also includes line numbering, matching braces, and other shortcuts to make programming easier. Once your code is ready, the application can try to compile and run the code for you, but sometimes I have my own preferences when it comes to this — in Java I let Geany do everything, but for C/C++ I open up a Terminal to compile and run the application outside of Geany.

geany_run

Installation

Geany can be installed in any distribution by searching for a “geany” package within your respective package manager. Some distributions also offer some plugins for Geany — you’re welcome to install these if you like, but the main “geany” package should give you the full application.

Conclusion

So which code editor out of the two is better? I’d have to give it to Eclipse, simply because it can do everything and anything you throw at it. While I still prefer working with Geany (while my programming skills aren’t as advanced yet), it’s really best suited for beginners to intermediate coders. Anyone with high needs (such as Android app development) will pretty much require Eclipse to get their work done. That being said, you should evaluate your programming needs honestly to decide which code editor is best for you — you’ll only be making it difficult on yourself if you choose Eclipse when you really don’t need it.

Which code editor, or “Integrated Development Environment (IDE)”, do you use? Why do you like it the best? Let us know in the comments!

Kuba Bo?anowski

  1. steward
    January 21, 2016 at 6:42 am

    I'm using Eclipse with Geany as the associated text editor. These two applications are not mutually exclusive.

  2. Alex
    August 29, 2013 at 6:58 am

    For any Java project of medium to large size, Eclipse (or IDEA, if you want) is a MUST. You cannot even imagine, how much more time you will spend in Geany to do all the things I do in Eclipse in seconds. Navigating through code, code completion, refactoring, searching as you type for any class, browsing code structure in outline, full-featured mature debugger - all these tools I use EVERY SINGLE DAY, many times. And no, I'm not devloping for Android, I'm just Java developer. When you do a comparison with Eclipse, please do Java vs Java development, not C++, because Eclipse is primarily a Java IDE, and then everything else. Here is another interesting article, where Eclipse is compared to Visual Studio: http://jmonkeycoder.wordpress.com/2013/08/28/eclipse-vs-visual-studio/

  3. cristi
    August 28, 2013 at 6:09 pm

    Sublime text??

  4. Ed
    August 21, 2013 at 7:31 pm

    I like Eclipse for compiled languages like Java. Whereas text editors are nice for things like HTML and CSS that you can preview immediately in the browser.

    My programming mojo is not extensive by any means though :)

    • Danny Stieben
      August 31, 2013 at 5:12 pm

      I know my programming mojo isn't extensive either (yet), but I do know that Java technically isn't a compiled language. That's why there's a Java Virtual Machine that the Java code goes through at runtime to turn into machine code. :)

  5. TechnoAngina
    August 21, 2013 at 4:22 pm

    As another commenter said, it seems a bit of an unfair comparison. I'd be very interested in a Code:Blocks v Eclipse and a Geany v Notepad++ v emacs though. I think like you said it comes down to what you're going to be using it for.

  6. Gadrian
    August 20, 2013 at 9:00 pm

    Seriously? A full featured IDE vs a code editor?
    I can't wait to read your next article: "cars vs wheels"

Leave a Reply

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