This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: ability to integrate editor, shell, debugger in one window
Type: enhancement Stage: test needed
Components: IDLE Versions: Python 3.10
Status: open Resolution:
Dependencies: 9262 24760 Superseder:
Assigned To: Nosy List: Al.Sweigart, kbk, markroseman, roger.serwy, terry.reedy
Priority: normal Keywords:

Created on 2015-08-07 14:29 by markroseman, last changed 2022-04-11 14:58 by admin.

Messages (7)
msg248195 - (view) Author: Mark Roseman (markroseman) * Date: 2015-08-07 14:29
This builds on things like the tabbed editor suggestion, but essentially I'm talking about a scenario where you'd have your one (editor) window open working on your program, you click 'run...' or 'debug...' from the menu, and a shell and debugger area open up at the bottom of that one window, and you can resize that area.

This is analogous to what happens if you click 'inspect element' in most web browsers nowadays.

Getting rid of the *need* for multiple windows would help simplify a lot of things.
msg248243 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2015-08-08 02:31
Many of us want to reorganize Idle from multiple windows, some with menus, to one window with multiple frame or panes.  The initial steps: 

a) create a new application window with an application menu. (I believe OSX partially forces this on Macs anyway.) The menu should have items added or deleted, or just activated or not, according to the active window and other conditions. Adjust the menu construction functions, including the ones used in extension files, accordingly.

b) remove the menu and Toplevel from the base editor window used for editor, shell, and output.  Leave frame that can be added to other containers, whether Toplevel, Frame, Paned Window, or Notebook.

c) remove the Toplevel from dialogs that we think should be non-modal and insertable into containers.  I think the debugger, as you say, aumented config dialog, and improved search/replace dialog, are all candidates for this treatment.

I think users, or at least class instructors, should have some control over placement.  There definitely should not be a single, locked down design.
msg248284 - (view) Author: Mark Roseman (markroseman) * Date: 2015-08-08 16:35
Yes that's exactly what I was thinking. If everything is a frame rather than a toplevel it'll be much easier to reconfigure things.
msg248307 - (view) Author: Al Sweigart (Al.Sweigart) * Date: 2015-08-09 01:15
Is this a duplicate of Either way, there's some good discussion there and also on (ctrl-f for "tabbed")
msg248464 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2015-08-12 17:08
#9262 is step b) above, and therefore a dependency for this issue.
msg248467 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2015-08-12 17:49
#24760 - config dialog not modal, is part of c)
msg298318 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2017-07-13 22:48 shows IDLE on Mac with a shell and editor window.  Because Mac pulls the menu off of each window and puts one above both, which are side by side, it looks like an example of what we want to have on all systems.
Date User Action Args
2022-04-11 14:58:19adminsetgithub: 69014
2020-06-06 15:59:56terry.reedysetversions: + Python 3.10, - Python 3.5, Python 3.6
2017-07-13 22:48:45terry.reedysetmessages: + msg298318
2015-08-12 17:49:15terry.reedysetdependencies: + IDLE settings dialog shouldn't be modal
messages: + msg248467
2015-08-12 17:08:09terry.reedysetdependencies: + IDLE: Revise or replace tabbedpages for multi-editor window.
messages: + msg248464
2015-08-09 01:15:36Al.Sweigartsetnosy: + Al.Sweigart
messages: + msg248307
2015-08-08 16:35:52markrosemansetmessages: + msg248284
2015-08-08 02:31:30terry.reedysetmessages: + msg248243
stage: test needed
2015-08-07 14:29:08markrosemancreate