Choosing a kernel should provide a reasonable default language for cells in a new notebook.
See original GitHub issueEnvironment data
- VS Code version: 1.53.0-insiders
- Jupyter Extension version (available under the Extensions sidebar):v2020.12.414227025
- Python Extension version (available under the Extensions sidebar): Python isn’t installed
- OS (Windows | Mac | Linux distro) and version: Windows 10
- Python and/or Anaconda version: Isn’t installed
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): N/A
- Jupyter server running: N/A
- .NET Interactive extension: v1.0.207203
Expected behaviour
Once the user selects the one of a .Net Interactive kernel is selected from the kernel picker I expect the kernel to be recognize it. This only happens in the initial install of .NET Interactive but, doesn’t work in a new instance of VS Code.
Actual behaviour
The .NET Interactive kernel isn’t recognized in new VS Code instance. The user can select one of the .NET Interactive kernels however, when they hit the run button you are promoted to “Select a kernel to run the notebook”
Steps to reproduce:
Opening a New Notebook
- Open a new window in VS Code
Ctrl + Shift + N
- Opened a new notebook - Using the Jupyter
- Cell default to a non .NET Interactive kernel what kernel is it looking at ?
- Switching to C# .NET Interactive by clicking on the
c#
label. . - Selected
C# .NET Interactive
hit run and promoted to select a kernel
Logs
Output for Jupyter
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Jupyter
)
XXX
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Kaggle Kernels Guide for Beginners — Step by Step Tutorial
Go to any Public Kaggle Dataset; Click New Kernel on the top right (blue-colored button); Select Notebook/Script of your interest; If Python is ......
Read more >Use multi-language notebooks with Spark kernels
Each Jupyter notebook kernel has a default language. For example, the Spark kernel's default language is Scala, and the PySpark kernels's default language ......
Read more >Running your own kernel - Deepnote docs
The best way to run a custom kernel is to find an existing image, for example on Dockerhub, and then set the environment...
Read more >How to Use Jupyter Notebook: A Beginner's Tutorial
Use this tutorial to learn how to create your first Jupyter Notebook, important terminology, and how easily notebooks can be shared and ...
Read more >Chapter 11 Combining code and text with Jupyter
Figure 11.6: New cells can be created by clicking the + button, and are by default code cells. 11.5 Markdown cells. Text cells...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@DavidKutu Please make note of the changes from
displayName
totitle
We’re going to have to make changes to the API to make this possible.
registerNewNotebookContent
CreationOptions.registrations
insrc/client/datascience/notebook/creation/creationOptionsService.ts
vscode.extensions.all.filter(item => item.packageJSON?.contributes?['jupyter.kernels'].....
Note sure we need
kernelId
(I’d personally remove that as we don’t need it)