-
Notifications
You must be signed in to change notification settings - Fork 293
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
vscode-python conflicts with Jupyter notebook preview extension #3741
Comments
I am the author of the extension vscode-nbpreviewer. As per my understanding this is happening |
Taking a peek quick. As @jithurjacob mentions it looks like this might just be a conflict between how the MS extension and the other extension want to classify .ipynb files. |
Yup, it's the registration issue. Both extensions try to hook up .ipynb to a different language tag. I tried moving the our extension to "ipython" instead of jupyter and in that case both extensions could work together at the same time. @jithurjacob would you be willing to have your extension move the .ipynb registration over to "jupyter" as well? I know that this was added in our extension after yours, but I don't feel like tying .ipynb to ipython is correct. .ipynb is the overall notebook format since the big split and is not tied to the ipython kernel. If you want, I could submit a PR for this, it's a pretty small change. |
@IanMatthewHuff No worries I will change it to jupyter. |
Thanks @jithurjacob. Much appreciated. I'm going to close down this issue on this side since the registration will be changing in nbpreview. |
Environment data
VS Code Version: 1.30.0
VS Code Commit: c6e592b2b5770e40a98cb9c2715a8ef89aec3d74
VS Code Date: 2018-12-11T22:21:33.585Z
VS Code Electron: 2.0.12
VS Code Chrome: 61.0.3163.100
VS Code Node.js: 8.9.3
VS Code V8: 6.1.534.41
VS Code OS: Linux x64 4.15.0-42-generic
Extension version (available under the Extensions sidebar): 2018.12.1
Python version (& distribution if applicable, e.g. Anaconda): N/A
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Relevant/affected Python packages and their versions: N/A
Expected behaviour
I do not expect the presence of the Microsoft Python extension to interfere with the ability of other extensions to show Jupyter Notebook previews.
Actual behaviour
The presence of the Microsoft Python extension to interferes with the ability of other extensions to show Jupyter Notebook previews in VS Code. ( See jithurjacob/vscode-nbpreviewer#13 (comment) )
Steps to reproduce:
Logs
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Output from
Console
under theDeveloper Tools
panel (toggle Developer Tools on underHelp
)The text was updated successfully, but these errors were encountered: