[Python] python Shift + enter not working in VScode with jupyter

Discussão em 'Python' iniciado por Stack, Maio 15, 2025.

  1. Stack

    Stack Membro Participativo

    I have a new install of VS Code Version 1.50.1 with the python extension that now added the Jupyter extension. The Jupyter extension build number is 2020.12.411183115 When I press shift enter on the default it adds a new line below. You can see in the video that shift + enter should work to run the line. At this point the only way I can run code in the interactive window is with ctrl + shift + p and select run selected cell.

    Edit after working with Danny Varod and the comments below:
    Changing the keyboard shortcut to ctrl + enter and nothing happens (it does not add a new line below). I press ctrl + shift + p and I see that the correct shortcut is crtl + enter but it will not trigger the action

    [​IMG]

    Here is a screenshot of my keyboard shortcuts before the change.

    [​IMG]

    Changing my keyboard shortcuts to match the comment below. Now when I press ctrl + enter nothing happens.

    [​IMG]

    Continue reading...

Compartilhe esta Página