question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cursor jumps back to last typing position after autocomplete

See original GitHub issue

Please thumbs-up 👍 this issue if it personally affects you! You can do this by clicking on the emoji-face on the top right of this post. Issues with more thumbs-up will be prioritized.


What did you do?

Editing TypeScript, there is a type called DataItem, I’m declaring an array DataItem[].

Keys pressed (while in Insert mode):

D a t TAB [ ] ; ESC

What did you expect to happen?

Return to Normal mode, cursor should be on the ;

var x: DataItem[];|

What happened instead?

Return to Normal mode, but cursor jumps back to the t where it was when I pressed TAB to trigger the auto-complete.

var x: Dat|aItem[];

Technical details:

  • VSCode Version: 1.6.0
  • VsCodeVim Version: 0.3.7
  • OS: Windows 7 x64

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:15
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
rebornixcommented, Oct 18, 2016

Fixed in master.

0reactions
rebornixcommented, Oct 17, 2016

@eddy-geek thanks for your input. We are trying to give it a turnaround with #927.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Curious Case of Cursor Jumping - Mutually Human
Cursor jumping is simply when the cursor jumps from one location to another, unexpectedly, while the user is typing into a text field....
Read more >
How to stop cursor from jumping to the end of input
I think setState that causes render is making the component treat the edited value as final value and causing cursor to move to...
Read more >
my cursor jumps to new position while typing making typing very
Go to Start / Control Panel / Mouse and see if there are any controls for adjusting the sensitivity of the touchpad or...
Read more >
Google search: when I try to edit in search box; cursor jumps ...
The cursor jumps to the end having successfully typed a 'z' (or another letter) in the middle. This only happens immediately after having...
Read more >
Typing cursor jumps around to different spots while trying to ...
I have found a slight workaround, select everything after you want to correct and cut it, type one letter and delete the extra...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found