views:

562

answers:

7

What would be a Gnome source code editor, closest to Notepad++. I'm particularly interested in:

  1. Python auto-completion;
  2. Source-code highlighting;
  3. Basic text modigfication macroses.
+2  A: 

Standard ones: vim, emacs (needs way better configuration as the default is very unfriendly to most people used to common Windows keys). Eclipse IDE's PyDev is quite good at all of this and much more (unit test integration and a little refactoring support being quite notable). Of course, Eclipse is java based, so be sure to have java installed first. I haven't actually used this one, but Eric's IDE seems to be quite nice as well.

Some other usefull resources:

  • List of Python IDES
  • Wikipedia's list
  • IBM article about PyDev (it is a bit outdated though)
  • PyDev extensions (if you feel you need a bit more features in the future)
Daniel Ribeiro
+1  A: 

It depends what you like really. I would say Emacs, but that's just me. Python auto-completion is apparently available (though probably not perfect seeing as Python functions can be defined at runtime).

But there's also gvim, and much more.

Matthew Flaschen
+1  A: 

A little more specifics on your requirements would be nice, but I guess I could just list the editors from the top of my head.

  • Geany
  • Jedit
  • Vim/Gvim
  • Emacs
  • Eclipse with some plugins
  • gedit

For a more minimalistic approach, the terminal editors like vim and emacs are very very lightweight, but can become very powerful in the right hands (that means get reading!). As for the others, I cannot vouch for them at all, but I just listed them because I remembered that they were editors.

For the easiest one, just stick with gedit, which is almost guaranteed to already be installed. It's pretty simple, but perfectly fine for some use until you can figure out the one you love the most.

Andrew Szeto
Neither Emacs nor vim are only terminal editors anymore (i.e. for years).
Matthew Flaschen
I only meant that they were terminal editors if you needed them to be (as in the case of wanting something extremely minimalistic). If a GUI is needed though, people can always go to those versions.
Andrew Szeto
+1  A: 

With those requirements i would recommend "Stani's Python Editor" or Komodo-Edit, both support Source-code highlighting, syntax check and auto-completion in python (Komodo with the proper plug-ins installed).

Grillo
Komodo for sure, IMO best IDE for Python development.
musicfreak
I like Komodo Edit too for working with python, is clean, fast and works nice when working with javascript/php/html embed files too, but in the other hand I've worked with SPE too, the auto-completion tool is a bit slower and dumber, but is introspection-based, witch helps when working with obscure libraries, and comes with debugger included (witch you can download separately too, but is always nice to have that debug key within reach). The paid version of Komodo (Komodo-IDE) comes with a debugger and more seasoning too... but no worth if it's going to be used to be used for personal uses.
Grillo
+1  A: 

Emacs is the Swiss Army Knife of editors and should be installed or easily installable on any Gnome-based system. It has a pretty good Python 'mode', which in emacs parlance includes syntax highlighting and auto-indentation but usually not autocompletion.

The great thing about emacs is that if you don't like what's there, it's programmable so you can extend it yourself. The horrible thing about emacs is that the people who create things know this, so they don't always exert themselves to the full extent of their abilities, leaving you with something that is almost what you want.

Norman Ramsey
A: 

If you are willing to pay for it, give SlickEdit a try.

ammoQ
+1  A: 

Redcar is a great brand new text editor for Gnome. Written almost entirely in Ruby.

Here are some screenshots if you're interested.

John T