[Python] Behaviour of Jupyter "code" cells has changed

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

  1. Stack

    Stack Membro Participativo

    I'm using jupyter "cells" with the "interactive window" VS code.

    Until yesterday, this worked as follows:

    1. I'd mark a cell using the tag "# %%".
    2. If I then put my cursor in the cell, and pressed "shift + enter", an "interactive window" would open on the right hand side, and the contents of the cell would run.
    3. A new cell would appear below the executed cell, and my cursor would move there.
    4. In addition a "Run cell" button would appear at the top of the cell.

    Now nothing happens when I pressed "shift + enter" in a cell. In addition the "Run cell" button no longer appears on my cells.

    My keyboard settings seem correct:

    Keyboard settings

    I have also tried deleting the "Python: Run Selection/Line" settings, but that didn't help.

    I've also tried re-installing the various jupyter extensions but that didn't work either.

    I would like things to work as they did before. Many thanks.

    What steps should I take to make cells work in the way they used to (as described above)?

    Continue reading...

Compartilhe esta Página