Geany – A Great Lightweight Code Editor For Linux

Ads by Google

simple code editorSurprisingly, 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 coding from that.

However, I’m glad to know that there are now two really good IDEs out there, and Geany is one of them. Compared to Eclipse, the other good IDE, it’s much more lightweight but just as capable.

Basic Features

simple code editor linux

Geany supports all of the major programming languages, and offers all the common features that you expect for an IDE, such as syntax highlighting and line numbering. When you open it up (which doesn’t take very long at all), you’ll be greeted with a clean interface and lots of white space to work with. All of the compiler’s messages will appear in the box at the bottom of the window, which is extremely important for debugging your code. From here, you can open a new file and select the default file type for the language you want to program with. It loads the basic configuration for that file, and away you go.

code editor

Light Is Right

Aside from being lightweight, Geany does a great job of staying out of the way while you code, and displaying certain features right where you need them. Line numbers, syntax highlighting, automatically closing braces, parenthesis, and more, all do what they need to do, and don’t alter your personal workflow style. For a programmer, it’s very good to develop a coding habit you’re comfortable with and use a code editor that doesn’t force you to do things differently.

Ads by Google

Configurability

code editor linux

Just like Xournal in my earlier review, Geany comes with plenty of options even though it’s lightweight. There’s many things you can configure, including some that I never knew could be configured. These options are an important part of Geany and its ability to stay out of your way and let you work the way you want to. It’s highly recommended that you at least look at the options that Geany offers so that you can configure them the way you want, and make Geany all the more pleasing.

Compiling Your Code

simple code editor

Compiling and running your code is very easy. Simply click one button to compile, and when that completes, click another button to run. What happens when you hit run depends on what you’ve programmed, but as an example, if you programmed a very basic program in Java and run it, the output will be displayed using your preferred terminal. Once the program runs to completion in the terminal, you just need to hit enter once to exit out. It keeps everything clean and simple, just like the rest of the program.

Conclusion

Geany is simply a great IDE for Linux, especially when Eclipse doesn’t appeal to your taste. However, even if Eclipse is alright in your opinion, you should still look at Geany for its ease of use and out-of-box, ready-to-use setup.

If you program on Linux, what IDE do you use? If you use Geany, how do you rate it and what other features do you think are important? Let us know in the comments!

Join live MakeUseOf Groups on Grouvi App Join live Groups on Grouvi
Master the Linux Command Line
Master the Linux Command Line
38 Members
Best Linux Apps
Best Linux Apps
35 Members
Linux for New Switchers
Linux for New Switchers
34 Members
Linux Distros Talk
Linux Distros Talk
29 Members
Ads by Google
Comments (13)
  • Cerule

    I think there isn’t so many IDEs because many linux programmers prefer Vim or Emacs insted.

  • frodo wiz

    tried emacs and vim.. waste of time if you are new to them.. i want to write code  for  things other then the workings of a text editor.. geany seemed responsive and  the run and compile worked without fiddling/praying or writing a script to make it work.. to each his own.. linux=choice 

  • Anonymous

     I’m probably the only one here who uses KomodoEdit, but I like it’s code completion and project management features.  But I mostly just do light shell scripts and HTML/CSS stuff, so it’s not like I’d know the difference when it comes to giant projects…

  • Burkay Genc

    I use gedit (for everything simple), Eclipse (for Java and Blackberry development), Codeblocks (for C, C++), TexMaker (for Latex). I don’t agree with you. There are numerous very nice IDEs in Linux. Even gedit alone does the job for many a programmer. Especially the latex plugin of gedit creates a class A latex IDE immediately. The thing with gedit is it requires a bit of tweaking and configuring before it becomes “your” IDE.

  • chassum

    I’ve used Geany in Linux for 3+ years for scripting in Tcl, bash, and Ruby. Now my co-workers are using it on Windows, too.

Load 10 more
Affiliate Disclamer

This review may contain affiliate links, which pays us a small compensation if you do decide to make a purchase based on our recommendation. Our judgement is in no way biased, and our recommendations are always based on the merits of the items.

For more details, please read our disclosure.
Affiliate Disclamer

This review may contain affiliate links, which pays us a small compensation if you do decide to make a purchase based on our recommendation. Our judgement is in no way biased, and our recommendations are always based on the merits of the items.

For more details, please read our disclosure.