[...] 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:
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.
[...] 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:PS: There is a related VScode discussion here https://github.com/microsoft/vscode-python/issues/17218
Originally posted by @GitHunter0 in https://github.com/posit-dev/positron/issues/3824#issuecomment-2209236702