isa0061/input0 " ˆl–Ãa¾”J_)â‚ Á ãN©‹FÿÀ ƒh¹Ã 00000090 +ˆl–ß=¿J •4Ò‚šP ¸Ów˜´oÁ ƒy§^_‡I|¥ŠèªÅÄ!Original IDLE todo, much of it now outdated: ============================================ TO DO: - improve debugger: - manage breakpoints globally, allow bp deletion, tbreak, cbreak etc. - real object browser - help on how to use it (a simple help button will do wonders) - performance? (updates of large sets of locals are slow) - better integration of "debug module" - debugger should be global resource (attached to flist, not to shell) - fix the stupid bug where you need to step twice - display class name in stack viewer entries for methods - suppress tracing through IDLE internals (e.g. print) DONE - add a button to suppress through a specific module or class or method - more object inspection to stack viewer, e.g. to view all array items - insert the initial current directory into sys.path DONE - default directory attribute for each window instead of only for windows that have an associated filename - command expansion from keywords, module contents, other buffers, etc. - "Recent documents" menu item DONE - Filter region command - Optional horizontal scroll bar - more Emacsisms: - ^K should cut to buffer - M-[, M-] to move by paragraphs - incremental search? - search should indicate wrap-around in some way - restructure state sensitive code to avoid testing flags all the time - persistent user state (e.g. window and cursor positions, bindings) - make backups when saving - check file mtimes at various points - Pluggable interface with RCS/CVS/Perforce/Clearcase - better help? - don't open second class browser on same module (nor second path browser) - unify class and path browsers - Need to define a standard way whereby one can determine one is running inside IDLE (needed for Tk mainloop, also handy for $PYTHONSTARTUP) - Add more utility methods for use by extensions (a la get_selection) - Way to run command in totally separate interpreter (fork+os.system?) DONE - Way to find definition of fully-qualified name: In other words, select "UserDict.UserDict", hit some magic key and it loads up UserDict.py and finds the first def or class for UserDict. - need a way to force colorization on/off - need a way to force auto-indent on/off Details: - ^O (on Unix -- open-line) should honor autoindent - after paste, show end of pasted text - on Windows, should turn short filename to long filename (not only in argv!) (shouldn't this be done -- or undone -- by ntpath.normpath?) - new autoindent after colon even indents when the colon is in a comment! - sometimes forward slashes in pathname remain - sometimes star in window name remains in Windows menu - With unix bindings, ESC by itself is ignored - Sometimes for no apparent reason a selection from the cursor to the end of the command buffer appears, which is hard to get rid of because it stays when you are typing! - The Line/Col in the status bar can be wrong initially in PyShell DONE Structural problems: - too much knowledge in FileList about EditorWindow (for example) - should add some primitives for accessing the selection etc. to repeat cumbersome code over and over ====================================================================== Jeff Bauer suggests: - Open Module doesn't appear to handle hierarchical packages. - Class browser should also allow hierarchical packages. - Open and Open Module could benefit from a history, DONE either command line style, or Microsoft recent-file style. - Add a Smalltalk-style inspector (i.e. Tkinspect) The last suggestion is already a reality, but not yet integrated into IDLE. I use a module called inspector.py, that used to be available from python.org(?) It no longer appears to be in the contributed section, and the source has no author attribution. In any case, the code is useful for visually navigating an object's attributes, including its container hierarchy. >>> from inspector import Tkinspect >>> Tkinspect(