Does anybody know how to make sure that the paste always happens at the cursor position?
Did you copy a whole line?
I also want this answer
Happens to me all the time too :(
I can only find GitHub issues complaining about it not working like that for some reason
@Daniel Mcnab could you share a link? I'd :thumbs_up: and subscribe
Well I mean the ones leading to the current behaviour...
Which are closed and locked
I believe that's VS code behavior. If you select some text and copy that, it pastes just that text where the cursor is. However, if you copy on a line with nothing selected, then the entire line is pasted as a line. I.e. it starts to operate on lines and not arrays of characters.
I've gotten used to it over years of use, and find it helpful in some situations
Not sure if there's a setting to configure that behavior though
Couldn't find anything in settings either with a simple search on copy nor paste.