Geany – A Great Lightweight Code Editor For Linux

geany logo   Geany   A Great Lightweight Code Editor For LinuxSurprisingly, 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

geany open   Geany   A Great Lightweight Code Editor For 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.

geany template   Geany   A Great Lightweight Code Editor For Linux

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.

Configurability

geany options   Geany   A Great Lightweight Code Editor For 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

geany run   Geany   A Great Lightweight Code Editor For Linux

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!

The comments were closed because the article is more than 180 days old.

If you have any questions related to what's mentioned in the article or need help with any computer issue, ask it on MakeUseOf Answers—We and our community will be more than happy to help.

12 Comments -

Josh Gunderson

MonoDevelop is nice if you wanna do C#, etc. on Linux.

Geany is also available for Windows, including a portable version: http://portableapps.com/apps/development/geany_portable

Josh Gunderson

MonoDevelop is nice if you wanna do C#, etc. on Linux.

Geany is also available for Windows, including a portable version: http://portableapps.com/apps/d

Josh Fox

I’ve been using Geany for quite a while, and it’s one of my favorites for all-around coding. There are many IDEs available for Linux, but Geany stands out because of it being light weight with so many capabilities and features. Most of the other IDE options are large to install and resource hogs. That all depends on what you’re needing to code though.

Anders Jackson

For light editing, I’m using Emacs and emacsclient. But then I have used Emacs since around 1990 or something :)

Miggs

First off, there are plenty of good full-featured ide’s in Linux. Codeblocks is awesome, so is Netbeans!

I use Geany as a primary ( and only ) text editor. It’s lighter, and much faster than Gedit, yet more featured. It’s also an advantage since most of the text files I open are code stuff.

Anyway, it’s not very handing when working on big programming projects. But I still use it to write scripts or ‘fast small’ pieces of code.

Danny Stieben

Hmmm, I guess there are more IDE’s than I thought there was. Probably because I’ve never heard of them, like Codeblocks and Netbeans. I’ve heard of emacs, but personally I don’t like it.

Miggs

Both Codeblocks and Netbeans are cross-platform. The first has a prominent user base and it’s appreciated both in Linux and Windows world. Check them out!

Egbert

Geany is a very good IDE indeed. I was using AVRGCC with Programmers Notepad under Windows but when I changed over to Linux with Geany. Very nice to work with!.
Egbert Jan (NL)

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.

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.

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…

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