Skip to content

vscode-python conflicts with Jupyter notebook preview extension #3741

@carbocation

Description

@carbocation

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:

  1. Install the Microsoft Python extension.
  2. Install the VS Code Jupyter Notebook Previewer v1.1.0 by @jithurjacob .
  3. Open a Jupyter notebook. The preview button will not appear. It will appear if the Microsoft Python extension is removed and VS Code is reloaded.

Logs

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

N/A

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help)

(See screenshot below; sorry this was not captured as text.)

image

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions