r/vscode•
MSRsnowshoes

Is it possible to select all text in a wrapped line?

How can I make VS Code select the entire line of text/code that's wrapped, for example, if I place my cursor on the following short line, and press Home, then Shift, then End, and Ctl+C, I get the whole line:

print("Hellow World")

Copied text:

print("Hellow World")

But if I do the same to the first line of a longer line of text that's wrapped, I only get part of the code:

print("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.")

Copied text:

print("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do 

How can I make VS Code highlight the entire line of text, instead of only the first 'logical' line?

Posted Jun 15, 2025, 3:01 AM UTC

05
Loading comments…