-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
Creating a new file foo.ipynb gives me a plain text code cell but the kernel is python 3 #129653
Comments
An ipynb can hold any language, we try to default to python but only if the python extension is installed vscode/extensions/ipynb/src/helpers.ts Line 23 in 26625e8
@DonJayamanne why do this only if the Python extension is installed? Seems like python is better than nothing. |
@roblourens or at least default to Python if the kernel is Python 3? |
Didn't you pick the kernel after creating the notebook? Or maybe we auto select the kernel in some case even when you haven't picked it yet... in which case it's still picked after the notebook was created and opened |
We are also revamping the whole "new notebook" flow and this will probably all be improved in the future #128592 |
Majority of the notebook users are Python, hence we default to python.
The goal of that is, if users work on Python notebooks most of the time, then new notebooks will have the first cell defaulting to Changing the kernel manually will result in the cells getting updated with the appropriate language. However that's not the best experience. |
Only if the Python extension is installed, I just want to remove that check
I don't see that happening, but maybe it happens if the python extension is installed? |
Closing this issue as its been resolved:
|
Testing #129463
Ok for this one I technically have the Jupyter extension installed...
In the workbench I created a foo.ipynb file and then opened that file. I do not have the Python extension installed but I do have the Jupyter extension installed.
A couple odd things I noticed:
The text was updated successfully, but these errors were encountered: