Editors of choice

12 views
Skip to first unread message

Samuel Hopkins

unread,
Sep 7, 2009, 11:55:47 AM9/7/09
to django...@googlegroups.com
Hello Django peeps,

I am a Django newbee. I have had my eye on Djanjo for a year or so now but held off because I had limited python experience. However, after a summer of python and watching Django's popularity snowball, I think I am ready to go :)

Anyhow, the purpose of this email was just to ask the community what editor(s) they preferred to use with Django.

Thanks!

--
Samuel Hopkins


Javier Guerra

unread,
Sep 7, 2009, 12:28:00 PM9/7/09
to django...@googlegroups.com
On Mon, Sep 7, 2009 at 10:55 AM, Samuel Hopkins<hopkins...@gmail.com> wrote:
> Anyhow, the purpose of this email was just to ask the community what
> editor(s) they preferred to use with Django.

Kate and Quanta+

--
Javier

Mike Ramirez

unread,
Sep 7, 2009, 1:12:56 PM9/7/09
to django...@googlegroups.com

Depends on the mood and situation, I normally use kate or vi/vim for most
programming tasks, but I've been delving into PyQt a lot lately and started
using Eric4 and found Eric4 has a django plugin that is helpful and makes it a
nice ide for both django and pyqt and sort of has become my editor of choice
for programming with both libraries.

Mike
--
There was, it appeared, a mysterious rite of initiation through which, in
one way or another, almost every member of the team passed. The term that
the old hands used for this rite -- West invented the term, not the practice
--
was `signing up.' By signing up for the project you agreed to do whatever
was necessary for success. You agreed to forsake, if necessary, family,
hobbies, and friends -- if you had any of these left (and you might not, if
you had signed up too many times before).
-- Tracy Kidder, _The Soul of a New Machine_

signature.asc

Joshua Russo

unread,
Sep 7, 2009, 7:30:27 PM9/7/09
to django...@googlegroups.com
I have used and enjoyed the Python support NetBeans. It's almost complete but if you like to have a visual debugger it works well. The only real nag is that I had to kill the Python process that it started durring debug because for some reason it didn't kill it automatically when the debug session ended. 

The other problem I had was that I'm doing the bulk of my development work on a very old computer (PIII 350 w/ 256 megs ram, impressive huh? :o) ) so Netbeans being a fairly new fangled piece of software didn't run very well. Though I did actually struggle through it for about a month or so, which says some good things about it's performance that I was even able to do that. 

I then switched to just using Textpad with Python highlighting and pdb (http://docs.python.org/library/pdb.html) for debugging. Once you get the hang of pdb it's extremely powerful. It basically drops you right into the code with a Python command line. If you don't yet have experience with the Python command line I would highly recommend getting a feel for it. They use it through out the Python tutorial in the docs (http://docs.python.org/tutorial/index.html), so that would be a good place to start if you haven't done that yet.

Just yesterday I downloaded Komodo Edit (http://www.activestate.com/komodo_edit/) it's half way between a text editor and an IDE like Netbeans. I only have a few days experience with it and I've just been doing HTML and CSS work the last few days, so I'm not sure about it's debugging capabilities. It does have code completion that works well.

That's my experience so far. I hope it helps.

Josh

Jonas Obrist

unread,
Sep 7, 2009, 7:34:13 PM9/7/09
to django...@googlegroups.com
I use eclipse with PyDev + Web Developement tools (and a bunch of other
addons :D) and I really like it. Only thing that bugs me is the lack of
a django syntax highlighter but that might be hard to find.

Angel Cruz

unread,
Sep 7, 2009, 7:35:56 PM9/7/09
to django...@googlegroups.com

I would go with an IDE.

 

I don’t thnk anyone can progress quickly without being able to step through the code and look at the variables and objects.  My productivity skyrocketed when I discovered WingIDE under Windows.  It almost feels like I am in Visual Studio.  It is not free, but it will not break the bank as well.  I am not sure how it works in FreeBSD (god I hope it does because that is the production server I will launch).

 


Wayne Koorts

unread,
Sep 7, 2009, 7:39:43 PM9/7/09
to django...@googlegroups.com
> Anyhow, the purpose of this email was just to ask the community what
> editor(s) they preferred to use with Django.

Assuming you mean text editor: jEdit (www.jedit.org).

Regards,
Wayne

Jim

unread,
Sep 7, 2009, 8:48:58 PM9/7/09
to Django users
On Sep 7, 7:30 pm, Joshua Russo <josh.r.ru...@gmail.com> wrote:
> I then switched to just using Textpad with Python highlighting and
pdb, (http://docs.python.org/library/pdb.html) for debugging. Once you
get the
> hang of pdb it's extremely powerful. It basically drops you right into the
> code with a Python command line. If you don't yet have experience with the
> Python command line I would highly recommend getting a feel for it.

I must be doing something wrong. I have never been able to get a
sensible output from pdb. Is there a web page with an illustration of
using it with Django that you could recommend?

Jim

Torsten Bronger

unread,
Sep 8, 2009, 2:03:05 AM9/8/09
to django...@googlegroups.com
Hallöchen!

Angel Cruz writes:

> I would go with an IDE.
>
> I don't thnk anyone can progress quickly without being able to
> step through the code and look at the variables and objects.

Objection!

I used to use IDEs with step-through debugging functionality, now I
use "print" and log files. I definitely code as quickly as before.
Of course, you have to get used to it and maybe some programming
experience is necessary. But on the other hand, there are more
tools you can work with.

Tschö,
Torsten.

--
Torsten Bronger, aquisgrana, europa vetus
Jabber ID: torsten...@jabber.rwth-aachen.de
or http://bronger-jmp.appspot.com

David De La Harpe Golden

unread,
Sep 8, 2009, 6:01:39 AM9/8/09
to django...@googlegroups.com
gnu emacs with ropemacs and nxhtml (has django template mode)
packages.


ThinRhino

unread,
Sep 8, 2009, 7:11:38 AM9/8/09
to django...@googlegroups.com
On Monday 07 September 2009 10:42 PM, Mike Ramirez wrote:
>
> Depends on the mood and situation, I normally use kate or vi/vim for most
> programming tasks, but I've been delving into PyQt a lot lately and started
> using Eric4 and found Eric4 has a django plugin that is helpful and makes it a
> nice ide for both django and pyqt and sort of has become my editor of choice
> for programming with both libraries.
>
> Mike
>


Mike,

Does Eric4 support mercurial? I tried google, but did not find an answer.

ThinRhino

--
Ships are safe in the harbour
But that is not what ships are built for

Mike Ramirez

unread,
Sep 8, 2009, 7:37:31 AM9/8/09
to django...@googlegroups.com
On Tuesday 08 September 2009 04:11:38 ThinRhino wrote:
> Mike,
>
> Does Eric4 support mercurial? I tried google, but did not find an answer.
>
> ThinRhino

ThinRhino,

Unfortunately, no. Only SVN (with subversion and/or pysvn) and CVS. The good
news is that these utilize Eric4s VCS api and mercurial support can be added
as a plugin, CVS support is through a plugin.

Quick look through the docs pointed me to this file:

http://die-
offenbachs.homelinux.org/svn/eric4repository/eric4/trunk/VCS/VersionControl.py

Which provides an ABC that you can subclass, check out thie CVS plugin for an
overview.

http://die-
offenbachs.homelinux.org/svn/eric4pluginrepository/Vcs_CVS/trunk/PluginVcsCVS.py

The actual docs in Eric4 are here, they are actually pydoc style html files.

http://die-
offenbachs.homelinux.org/svn/eric4repository/eric4/trunk/Documentation/Source/


A quick search showed me this is the best and fastest way to learn how to add
VCS plugin support for other systems.


Hope this helps,

Mike

--
Fortune: You will be attacked next Wednesday at 3:15 p.m. by six samurai
sword wielding purple fish glued to Harley-Davidson motorcycles.

Oh, and have a nice day!
-- Bryce Nesbitt '84

signature.asc

Brian McKeever

unread,
Sep 8, 2009, 8:01:42 AM9/8/09
to Django users
I recently learned vim, and I'm a ginormous fan of it for editing.
Although, I use pydev for difficult debugging.
>  signature.asc
> < 1KViewDownload

Joshua Russo

unread,
Sep 8, 2009, 9:12:41 AM9/8/09
to django...@googlegroups.com
I had a little difficulty with the Python docs on this one too. As it turns out it's really simple. Put the following line where ever you want a break point.

import pdb; pdb.set_trace()

The Django dev server window will stop with a Python command line prompt right there and you have access to all of the context the current code in the application has. It's extremely handy for testing different variations of a given line and that the context is what you expect.

Another function I use all the time at the Python command line is dir(). Pass any object or property into it and it will list the available properties and methods. This in combination with pprint() that formats list output in a tree view style. I usually import pprint like so from the command line: from pprint import pprint as pp. Then you can do: pp(dir(object)) or pp(dir(obect.property)) 

I hope this helps.

Josh

Jeff Gentry

unread,
Sep 8, 2009, 1:10:51 PM9/8/09
to django...@googlegroups.com
On Mon, Sep 7, 2009 at 2:55 PM, Samuel Hopkins <hopkins...@gmail.com>wrote:
> Anyhow, the purpose of this email was just to ask the community what
> editor(s) they preferred to use with Django.

Emacs

Brian Jones

unread,
Sep 8, 2009, 1:16:29 PM9/8/09
to django...@googlegroups.com
I use Komodo Edit (free), and am thinking of perhaps getting Komodo IDE ($$$). I kinda wish Wingware ($$$) would make their IDE work on OS X without an X server :-/

When I'm not using Komodo, I use Vim, and Komodo has Vi key bindings for most basic operations. I'd try emacs, but Vi found me first, and I can only store so many arbitrary, inane keystroke shortcuts in my brain ;-P

brian
--
Brian K. Jones
Python Magazine  http://www.pythonmagazine.com
My Blog          http://www.protocolostomy.com

Dj Gilcrease

unread,
Sep 8, 2009, 2:13:07 PM9/8/09
to django...@googlegroups.com


I used TextPad for years, with no syntax highlighting. I now use
Wingware, and since I work primarily on OpenSource Projects the Pro
version is free.

Mike Dewhirst

unread,
Sep 8, 2009, 7:01:13 PM9/8/09
to django...@googlegroups.com
I use TextPad with Python highlighting. It suits me because I'm used to
it. I use the 'Run' option to launch Python with my unit tests or
anything else for a quick syntax check. The results come back nicely.

Speaking of results I also like TextPad's search results (with or
without re) and grep-like 'Find in files' which is very fast and lets
you double-click a found line to open the file at that point.

I tried PyDev and like that too but found Eclipse too heavy when
associated with SVN. I know there is SVN integration but I couldn't get
it going smoothly enough so I gave up and happily went back to TextPad.

I'm definitely going to try Joshua's suggestion of pdb.

Thanks

Mike


>
> >
>
>

Emmanuel Surleau

unread,
Sep 9, 2009, 12:52:42 AM9/9/09
to django...@googlegroups.com
Vim

Benjamin Buch

unread,
Sep 9, 2009, 3:31:43 AM9/9/09
to django...@googlegroups.com

I second that.

>
> Vim
>

slafs

unread,
Sep 10, 2009, 7:30:09 AM9/10/09
to Django users
Vim
with omnicompletion (CTRL+X, CTRL+O), filetype=htmldjango, TList and
NERDTree

Regards

On Sep 9, 9:31 am, Benjamin Buch <benni.b...@gmx.de> wrote:
> I second that.
>
>
>
> > Vim
>
>

eka

unread,
Sep 10, 2009, 8:31:42 AM9/10/09
to Django users, slafs
Vim + RopeVim + Omincompletion + taglist + tasklist + python_fn

boyombo

unread,
Sep 10, 2009, 8:46:39 AM9/10/09
to Django users
Vim + pydiction + django.vim

On Sep 10, 1:31 pm, eka <ekagauranga...@gmail.com> wrote:
> Vim + RopeVim + Omincompletion + taglist + tasklist + python_fn
>

Sam Walters

unread,
Sep 10, 2009, 9:50:08 AM9/10/09
to django...@googlegroups.com
Vim in conjunction with Git - most powerful + extensible editor out
there in my humble opinion.

Lp

unread,
Sep 10, 2009, 12:13:46 PM9/10/09
to django...@googlegroups.com
Ed.

Sent from my iPod

Filip Gruszczyński

unread,
Sep 10, 2009, 12:43:05 PM9/10/09
to django...@googlegroups.com
Geany: http://geany.org/

It's very small, very fast, very easy to learn, and yet provides some
cool features (autocompletion, tips, detecting symbols). Developers
are very responsive and already made a few features just for me ;-)

--
Filip Gruszczyński

Nikolay Panov

unread,
Sep 10, 2009, 12:57:16 PM9/10/09
to django...@googlegroups.com
Emacs + ropemacs.

Have a nice day,
Nikolay.

bobhaugen

unread,
Sep 11, 2009, 10:46:18 AM9/11/09
to Django users
Do y'all Ubuntu Vim users install vim-gnome or vim-gtk or neither?
Any differences re plugin compatibility?

sebastian serrano

unread,
Sep 11, 2009, 12:48:03 PM9/11/09
to Django users
I use eclipse + pydev. Anyway I found writing python code very easy,
so any editor with highlighting and intergrated debugging is good.

On Sep 7, 12:55 pm, Samuel Hopkins <hopkins.sam...@gmail.com> wrote:
> Hello Django peeps,
>
> I am a Django newbee. I have had my eye on Djanjo for a year or so now but
> held off because I had limited python experience. However, after a summer of
> python and watching Django's popularity snowball, I think I am ready to go
> :)
>
> Anyhow, the purpose of this email was just to ask the community what
> editor(s) they preferred to use with Django.
>
> Thanks!
>
> --
> Samuel Hopkins

ma siqi

unread,
Sep 11, 2009, 12:55:56 PM9/11/09
to django...@googlegroups.com
ulipad !!

2009/9/7 Samuel Hopkins <hopkins...@gmail.com>

Mark Freeman

unread,
Sep 12, 2009, 9:43:59 AM9/12/09
to Django users
Mostly Netbeans for me, however I do tend to use VIM quite a bit.

Haroldo Stenger

unread,
Sep 12, 2009, 2:57:20 PM9/12/09
to django...@googlegroups.com
I, like Nicolay, am using emacs too, with some nice packages that I've found along the way. Rope is installed in my ubuntu, but I don't know how to really use it yet. I hope I do. Learning Emacs pays a lot , especially since Emacs 23.1 ... , some of my packages are new versions of CEDET, etc.

best,

haroldo

2009/9/10 Nikolay Panov <nikola...@gmail.com>

V

unread,
Sep 13, 2009, 6:32:20 PM9/13/09
to Django users
After the hordes of happy Vim users around, I gave Vim another try.
I've tried to set it up for Django around half an year ago, but
finally gave up, and went back to heavy-lifting with Eclipse.

Today, I got much further then before, so I'll post what I've found
until now, and what I see as the main remaining problems. I would
appreciate any help, but it might be another topic.

My .vimrc file is at http://pastebin.com/f470926a

I installed the following plugins:
• django.vim: http://www.vim.org/scripts/script.php?script_id=1487
Usage: :setfiletype htmldjango
• taglist.vim: http://vim.sourceforge.net/scripts/script.php?script_id=273
Usage: TlistOpen
• tasklist.vim: http://www.vim.org/scripts/script.php?script_id=2607
Usage: \t
• omnicomplete: http://blog.fluther.com/blog/2008/10/17/django-vim/
Usage Ctrl+Space
• SnipMate: http://www.vim.org/scripts/script.php?script_id=2540 and
SnipMate for django: http://github.com/robhudson/snipmate_for_django/tree/master
Usage: Tab completion
• xmledit.vim: http://www.vim.org/scripts/script.php?script_id=301
Usage: >, >>, %

Moreover, created a ``djvim.sh`` to run vim with a given
DJANGO_SETTINGS_MODULE set, this is specific to my usual development
structure, so you might not like it, it's at http://pastebin.com/m3cd39bd5

What I miss / could not figure it out until now:
• have django.vim syntax set for every html file by default
• have shortcuts to run the server and unittest with optional django
application inside vim
• have shortcuts to other commands, like ``shell_plus``
• debugging with jump to code, especially when running ./manage.py
test

I really like how fast Vim is, and omnicomplete, SnipMate and Taglist
made it comparable to Eclipse, while its syntax highlighting seems to
be even nicer. Still, I really miss the possibility of running
commands, especially django's tests, so if you have any ideas on this,
please share it with me.

Viktor

On Sep 10, 3:50 pm, Sam Walters <mr.sam...@gmail.com> wrote:
> Vim in conjunction with Git - most powerful + extensible editor out
> there in my humble opinion.
>
Reply all
Reply to author
Forward
0 new messages