Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: Python IDE's

Reply
Thread Tools

Re: Python IDE's

 
 
Adriaan Renting
Guest
Posts: n/a
 
      08-02-2005
vi/vim is a godssend if you need a working system that needs to fit in 4
Mb or ROM, but it's an editor not an IDE. You can debate about how good
an editor it is, but that's just differences in taste I suppose.

When talking about IDE's I mean a lot more as 'just' an editor, below is
my 'wishlist', I would be very interested what solutions you use, how
much time it took you to set up this solution, and which parts of my
'wishlist' it implements. Also suggestions to add to my 'wishlist' are
welcome:

- Integrated help.
when I press <help button> I should get a help page that's appropriate
for the piece of code my cursor currently sits on.
- Code completion.
If I type 'os.path.', the editor should be a ble to show me a list of
all methods and attributes the module has. If I then continue with
'os.path.isfile(', it should show me the parameters for the function.
- Integrated GUI design.
The IDE should have a graphical tool for designing GUIs, and the editor
should be aware of it and propagate changes in an inobtrusive way.
- Integrated debugger.
I should be able to run my module/program from the editor, execute up to
the current cursor position, preset breakpoints (maybe with conditions).
The editor should highlight the current line being executed, and give
you the choice to: step to the next line, step into the execution of the
current line, step out to the function that called the current code, run
to the next brekpoint, etc.
When the code is running I should be able to inspect the values of all
variables currently assigned and change them on the fly.
- Code aware editor.
Syntax highlighting, syntax checking, automatic indentation, loop
folding. Functionality like refatoring, "create function from selected
code", inlining current selected function, template macros, coding
mistake warnings (for "if (somevar); {do something;}" in C/C++ kind of
mistakes).
- Integration with version control system.
- Code documentation/inspection tools.
Ability to generate include and inheritance trees, LOC counters,
profiling what lines of you code get executed most/never, helpfile
generation from code, etc.
- Project management.
Tools for communication with coworkers, bugtracking, which targets need
which files, automatic install scripts/tools, etc.
- Accessible user interface.
All functionality should be accessible through some menu structure, so I
don't need to depend on my memory. Prefereable reprogrammable/assignable
shortcut keys for all functionality, maybe even some form of macros,
plugins, etc.
- For C/C++:
memory leak detection

Why I want this?
Because I want to spend my time programming my code, not my developement
environment.

I currently use Eric3+QtDesigner for Python, and while not perfect, I
realy like it. I have used Borland C++Builder for C/C++ in the past for
Windows, but I haven't found a satisfactory C/C++ solution for my
current Linux system yet.

--------------------------------------------------------------------------
Adriaan Renting | Email:
ASTRON | Phone: +31 521 595 217
P.O. Box 2 | GSM: +31 6 24 25 17 28
NL-7990 AA Dwingeloo | FAX: +31 521 597 332
The Netherlands | Web: http://www.astron.nl/~renting/
>>> <> 08/02/05 4:42 AM >>>

On Mon, 01 Aug 2005 18:21:08 -0400
Benji York wrote:

> Jon Hewer wrote:
> > But, if i use Vi, then whenever i want to test some code i have to
> > open up python, import the necessary modules and run it - I like the
> > idea of developing python in an IDE and just hitting a run button.

>
> map <F5> :w<CR>:!python %<CR>


Or, probably even better:

map <F5> :w<CR>:!xterm -e python -i % &<CR><CR>

--
jk
--
http://mail.python.org/mailman/listinfo/python-list

 
Reply With Quote
 
 
 
 
projecktzero
Guest
Posts: n/a
 
      08-02-2005
The thing that nudged me into trying VIM was the book, The Pragmatic
Programmer. It mentioned Emacs and VIM and the value of learning a
powerful editor and sticking with it. I had tried Emacs three times
long ago, and it didn't click with me. I decided to try VIM, and it
made a lot more sense to me. Yep, there's a steep learning curve. I
learned a lot of the basic command in a day or so, then gradually
learned more and more. I'm always finding something new about it.
There's tons of scripts, plug-ins, and tips at the vim.org site.

A couple of important things to me are:

Cross platform: I work with Windows, Linux, VMS, and Mac

Works with mulitple languages: I write Python, Perl, XHTML/HTML, CSS,
Javascript, SQL, COBOL, DCL, and occasionally VBScript.

I will point out that both Emacs and VIM do their best to keep your
hands on the keyboard which supposedly keeps you more productive since
you don't have to waste time grabbing the mouse to perform many tasks.
That philosophy is alien to many people and does take some getting used
to. I think both of these editors have their roots in the pre-mouse
days.

http://brianray.chipy.org//Python/pythonandvim.html has a blog about
VIM with Python built in. You can script VIM with Python.

http://www.vim.org/scripts/script.php?script_id=910 is a script that
allows you to use PyDoc from within VIM, so you can look up
documentation on modules while coding.

http://www.vim.org/scripts/script.php?script_id=850 pydiction is a
special dictionary file of Python modules for use with vim's completion
feature.

http://www.vim.org/scripts/script.php?script_id=127 is a plug in for
running Python scripts from within VIM.

http://www.vim.org/scripts/script.php?script_id=1096 allows you to run
PyChecker from within VIM.

Code folding, auto indentation, syntax highlighting are standard
features in VIM.

Anyway, it's worth checking out VIM. If it doesn't click with you, look
at Emacs. I'd imagine that it has as many plug-ins/scripts for Python
as VIM.

 
Reply With Quote
 
 
 
 
spe.stani.be@gmail.com
Guest
Posts: n/a
 
      08-13-2005
You might try out the next version of SPE 0.7.5.b which will ship with
wxGlade for GUI Design and the Python Debugger of Nir Aides. Since
0.7.5.a it's also possible to customize your keyboard shortcuts.

Stani

http://pythonide.stani.be
http://pythonide.stani.be/screenshots

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: [Python-Dev] [python-committers] [RELEASED] Python 3.2 rc 1 R. David Murray Python 0 01-17-2011 02:23 PM
Re: [Python-Dev] [python-committers] [RELEASED] Python 3.2 rc 1 Senthil Kumaran Python 0 01-17-2011 10:31 AM
Re: [Python-Dev] [Python-3000] RELEASED Python 2.6a1 and 3.0a3 Martin v. Löwis Python 0 03-01-2008 10:51 PM
Re: [Python-Dev] [Python-3000] RELEASED Python 2.6a1 and 3.0a3 Paul Moore Python 0 03-01-2008 10:39 PM
Searching comp.lang.python/python-list@python.org (was: UTF-8) skip@pobox.com Python 0 03-10-2007 02:50 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57