Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Python file support #9

Closed
sballin opened this issue Mar 22, 2018 · 4 comments · Fixed by #117
Closed

Python file support #9

sballin opened this issue Mar 22, 2018 · 4 comments · Fixed by #117
Assignees
Labels
enhancement New feature or request

Comments

@sballin
Copy link

sballin commented Mar 22, 2018

This extension is great! Just wanted to suggest a feature: instead of going blank when editing a Python file, it could show a skeleton of the code with the class/method lines.

@ian-r-rose
Copy link
Member

I think that's a nice idea. It could even be a good test of the API that I've been trying to design for different types of files, in case somebody wanted to try... 😉

@ian-r-rose ian-r-rose added the enhancement New feature or request label Mar 23, 2018
markellekelly added a commit to markellekelly/jupyterlab-toc that referenced this issue Jul 26, 2018
improvements to code cell: basic level detection
@mocquin
Copy link

mocquin commented Oct 14, 2018

I second that ! It's the only file type missing in a standard python workflow (having nb and md).

@stefansimik
Copy link

Adding TOC for basic structure of *.py files would bring new level of comfort in orientation.
It is really very missing feature.

(Classes and methods would be really enough for high practical usability)

@marthacryan
Copy link
Member

I'm going to start working on this issue.

lresende pushed a commit that referenced this issue Feb 28, 2020
Adds a table of contents for python scripts (.py) files, 
with imports, classes and methods displayed. 

Fixes #9
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants