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

Python files: Nested function should be indented.

Open stefansimik opened this issue 4 years ago • 1 comments

Hi, I found not optimal behavior in this great plugin, I use every day.

Nested functions are displayed as any other functions, despite, they are just helper 2nd-level things, that cannot be called / invoked alone.

They should be clearly indented, to show they are nested function.

One screenshot says it all: 2020-05-30_111920

stefansimik avatar May 30 '20 09:05 stefansimik

the same issue comes up with nested classes (within other classes, functions)

hottwaj avatar Sep 30 '20 10:09 hottwaj