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

When open .ipynb file in VSC, it does not prompt for 'Do you want to import the Jupyter Notebook into Python code'. #3001

Closed
zhouwangyang opened this issue Sep 25, 2019 · 2 comments
Assignees

Comments

@zhouwangyang
Copy link

Environment data

  • VS Code version: 1.39.0-insider
  • Extension version :2019.10.38137-dev

repro step:
1.Open the file manualTestFile.py in VSCode and tying code
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt

#%% Matplotlib Plot
x = np.linspace(0, 20, 100)
plt.plot(x, np.sin(x))
plt.show()

2.Select conda Interpreter as current environment
3.Click Run Below on the firs cell
4.Interactive Window should open, show connection information, and execute cells
5.Click the Export as Jupyter Notebook button in the Interactive Window
6.Choose a file location and save the generated .ipynb file
7.In VSCode open up the exported .ipynb file in the editor.

Expected behaviour

Do you want to import the Jupyter Notebook into Python code? should appears

Actual behaviour

nothing prompted

@zhouwangyang zhouwangyang changed the title Open .ipynb file in VSC, it does not prompt for 'Do you want to import the Jupyter Notebook into Python code'. When open .ipynb file in VSC, it does not prompt for 'Do you want to import the Jupyter Notebook into Python code'. Sep 25, 2019
@rchiodo
Copy link
Contributor

rchiodo commented Sep 25, 2019

This is by design after we created the notebook editor.
The test plan is incorrect now. We should update the test plan once we ship the native editor support.

@rchiodo rchiodo self-assigned this Oct 9, 2019
@IanMatthewHuff IanMatthewHuff self-assigned this Oct 21, 2019
@IanMatthewHuff
Copy link
Member

Validated that the test plan is updated.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 28, 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

3 participants