-
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
Open diff window on first click of .ipynb file in version control tab #2466
Comments
Hey @benlindsay . Thanks for the report (and glad that you like the extension). Due to how we handle the .ipynb files we have some limitations with how we open them up. However, it does seem like we should be showing the changes here in the diff window by default like for other file types. We'll look into it and see what we can do about this scenario. |
There's also a setting that can disable auto open: |
@rchiodo Thanks for pointing this out! That setting should work for me for now. I do still think that the default behavior from the version control tab should be opening a diff window (in an ideal world, an nbdime-powered one, but I think that's out-of-scope). In the future, when more extensions work in the notebook editor, I'll probably want to turn that setting back to Thanks again to both of you! |
This This is on a remote machine accessed via the remote-ssh extension. I've verified that I've made the settings changes in all 3 possible places, User, Workspace, and Remote: Any guesses as to why I'm experiencing this and what I can do to fix it? |
@benlindsay I'm pretty sure that we regressed this with our last release. I would reopen this issue, but I believe that we already have issue #633 tracking this right now. We'll be discussing it today at our triage. |
@IanMatthewHuff Ahh, great!! Thanks so much for the quick reply! |
Feature: Notebook Editor, Interactive Window, Python Editor cells
Description
When clicking on an
.ipynb
file in from the version control tab, when I click the first time, it opens a notebook editor. When I click the second time, it opens the git diff window that I expect. It looks like this was the intentional design in response to microsoft/vscode-python#7905. However, I would appreciate it if the notebook editor wasn't opened at all, and the git diff window opened directly. The notebook editor can take a long time to open, and I have to wait for the whole notebook to load before I can open the git diff window. If it's a large notebook, or if I'm accessing a remote machine, this can take a while. The option to open the notebook editor is already there in the "Open File" button next to the file name in the version control tab.Thanks for all your hard work on this extension! It's a fantastic tool that I rely on almost every day.
Details:
OS: Mac OS Mojave 10.14.6
VSCode version: 1.41.1
Python Extension version: 2019.11.50794
Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer
The text was updated successfully, but these errors were encountered: