I use Geany, my fallback is gedit.
I will emphasise that Geany's extremely lightweight, and even then I run it with most features turned off. I use it on both Ubuntu and Windows. Above gedit it has slightly smarter indentation and highlighting, and better handling for multiple source files.
It's available in Ubuntu apt-get install geany
. There are also 14 optional plugins packaged in Ubuntu for Lucid 10.04.1.
To copy mostly verbatim the features of Geany:
Geany is a small and lightweight Integrated Development Environment. It was developed to provide a small and fast IDE, which has only a few dependencies from other packages. Another goal was to be as independent as possible from a special Desktop Environment like KDE or GNOME - Geany only requires the GTK2 runtime libraries.
Some basic features of Geany:
- Syntax highlighting
- Code folding
- Symbol name auto-completion
- Construct
completion/snippets
- Auto-closing of
XML and HTML tags Call tips
- Many
supported filetypes including C,
Java, PHP, HTML, Python, Perl, Pascal
(full list)
- Symbol lists Code
navigation
- Build system to compile
and execute your code Simple project
management
- Plugin interface (see
Plugins)
Geany is known to run under Linux, FreeBSD, NetBSD, OpenBSD, MacOS X, AIX v5.3, Solaris Express and Windows. More generally, it should run on every platform, which is supported by the GTK libraries. Only the Windows port of Geany is missing some features.