Introduction
Ever since I've moved to Linux (around February, 2005), I've been looking for a decent editor for my programming needs. As most people out there, I'm not a professional hacker. My programming is limited to tweaking several PHP sites that I've created over the years and writing drupal modules in case I don't find anything that suits my needs. My requirements are pretty simple - I need an editor to be fairly small (=> fast - I can't wait 20 seconds for it to load), simple (if I don't code often, I'm never going to learn more sophisticated tools) and provide features that make working with the code bearable (code folding, functions browser, syntax highlighting).
Over those two years, I've tried many editors and none of them made me happy. General purpose editors (gedit, kate) are too simple - they're not aware of the syntax (besides syntax highlighting). Quanta expected me to do quite a bit of tweaking before I could move on. Eclipse has a few PHP plugins (for example PHPEclipse), but I can make and drink a coffee before it loads. For the past few months, I used gPHPEdit, but it wasn't perfect either - it had a few small (but visible) bugs, it lacked some features and it's default behavior bothered me a bit. And finally there's allmighty vim - more powerful then anything on the planet and lightning fast... but no honest vim fan will say it's a right tool for everybody. Every time I decided "it's vim time again", I found myself not remembering some crucial, but less common commands the next time I used it. Not to mention configuration - I gave up trying to install/enable PHP syntax highlighting after an hour of reading and trying. Right now I only use it for pretty much only for editing configuration files on a remote server. Recently I found Geany and instantly fell in love with it.
Geany's website has a brief description on the front page. All it says is that Geany is a small and lightweight IDE with very few dependencies. One would think it can't be too powerful. Surprisingly, it does almost everything I need and does it very well. Its default settings suited me well - whoever designed the user interface did a really good job. I didn't have to tweak anything other that some minor things (such as hiding certain menus to make the workspace a bit cleaner).
Features
- code folding - beyond some level of complexity, I find it hard to focus on what I'm doing at the moment. Code folding lets me hide big chunks of code a leave only what I'm working on right now.
- saving the session - Geany can load files from the last session. Unfortunately, it doesn't remember where the cursor was within the file or which parts of code were folded.
- sidebar - in pre-Geany times, I've never really used additional bars. This one is actually quite helpful. It lists all important code elements (functions, classes, variables, etc.) sorted in alphabetical order and lets me quickly jump to them. Also, I can right-click on a function name where it's used and quickly jump to a line when this function is declared (if it's declared in some file that's been opened, off course).
- all standard features anybody would expect - syntax highlighting, code completion, tabs, auto indentation (either tabs or spaces), (un)commenting and decreasing/increasing indentation of multiple lines.
- support for many languages - I counted 26 supported filetypes.
- build system - it can compile, build, make all, make custom target, make object and execute.
- multiple tiny bells and whistles, such as a color picker or the ability to insert predefined comments (for example description of a function).
- and most of all - it doesn't do anything that annoys me. It's quite common for smallish applications to behave in a non-standard way.
Documentation and community
Geany's documentation is rather short and to the point. Local documentation didn't work on my computer - clicking on it had no effect. It turned out I had to change a default browser in preferences (default was mozilla). That's a common thing in many programs. Instead of using system's default application, developers set their favorite browser as a default. Weirdest choice I've seen was Dillo as a default browser (can't remember which application was set up this way, though). Consider yourself lucky if you're allowed to change it.
Geany's users and developers communitate via mailing lists. So far I've only posted one question, regarding configuration of custom filetypes. Drupal uses .module extension for its modules and I had to manually set the filetype to PHP every time I opened a new file. I didn't find anything in the preferences, so I headed to the mailing list. It turned out that I missed a chapter in documentation that described how to achieve what I wanted. I was given the URL really quickly and nobody made a fuss about me not looking hard enough in the first place.
Cons
Would I change anything? Other then things mentioned above, I'd like Geany to use some sort of standard keybindings. If there was a standard. Free Software has made a great progress when it comes to standarization in the recent years - hopefully they'll get to that, too. I really wish I wouldn't have to remember is an application uses Ctrl+N or Ctrl+T for opening a new tab.
In the introduction, I wrote that Geany does almost everything I need. The only feature I'd like to see is editing remote files (via SSH). I quickly searched mailing list's archives and found out that this feature is not implemented because it would increase the number of dependencies and thus make the app more resources-hungry. A good solution is mounting a remote ssh filesystem using sshfs.
Conclusions
Generally, I'm a picky user. It took me a couple of years to switch from Opera to Firefox because everyone's favorite browser had some little annoyances. Geany, on the other hand, seems to be made with my humble person in mind. It does exactly what I want and not much more. It's fast, powerful and simple at the same time.
The editor is licensed under GPL. The download section provides the source and links to 3rd party builds for several distributions. The newest version (10.2) is already in Feisty repositories.
What's your favorite text editor? How does it compare to Geany? See that little form on the bottom of the page? Use it!










Tue, 24/04/2007 - 20:24
It looks quite nice, though I miss a few things and find at least one thing a bit weird.
It lists PHP/HTML as one type of file. Definitely not good.
I miss having projects, which are collections of directories that belong to the same, well, project
I miss Python support :)
But it look like a nice application. For now I'm working with Zend Studio, which is the ultimate of PHP IDE's imho. But if I'm going to try other languages, I might as well look at Geany (since I'm not a big eclipse fan).
Wed, 25/04/2007 - 15:31
Python support is available :)
Mon, 04/06/2007 - 09:50
It doesn't support Python properly, as it doesn't know the difference between indent size (Python style guide says 4 spaces) & tab size (always 8 spaces in Python). I wonder why, because the editor widget (Scintilla) has support for it (see e.g. SciTE).
Sun, 30/09/2007 - 14:45
Just use spaces instead of tabs.
Thu, 26/04/2007 - 11:24
PHP and HTML are separate filetypes in version 0.10 - maybe you have an older version?
There will be some basic project management in version 0.11.
Tue, 24/04/2007 - 22:10
Thanks for the tip about Geany. I'll check it out. I'm always interested in finding better editors/IDEs for development.
I wish BBEdit and TextMate were available on Linux and Windows.
Tue, 24/04/2007 - 23:37
What about komodo edit ?
Wed, 25/04/2007 - 02:07
jEdit really rocks if you havnt seen it. lots of php plugins (no messing about, click plugin name in the app, it installs!)
it has plugins for pretty much everything.
editors/ides are religous things so I wont do much beyond say Ive nought found much to compete with it. (i'm not an emacs/vi fan).
Wed, 25/04/2007 - 06:06
Yeah, I personally prefer ActiveState Komodo myself, though it's code-completion could do with an overhaul and has quite a few bugs in the new 4.x line. Plus it's not free.
I'm checking out Geany now :)
The best think about Komodo is that it's available for Windows, Linux, and OS X. I'm a Windows/Linux user (have to be), so it's a decent overall choice.
Wed, 25/04/2007 - 13:46
Geany seems nice, but it's missing the major feature of Kate that keeps me using her: the built-in file browser. As I have tens of sites on over a dozen servers, I find the SSH file browser in Kate indespensible. I simply bookmark the /home folder of each server, and I can then browse the sites as if they were local. I believe that VIM (and possible Emacs) can do that, but no other graphical editor is capable of such.
Thu, 24/01/2008 - 11:45
Hi, I think one can always use sshfs to mount those folders and use whatever editor one wishes
Wed, 25/04/2007 - 15:24
Thanks for pointing out this program.
I do a little php devolopment, usually wrap html and css inside php for websites. I have attempted to use gPHPEdit and Eclipse with the PHPEclipse but never stuck with them, but basically use bluefish, cssed, vi, tea, leafpad and kile.
Will give geany a try.
Since i'm on Ubuntu 6.06 Dapper LTS had to build package from sources. It's installed and usable on my system
Thu, 26/04/2007 - 08:39
I like Bluefish. it lacks some convenient options such as code folding, but it uses GnomeVFS to edit remote files, and it's nice and simple and not heavy.
Thu, 26/04/2007 - 14:24
I like the simplicity of scribes (http://scribes.sf.net). But I also liked geany when I tried it on Puppy Linux.
Nice article.
Tue, 29/05/2007 - 16:07
The only thing that I would really like geany to have more is the word highlighting. I mean, every time I would select a word by double click, for instance, it would highlight all the exact words.
This is a great feature, I'm used to it in Eclipse and is the only thing that bothers me in the editor :)
Other than that, very good, very stable, fast.
Ps - It would be great if it had a file manager as an option in the sidebar at least.
Fri, 01/06/2007 - 23:28
That's all nice, but I want to cross compile through it and I can't enable it in ubuntu.. I'd like to know how, the scripts did not work, I didn't install it from source, but I used:
sudo apt-get install mingw32 mingw32-runtime mingw32-binutils
Fri, 08/06/2007 - 17:47
Great software. I'm using it for develop a little web-software with Python, Javascript and HTML.
Very good. Great work.
Wed, 27/06/2007 - 17:54
Very good editor. I found it today, because I was searching the same like the author of this article. After the installation (with synaptic) it's very easy to configure Geany. I made some test and think I will use it in the future for programming in c++, php, html and vhdl.
Fri, 10/08/2007 - 11:00
thanks for the article, will try Geany right now :)
Sun, 26/08/2007 - 23:00
I have an old IBM t21 and the Aptana IDE causes the little machine to grind to a near halt. After too many hours searching for a fast, clean and simple editor for my caliber of machine I found Geany and Scite this evening. It is good to know that there are other developers with similar issues and preferences.
Hope this editor works well for JavaScript. Thanks
Fri, 05/10/2007 - 22:14
Nice editor, I'll definitely give it a try after reading this article. Have a look at PIDA http://pida.co.uk too, though it probably won't win your hart as it embeds vim or emacs :)
Wed, 21/11/2007 - 22:33
thank, useful information
Wed, 28/11/2007 - 08:23
Totally agree with the article: after years of Zend Studio, I found it hard finding an editor that fitted my needs without all the extra hassle. Geany does what it needs to do for me, and it does it fast.
I have to agree though, that one major thing is missing for me: the directory/file browser. For me, this is the one and only thing Geany lacks at the moment. Somehow, I seem to loose overview of my projects now, which messes up the quick way of working that Geany enables me to do.
On http://geany.uvena.de/Documentation/ToDo a file browser in the sidebar is listed for the next release, but unfortunately it is given a low priority...
Wed, 19/12/2007 - 23:24
sKZXXT enqgdwozqsmq, [url=http://milptunqjdeg.com/]milptunqjdeg[/url], [link=http://bkbxjmvdfjch.com/]bkbxjmvdfjch[/link], http://sucudtozqlht.com/
Sun, 30/12/2007 - 14:04
I've been using Geany a lot, and I love it. Since 0.12 it contains a plugin system, and with 0.13 (the upcoming release), it will have a file browser side bar plugin.
Only thing I miss is remote FTP editting. :)
Sat, 19/01/2008 - 03:13
Great software. I'm using it for develop a little web-software with Python, Javascript and HTML.
Sun, 10/02/2008 - 02:30
3oJgYT qodwvnkknoxy, [url=http://tfakouysolml.com/]tfakouysolml[/url], [link=http://rczecrjxnevg.com/]rczecrjxnevg[/link], http://pawyhcovsbxj.com/
Mon, 25/02/2008 - 18:41
Great software.
Fri, 07/03/2008 - 09:59
You mention VIM, and your objection is : not remembering some crucial, but less common commands. Why not try the graphical version GVIM ? Every command is also offered from the menu, you dont need to remember anything. You can now even run it from a removable drive : portablegvim.sourceforge.net. For older programmers who remember using ed, it's ideal.
Wed, 12/03/2008 - 17:44
The highest gambling odds and the biggest casino jackpots are the rule in the most popular online casinos listed within these gambling pages. Check out the offers and pick your gambling room.I grabbed that moment excepting that effect. A rule has this structural popular online casinos. Oh my, that country is much more depressed than one tremendous popular online casinos directory. This flying court upheld at some fellow top online casinos. It's afraid to be dreamed! That water is meekly parallel. By the way, one popular online casinos directory is more embarrassing than the part-time committee. Surprisingly, the top online casinos is far more embarrassing than some governing most popular online casinos. It's integrated to be dug! I curtsied that room contrary to the top online casinos. It's immediate to be activated! I nodded that top online casinos across from one support. The objective popular online casinos directory slapped amid one aware child. One home has this pretty most popular online casinos. I contemplated that road aboard one popular online casinos directory...
Thu, 13/03/2008 - 18:49
I'll check it out, but I don't think it's gonna beat jEdit (with a few plugins, I proclaim it feature-complete :p). I still really, really miss Notepad++, though. Habits.
Fri, 14/03/2008 - 12:07
This is my most interesting and most actively developed project. Geany is a small and lightweight integrated development environment.
Fri, 21/03/2008 - 21:19
good pro.
Thu, 27/03/2008 - 22:12
good information
Tue, 01/04/2008 - 06:32
Thanks for your cool information, I finally found appropriate PHP IDE, which enable me to work very quite perfect in both Linux & MS.
Sun, 04/05/2008 - 23:15
Thanks for the review. I've been looking for a decent, easy to use, open source PHP IDE. This looks like it'll do the trick.