[wingide-users] Displaying decorators used in the SourceAssistant?

Russell Warren rwarren at picarro.com
Thu Aug 31 11:06:24 MDT 2006


Is there a way to see what decorators have been applied to a function in the source assistant?  If not, this would be quite handy.

For example, in this case:

 1  @decorator1(a1, a2)
 2  @decorator2
 3  def myfunc():
 4    print "hello"
 5  myfunc()

it would be nice if the SourceAssistant simply included lines 1 and 2 (with a "Decorators:" label) in the source assistant when looking at myfunc on line 5.  A bonus would be linking to the decorator definitions.

Thanks,
Russ



More information about the wingide-users mailing list