question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Implement interactive window with VS code notebook API

See original GitHub issue

TODO

This epic is switching the interactive window to use the VS code notebook API instead of our custom webview.

Here’s a brief list of the requirements (in mostly priority order):

  1. Support input from an external source (like a python file)` (already supported)
  2. Show all cell outputs in a big read only list (already supported)
  3. Support direct input from a text editor that doesn’t move. (vscode upstream)
  4. Support hiding/collapsing code in cells (vscode upstream - possibly part of Jupyter Outline) – supported with notebook.cell.collapseCellInput command
  5. Support copying code out of cells with some gesture (extension)
  6. Support a history of text entered in the pinned text editor (extension)
  7. Support theming (already supported)
  8. Support intellisense (extension)
  9. Support all cell outputs that a notebook does (already supported)
  10. Support restarting/interrrupting kernel
  11. Support variables
  12. Scroll as new inputs come in (behave like chat window) (vscode upstream) – supported with notebook focus commands:

image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
greazercommented, Aug 9, 2021

This is done, other than a couple bug stragglers.

1reaction
rchiodocommented, Jun 8, 2020

Same way it works now. The chrome around cells and the toolbar might be different, but it will have the same basic functionality. That’s what the list of requirements at the top are for - to make sure we don’t regress anything that already works.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Working with Jupyter code cells in the Python Interactive window
Jupyter (formerly IPython Notebook) is an open-source project that lets you easily combine Markdown text and executable Python source code on one canvas...
Read more >
VS code: 5-Interactive Window - YouTube
pedramjahangiry My GitHub repository: https://github.com/PJalgotraderTopics covered:0:00 Why using interactive window2:39 Open interactive ...
Read more >
Python interactive window (REPL) - Visual Studio
The Interactive window (opened with the View > Other Windows > <environment> Interactive menu commands) lets you enter arbitrary Python code and ...
Read more >
Linking VS Code interactive window to running Jupyter ...
Let's say that you have two windows open in VS Code, one is a Jupyter notebook, and the other is the Python interactive...
Read more >
Using interactive sessions with Microsoft Visual Studio Code
Download and install Visual Studio Code with Jupyter. For details, see Jupyter Notebook in VS Code .
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found