-
Notifications
You must be signed in to change notification settings - Fork 287
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
pressing arrow key when editing code cell sometimes doesn't work #13263
Comments
You can run the command "Toggle keyboard shortcuts troubleshooting" to get some details on what is happening when you press the arrow key, and it might point you towards an extension or a bad context key |
This is likely a duplicate of #12738, will ping once we have a fix for it in Insiders. |
Same problem |
…pdate editor context on markdown preview.
…13263. Update editor context on markdown preview. (#179569) Commit: 7f03ec6f7a48791d8027761b22773b454fc52478
…pdate editor context on markdown preview. (#179569)
This issue will be fixed and released in tomorrow's VS Code Insiders. Thank you for the input. |
Same problem! |
I have the same problem after the update. I have never face this bug before. |
I have the same problem, I don't know how to replicate it, but apparently it happens to me sometime after using the "home" / "end" or "shift+home" / "shift+end" keys VS Code Version1.77.3 Jupyter Extension Versionv2023.3.1201040234 |
i get the same thing. I am running a clean new version of vs code with only the python extension and one other extension (Edit CSV). After many years of using VS code I have never faced this bug before. ( Restarting the workbook resolves the problem, but then it seems to randomly (not sure what triggers this) reoccur... |
same problem. closing and reopening the notebook fixes it. seems only recently to have become an issue. |
For me left arrow resolves to this:
instead of cursorLeft |
Thank you for your feedbacks. The fix was not shipped in 1.77.3 but is available in Insiders and also the next 1.78 stable. |
when is 1.78 with the fix coming out? this issue is making it nearly impossible for me to work with vscode |
So the issue is marked 'closed', but the fix isn't in the current stable release, and the time line for the next stable release version is unknown? |
According to April 2023 Endgame #180716, 1.78 is expected to be released somewhere early next week (May 1-3). |
still same problem OTL |
This issue still exists in 1.78 |
Thank you all for the detailed reproduce steps and analysis. The arrow key is very hijacked by |
glad to hear this is getting looked into! To add to the temporary fixes people already suggested I also added this to make the escape key work: { "key": "escape", "command": "-editor.action.escapeFocusHover", "when": "editorHoverFocused" }, |
1.78.2 still exists |
I figured out one way to reproduce this issue:
Screen.Recording.2023-05-16.at.11.19.42.AM.mov@aiday-mar we need to figure out how to update the context key in this scenario. |
In the latest |
I face this issue/bug for 1~2 months. |
Pressing Ctrl+K and Ctrl+I twice, to enter and exit hover mode, seems to work around this issue if you run into it. (or command+K, command+I on mac) |
I found a workaround that permanently made this issue go away for me, I just had to unbind the See here #13514 (comment) |
This actually was known since weeks ago #13263 (comment), #13263 (comment) just to make a few examples. |
Hi! I'm still facing this issue. VSCode Version: 1.78.2. Anyone could work their way around on mac? Thanks! |
Yes try unbinding |
I note that this issue also applies to the Home and End keys as well. Similarly to the above workarounds, removing "hover" keybindings from those keys fixes things. |
This is the best advice here. Thanks a lot! Why should I unbind hover commands or something like this to make it work :/ Your advice much much better, it helps to mitigate the problem until it get fixed. |
Related on Stack Overflow: VSCode: Arrow keys in Jupyter Notebook stop working after a while |
This issue should now be fixed in latest VS Code Insiders and will be available in next week's Stable release. Thank you everyone for your patience and valuable troubleshooting tips. |
I have been struggling with this problem for weeks, specifically in certain cells. Even after deleting and recreating those cells, the issue persisted in that particular cell, which was quite frustrating. However, I found a workaround that seems to work. It involves hovering over a method in the affected cell, clicking in the documentation window, and then pressing the arrow keys. By doing so, the arrow keys start functioning properly. I hope this solution proves helpful in your situation. |
Same issue here. |
I have a workaround - Hover over a variable or a function and click on the hovered window press escape and arrows are back |
This worked for me. But as he said is a workaround. It would be nice if this behavior is fixed |
August and it still exists. Solved by closing and reopening Vscode |
Update: I'll leave this here in case anyone arrives via google like I did. Apparently it's an ipython issue. Here's a solution that worked for me. |
Applies To
What happened?
Not sure how the issue is triggered, it just happened when using notebook:
I feel It's possible that it's because of other extensions. I will have a try disabling some.
Below is an illustration when I hold arrow down/up:
VS Code Version
1.77.0
Jupyter Extension Version
v2023.3.1000892223
Jupyter logs
Coding Language and Runtime Version
No response
Language Extension Version (if applicable)
No response
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
Remote
The text was updated successfully, but these errors were encountered: