You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By creating Notebook Controller from the Python extension, users will be able to use interactive window and use Python without having to install Jupyter or iPython kernel. Python extension will also be able to leverage variable pane if we can also provide variable provider.
Need to figure out how to hook up with custom Python interpreter and execute user's command using the custom Python interpreter as a kernel.
Will first need to test in separate extension before embedding into Python extension
Looking into /Users/anthonykim/Desktop/vscode-jupyter/src/notebooks/controllers/vscodeNotebookController.ts and https://github.com/microsoft/vscode-github-issue-notebooks and https://github.com/microsoft/vscode-jupyter/pull/6300
Potentially useful note for handling communication from/to custom REPL to TypeScript (assuming notebook controller inside the Python extension).
WebSockets: protocol that enables bidirectional communication between a client (such as browser) and a server over a single, long-lived connection.
Allows client and server to send messages to each other at any time, rather than in response to a request as in traditional HTTP communication.
With Jupyter , the frontend act as client when kernel acts as server. They communicate via websocket. This connection is established when you start new kernel, open new notebook. Frontend send request to kernel to start new kernel process, and kernel responds by opening a websocket connection, sending message back to frontend to confirm that connection has been established.
Activity
anthonykim1 commentedon Mar 19, 2024
Looking into
/Users/anthonykim/Desktop/vscode-jupyter/src/notebooks/controllers/vscodeNotebookController.tsandhttps://github.com/microsoft/vscode-github-issue-notebooksandhttps://github.com/microsoft/vscode-jupyter/pull/6300Potentially useful note for handling communication from/to custom REPL to TypeScript (assuming notebook controller inside the Python extension).
anthonykim1 commentedon May 28, 2024
Will be tested inside via #23484