r/VisualStudioCode • • Mar 22 '22

Trouble duplicating a block of code

Hi coders, just learning HTML recently and I have been using Ctrl+shift+ down arrow to duplicate a line down, that works great. However when I highlight a block of code, I have cursors flashing at the end of each line and when I hit the down arrow each line is copied underneath itself rather than as a block if that makes sense. Any idea what I'm doing wrong?

Cheers

Brett

2 Upvotes

3 comments sorted by

View all comments

Show parent comment

1

u/bertie_88 Mar 22 '22

Just click and drag, so I have messed something up?