jupyterlab-toc icon indicating copy to clipboard operation
jupyterlab-toc copied to clipboard

.py file navigation: remove method/class arguments

Open hottwaj opened this issue 3 years ago • 0 comments

I like how toc displays class & method names when viewing a .py file, but it also includes arguments for functions/methods and the superclass specification for classes, e.g. toc shows:

class MyClass(Super1, Super2, Super3)
def method1(self, arg1, arg2, kwarg1 = None, kwarg2 = 0)

The superclass spec & arguments make each line in the toc far too long and so the toc becomes hard to read & requires scrolling.

Can the class spec and method args be stripped out of the toc?

Thanks for this great extension! :)

hottwaj avatar Sep 30 '20 10:09 hottwaj