[wingide-users] Exception Completion idea

Ken Kinder kkinder at gmail.com
Thu Jun 17 13:12:37 MDT 2010


I realize this is probably pretty hard to code, but an excellent feature
for auto-completion would to examine the code in the try block and
figure out what exceptions could be raised. For example:

    class CustomError(Exception): pass

    def something(): raise CustomError

    try:
        something()
    except (auto-completes CustomError with priority above other
    exceptions):


I've seen things similar to this done in Eclipse with Java. Obviously
Java's lack of dynamicness makes it easier to analyze, but if it's
possible to do with Python, it would be handy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/wingide-users/attachments/20100617/70842e88/attachment.html


More information about the wingide-users mailing list