-
Notifications
You must be signed in to change notification settings - Fork 290
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
Shift + [numeric keypad Enter] runs code as it was before cell edit #2524
Comments
Shift + numeric key pad enter doesn't submit for me (it enters a new line)? What OS are you running on? And if you go back and use the regular enter, does it work again? Thanks. |
Windows 10. |
Python extension: VSCode: |
@greazer, more info needed? |
Thanks for the information, please could you try updating to the latest version of the extension? |
Updated to latest version. Better, but not ideal. Really used to JupyterLab behaviour (both Enters do the same thing). But If this is as designed, then I think we can close this issue. |
Not by design, numpad enter should behave the same way. |
Thanks for the feedback! However, we don't have plans on adding this functionality at this time. VS Code itself is investigating making notebooks a native experience in the editor. This particular problem will be solved by that effort. |
There are two Enter buttons on my keyboard. The one that is on the main pad behaves as expected, but the one that is at the numeric keypad sometimes causes old code being run.
Steps:
i = 9
print(i)
Expected output: 3
Actual output: 9
This does not happen, when using the other Enter key. This happens only if Shift+Enter is used right after edit (does not happen, if notebook is saved between edit and run or if you move cursor to another cell and back between edit and run).
The text was updated successfully, but these errors were encountered: