Skip to content
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

Command "Python: Create New Blank Jupyter Notebook" not exist. #2942

Closed
hsingll opened this issue Oct 10, 2019 · 8 comments
Closed

Command "Python: Create New Blank Jupyter Notebook" not exist. #2942

hsingll opened this issue Oct 10, 2019 · 8 comments
Assignees

Comments

@hsingll
Copy link

hsingll commented Oct 10, 2019

Issue Type: Feature Request

When I open VS Code,and try to use Command "Python: Create New Blank Jupyter Notebook", it doesn't show.
And if I open a python file in VS Code, and try to use Command "Python: Create New Blank Jupyter Notebook", it shows.
Both my macbook pro 2018 and PC do.

Extension version: 2019.10.41019
VS Code version: Code 1.39.0 (9df03c6d6ce97c6645c5846f6dfa2a6a7d276515, 2019-10-09T06:58:04.439Z)
OS version: Windows_NT x64 10.0.18362
Snipaste_1010-113450
Snipaste_1010-113558

@rchiodo
Copy link
Contributor

rchiodo commented Oct 10, 2019

This looks like a bug in how we describe the Create new notebook command.

@hsingll hsingll changed the title Command "Python: Create New Blank Jupyter Notebook" not exit. Command "Python: Create New Blank Jupyter Notebook" not exist. Oct 11, 2019
@hsingll
Copy link
Author

hsingll commented Oct 11, 2019

This looks like a bug in how we describe the Create new notebook command.

I find that if you don't load the python Extension, command "Python: Create New Blank Jupyter Notebook" will not appear.
And open a python file in VS Code or run other python Extension command, python Extension will load, then command "Python: Create New Blank Jupyter Notebook" will appear.

Is it a bug or feature?

@rchiodo
Copy link
Contributor

rchiodo commented Oct 11, 2019

No this is a bug. Our package.json must be off for the Create New Blank Jupyter Notebook command. It should show up regardless of if the python extension is loaded or not.

@IanMatthewHuff IanMatthewHuff self-assigned this Oct 14, 2019
@IanMatthewHuff
Copy link
Member

Cherry picked into point release branch.
microsoft/vscode-python@6f4c648

@earlev4
Copy link

earlev4 commented Oct 15, 2019

Good day! First off, I just want to thank you for all your efforts in putting out a great VS Code extension. I sincerely appreciate it! Thanks to @raysshine for opening this issue too.

I know @raysshine mentioned this bug is present in macOS and Windows. I wanted to add that the problem is also present in Ubuntu 18.04.

Version: 1.39.1
Commit: 88f15d17dca836346e787762685a40bb5cce75a8
Date: 2019-10-10T23:30:33.955Z
Electron: 4.2.10
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Linux x64 4.15.0-65-generic

Python (ms-python.python) 2019.10.41019

Any assistance is greatly appreciated!

Thanks so much!

@IanMatthewHuff
Copy link
Member

@earlev4 Thanks for the report for Ubuntu as well. I've actually checked in a fix for this, so it should be showing up in our development builds tomorrow.
https://github.com/microsoft/vscode-python/blob/master/CONTRIBUTING.md#development-build
If you don't want to pull a development build, then it will take a bit longer to make it into the full release. Normally it would be a full month, but due to the new notebook editor release we are considering a point release to bring in some fixes earlier.

For now, the best workaround is just to get the python extension to load. Open a .py file or running a command like Python: Select Interpreter should do it.

@earlev4
Copy link

earlev4 commented Oct 15, 2019

Thanks so much, @IanMatthewHuff! I really appreciate the info and prompt response.

@rchiodo
Copy link
Contributor

rchiodo commented Oct 16, 2019

Validated. @IanMatthewHuff just a reminder to move to the point release (not sure if you did or not yet)

@rchiodo rchiodo closed this as completed Oct 16, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 23, 2019
@microsoft microsoft unlocked this conversation Nov 14, 2020
@DonJayamanne DonJayamanne transferred this issue from microsoft/vscode-python Nov 14, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants