microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.17k stars 28.84k forks source link

Jupter notebook add cell above / add cell below #143803

Closed mhqo closed 2 years ago

mhqo commented 2 years ago

When using the "a" command in jupternotebooks, a cell is often not added above the current cell but on top of the notebook in the very first line. However, "b" (for adding a cell below) usually works as intended.

rchiodo commented 2 years ago

@rebornix wouldn't this be in the core? We don't implement this command.

rchiodo commented 2 years ago

Yeah the keymap extension is remapping core commands:

https://github.com/microsoft/vscode-jupyter-keymap/blob/8380aa7a3c6cb90cf59ea1c91ce71a4499ee5985/package.json#L52

rebornix commented 2 years ago

@mhqo are you seeing this frequently in latest VS Code?

mhqo commented 2 years ago

@rebornix I have not (yet) observed the error in the lastest version (1.66.0). At least for me it seems fixed. Unfortunately, I also did not have a clear way to reproduce it.

VSCodeTriageBot commented 2 years ago

Hey @rebornix, this issue might need further attention.

@mhqo, you can help us out by closing this issue if the problem no longer exists, or adding more information.