-
Notifications
You must be signed in to change notification settings - Fork 294
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
Enumerate interactive cells and indicate corresponding output cell #3305
Comments
Just saw this related PR: microsoft/vscode-python#6338. |
Sorry that PR (#6338) has to do with debugging, not mapping cells in the code. What you're asking for is not renderable at the moment. VS Code only allows icons in the gutter icon (like a breakpoint). We might be able to add a decorator into the editor itself though. Or perhaps change the Run Cell code lens. |
Oh, sorry for the confusion. I thought the same or similar association might have been reused for my suggestion.
Yep, that would certainly work as well! |
Actually the same service could probably be used to implement this as well. Good idea. |
Would be nice to have the line numbers match too. |
Line number match requires matching up a cell with the file it was in and figuring out that the exception trace is pointing at that cell/file. |
It would be nice if the extra space available in the line number column thanks to the "Run Cell | Run Above | Run Below" commands above Python interactive cells was used to enumerate the cells and indicate the number of the (latest) corresponding output cell in the interactive window if one exists.
The format could be
#1 [1]
or just#1
if no output was generated for that cell yet.The text was updated successfully, but these errors were encountered: