Skip to content

Notebooks do not work with typical two-panel git diff view #2933

@wamartin-aml

Description

@wamartin-aml

Bug: Notebook Editor, Interactive Window, Python Editor cells

Steps to cause the bug to occur

  1. Open .ipynb file with this extension enabled.
  2. Make changes to document.
  3. Save changes to document.
  4. Wait for changes to show up under "CHANGES" in the source control window
  5. Click on the file name in the source control window

Actual & Expected behavior

Expected: A two-panel git diff shows up showing unstaged changes
Actual: A new window appears and then closes. A notification pops up with

Failed to show text document git:/mnt/c/Users/wamartin/home/[my notebook path]?%7B%22path%22%3A%22%2Fmnt%2Fc%2FUsers%2Fwamartin%2Fhome%2F[my notebook path]%22%2C%22ref%22%3A%22~%22%7D, should show in editor #undefined

Your Jupyter and/or Python environment

Please provide as much info as you readily know

  • Jupyter server running: Local (I think? I didn't start anything, but there is a kernel running)
  • Extension version: 2019.10.41019-xxx
  • VS Code version: 1.38.1
  • Setting python.jediEnabled: true
  • Python and/or Anaconda version: 3.6.7
  • OS: Linux (Ubuntu through WSL):
  • Virtual environment: conda

Developer Tools Console Output

None# Bug: Notebook Editor, Interactive Window, Python Editor cells

Steps to cause the bug to occur

  1. Open .ipynb file with this extension enabled.
  2. Press ctrl + F to search the file.

Actual & Expected behavior

Expected: two panel git diff pops up with changes
Actual: It seems as though VS Code tries to open the git diff view, but that tab closes and we are returned to the single notebook view.

Your Jupyter and/or Python environment

Please provide as much info as you readily know

  • Jupyter server running: Local (I think? I didn't start anything, but there is a kernel running)
  • Extension version: 2019.10.41019-xxx
  • VS Code version: 1.38.1
  • Setting python.jediEnabled: true
  • Python and/or Anaconda version: 3.6.7
  • OS: Linux (Ubuntu through WSL):
  • Virtual environment: conda

Developer Tools Console Output

None

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions