Colin Barnette | 9 Nov 2006 01:43
Picon

Improvements to IDLE's UI

There is some functionality I think IDLE could use. Perhaps an option to edit files in tabbed notebook, with a filelist as a sidebar. And/Or the ability to load project files with a project tree as a sidebar. I would really like to see some of these functions and more like them natively, however can this be done with an extension? 

Thanks,

Colin Barnette
<colin.barnette <at> gmail.com>

_______________________________________________
IDLE-dev mailing list
IDLE-dev <at> python.org
http://mail.python.org/mailman/listinfo/idle-dev
Tal Einat | 18 Nov 2006 19:31
Picon
Gravatar

Re: Improvements to IDLE's UI

I'm not sure if this can be done with an extension in a way that is constent with how IDLE currently manages multiple files.
 
Having the open files as tabs instead of separate windows is something that I believe was avoided on purpose. I think the original authors wanted to keep it simple. Also, having separate files in different windows is often very useful, since you can have the windows one alongside another, or overlaying other windows.
 
Still, having tabs for dfferent files could be an interesting extension. I think it would require some refactoring of the current core code though.
 
 
As for projects, that would a radical change of point-of-view for IDLE. Currently IDLE edits files, and can have one instance of a Python shell. No constraints or assumptions are made on the relations of files to other files. This makes it a good simple IDE since it doesn't force you to organize everything in projects, unlike some other IDEs.
For instance, if I'm simply writing a small script, I don't want a large, complex IDE - IDLE is perfect. The same goes for when I'm doing some research or data analysis in the interpreter, and have some code saved in files which I update as I work. A complete development environment, while suitable for large-scale projects, is simply not fit for these kind of tasks. IDLE is.
 
I think we'd prefer to leave project-oriented functionality to other IDEs, and keep IDLE simple and effective. Anyone have other opinions on this one?
 
 
- Tal
 
On 11/9/06, Colin Barnette <colin.barnette <at> gmail.com> wrote:
There is some functionality I think IDLE could use. Perhaps an option to edit files in tabbed notebook, with a filelist as a sidebar. And/Or the ability to load project files with a project tree as a sidebar. I would really like to see some of these functions and more like them natively, however can this be done with an extension? 

Thanks,

Colin Barnette
<colin.barnette <at> gmail.com>

_______________________________________________
IDLE-dev mailing list
IDLE-dev <at> python.org
http://mail.python.org/mailman/listinfo/idle-dev



_______________________________________________
IDLE-dev mailing list
IDLE-dev <at> python.org
http://mail.python.org/mailman/listinfo/idle-dev
Tal Einat | 21 Nov 2006 17:16
Picon
Gravatar

Erik Thompson's opinions on IDLE

This is a response form Erik Thompson to my question regarding what
he likes about IDLE and which features he finds missing.

Nothing too extraordinary, but things we're hearing to often:
* would like tabbed browsing of windows
* hasn't found the "recent files" feature

On the same note,
What do you guys think of re-organizing our to-do list,
asking around the Python community and see which feature requests rise?

- Tal

---------- Forwarded message ----------
From: Erik Thompson
Date: Nov 20, 2006 9:23 PM
Subject: Re: IDLE

Tal Einat wrote:
> Hi Erik, I just viewed your first VPython Video tutorial
> for the first time... [snip]

> I was especially glad to discover that you use IDLE
> in your tutorials. I've been helping develop IDLE for the past year or
> so and am trying to push its development forward, and this is a great
> example of why it is useful. If you have any features you would have
> wanted to see in IDLE, I would really like to hear about them. I'd
> also like to know what you like about IDLE.

Hi Tal,

I'm glad you find VPython interesting as do I... [snip]

I've been doing Python for just a couple years now.  I used IDLE because
it was the first IDE I tried and I saw no reason to switch.  In the
series I wanted to keep things simple with all the code for each program
in one file and IDLE is well suited for that kind of developing.

I have since tried Stani's Python Editor and have been using it more often as
I like having several code files open at once where I can just click on
a tab to see the one I want.  It also remembers the last ones I had open
so when I'm working on a larger program over many days I don't have to
be constantly opening the individual files for that program.  So I guess
those would be the features I wouldn't mind seeing in IDLE.  On the
other hand, one of the draws to IDLE is its simplicity.  Once you open
the code window there isn't a lot of clutter or distractions in the
window which is kind of nice.

Cheers,
Erik

_______________________________________________
IDLE-dev mailing list
IDLE-dev <at> python.org
http://mail.python.org/mailman/listinfo/idle-dev
Fuzzyman | 21 Nov 2006 17:25
Picon
Favicon
Gravatar

Re: Erik Thompson's opinions on IDLE

Tal Einat wrote:

> This is a response form Erik Thompson to my question regarding what
> he likes about IDLE and which features he finds missing.
>
> Nothing too extraordinary, but things we're hearing to often:
> * would like tabbed browsing of windows
> * hasn't found the "recent files" feature

Tabbed editing and recent files shouldn't clutter the IDLE interface
excessively and would make it *much* more useful.

However the tabbed feature tends to lead to further feature requests,
like being able to drag the tabs to re-order them.

+many on these two features though. They would make a lot of difference
to IDLE.

Fuzzyman
http://www.voidspace.org.uk/index2.shtml

>
> On the same note,
> What do you guys think of re-organizing our to-do list,
> asking around the Python community and see which feature requests rise?
>
> - Tal
>
> ---------- Forwarded message ----------
> From: *Erik Thompson*
> Date: Nov 20, 2006 9:23 PM
> Subject: Re: IDLE
>
> Tal Einat wrote:
> > Hi Erik, I just viewed your first VPython Video tutorial
> > for the first time... [snip]
>
> > I was especially glad to discover that you use IDLE
> > in your tutorials. I've been helping develop IDLE for the past year or
> > so and am trying to push its development forward, and this is a great
> > example of why it is useful. If you have any features you would have
> > wanted to see in IDLE, I would really like to hear about them. I'd
> > also like to know what you like about IDLE.
>
> Hi Tal,
>
> I'm glad you find VPython interesting as do I... [snip]
>
> I've been doing Python for just a couple years now.  I used IDLE because
> it was the first IDE I tried and I saw no reason to switch.  In the
> series I wanted to keep things simple with all the code for each program
> in one file and IDLE is well suited for that kind of developing.
>
> I have since tried Stani's Python Editor and have been using it more
> often as
> I like having several code files open at once where I can just click on
> a tab to see the one I want.  It also remembers the last ones I had open
> so when I'm working on a larger program over many days I don't have to
> be constantly opening the individual files for that program.  So I guess
> those would be the features I wouldn't mind seeing in IDLE.  On the
> other hand, one of the draws to IDLE is its simplicity.  Once you open
> the code window there isn't a lot of clutter or distractions in the
> window which is kind of nice.
>
> Cheers,
> Erik
>
>------------------------------------------------------------------------
>
>_______________________________________________
>IDLE-dev mailing list
>IDLE-dev <at> python.org
>http://mail.python.org/mailman/listinfo/idle-dev
>  
>
Joop Kaldeway | 28 Nov 2006 16:11
Picon

a debug problem

Dear idle-developers,.

I have the following problem:

I use the very simple program:

class NewClass(object):

    def __init__(self,element):
        self.element = element

    def __repr__(self):
        return str(self.element)

if __name__ == '__main__':

    b = NewClass(3)
    print b

    raw_input("Press Enter to finish")

It runs with output:

3
Press Enter to finish

But when I use te debugger and walk through the code step by step  I get 
an error:

...
...
  File "E:\Python25\lib\repr.py", line 34, in repr1
    s = __builtin__.repr(x)
  File "F:\demo\NewClassDemo.py", line 24, in __repr__
    return str(self.element)
AttributeError: 'NewClass' object has no attribute 'element'
[DEBUG ON]
 >>>

Is it a bug in IDLE?

Joop Kaldeway

Gmane