New submission from Mark Roseman:

Proposal for an alternative or perhaps replacement of both the code context 
extension, as well as the class browser (rooted at a particular file, not the 
path browser).

I'll direct your attention to the attached browser.png. On the right is IDLE's 
class browser window of ClassBrowser.py. On the left, I've got the same file 
loaded into TextMate. 

In the TextMate status bar, it shows you where you're currently located (here, 
in the __init__ function). When you click on that part of the status bar, it 
brings up a scrollable menu showing the structure of the file. I think it's 
easier to read than IDLE's, despite having more information (description of the 
parameters), thanks to reduction in 'chart junk'.

Downside of this approach is that you can't have a window along the side so you 
can navigate the code while seeing the class display. Though that might best be 
achieved if IDLE added a sidebar, rather than a true separate window.

----------
components: IDLE
files: browser.png
messages: 250589
nosy: kbk, markroseman, roger.serwy, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE: alternative to class browser / code context
type: enhancement
versions: Python 2.7, Python 3.5, Python 3.6
Added file: http://bugs.python.org/file40452/browser.png

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25090>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to