vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Cursor always stick to the end of line in Notebooks

Open JotaRata opened this issue 1 year ago • 0 comments

Does this issue occur when all extensions are disabled?: Yes

I'm having a particular weird issue where I'm unable to select specific parts of a line inside a Jupyter notebook cell and instead my cursor is placed at the end of the lines, unless I modify it.

I attach a video describing the situation, note that I am clicking any point within the line but the cursor is always sticking to the rightmost side of it (for most lines). I cannot select a specific part of the lines and double clicking will select the whole line instead.

https://github.com/user-attachments/assets/1baaa8ed-6b82-4e0b-b0da-7e579ee4f985

  • VS Code Version: 1.94.2
  • OS Version: Windows 11 NT 10.0; Win64; x64

Steps to Reproduce:

  1. Have a Jupyter notebook opened, in my case I'm using it through WSL. I'm still not quite sure what causes it, because it often happens when reloading/opening the notebook from disk but sometimes it appears to be triggered when cells are unrendered from view.
  2. Click on any recently unmodified line, the cursor should jump to the end

Console log doesn't show anything and/or maybe I haven't checked on every log. From what I know, disabling extensions (except WSL) doesn't fix the issue and it can still be triggered when selecting a line in another cell.

JotaRata avatar Oct 20 '24 06:10 JotaRata