microsoft / vscode-jupyter

VS Code Jupyter extension
https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter
MIT License
1.3k stars 294 forks source link

shift/ctrl + enter adds new non-interactive cells with no cursor #16136

Closed AusafMo closed 2 weeks ago

AusafMo commented 1 month ago

Applies To

What happened?

Image

Running the shell adds new cell but without the cursor, The new cells (happens multiple times in a row) completely non-interactive. After restarting kernel or spamming shift+enter for a couple times, the cursor appears again.

VS Code Version

1.94.2 (Universal)

Jupyter Extension Version

v2024.9.1

Jupyter logs

No response

Coding Language and Runtime Version

python 3.12.7

Language Extension Version (if applicable)

v2024.16.1

Anaconda Version (if applicable)

No response

Running Jupyter locally or remotely?

Local

amunger commented 1 month ago

Is this happening consistently? Is there specific code in the cell that causes this to happen? Are other cells behaving normally while this is happening?

AusafMo commented 1 month ago

Is this happening consistently?

Yes, it is happening consistently, even on my colleagues machines, both of ours being macs if that helps.

Is there specific code in the cell that causes this to happen?

I don't think its code specific, at least, I didn't seem to recognise any patterns.

Are other cells behaving normally while this is happening?

Yes, the existing cells behave normally, i.e., they do show cursors while the new one(s) don't.

amunger commented 4 weeks ago

Does it still occur in a new profile? run Profiles: Create a Temporary Profile and just install the jupyter extension

AusafMo commented 4 weeks ago

Does it still occur in a new profile? run Profiles: Create a Temporary Profile and just install the jupyter extension

Yes, hard to reproduce consistently, but happens in new profile too.

amunger commented 3 weeks ago

Could you run Developer: Toggle Developer tools and check the console for any relevant errors? Does this ever happen if you add a cell a different way, like with the toolbar or the notebook.cell.insertCodeCellBelow command? If possible, could you also include a gif of the behavior?

vs-code-engineering[bot] commented 2 weeks ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!