Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outline for hierarchical #% code cells #3886

Open
seeM opened this issue Jul 5, 2024 · 1 comment
Open

Outline for hierarchical #% code cells #3886

seeM opened this issue Jul 5, 2024 · 1 comment
Labels
enhancement New feature or request lang: python
Milestone

Comments

@seeM
Copy link
Contributor

seeM commented Jul 5, 2024

[...] in .py files I was hoping to get in the Outline pane a TOC like Spyder IDE provides, which is highly helpful. It implements a hierarchical section system as below:

#%% Section
#%%% Subsection
#%%%% Subsubsection

PS: There is a related VScode discussion here microsoft/vscode-python#17218

Originally posted by @GitHunter0 in #3824 (comment)

@kylebutts
Copy link
Contributor

This feature seems at odds with the code-cells extension.

For .ipynb, Positron and VSCode already recognizes h# headers in markdown chunks and populates the outline view with them. It does not work with .py files.

@petetronic petetronic added this to the Future milestone Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request lang: python
Projects
None yet
Development

No branches or pull requests

3 participants