In Other IDEs I can for example place a caret at the end of this.
on each line and then highlight and copy the contents of the rest of the line and then paste it.
At first it looks like this
this.emailaddr =
this.firstname =
this.lastname =
Then after the paste it looks like this
this.emailaddr = emailaddr =
this.firstname = firstname =
this.lastname = lastname =
Since each caret is now at the end of each line I simply back space 2 times and add ;
to finish
this.emailaddr = emailaddr;
this.firstname = firstname;
this.lastname = lastname;
However In Visual Studio I get this when I paste
this.emailaddr = emailaddr =
firstname =
lastname =
this.firstname = emailaddr =
firstname =
lastname =
this.lastname = emailaddr =
firstname =
lastname =
Is this just an issue with Visual Studio code copying the contents to only one clipboard. Why in other IDE's each caret has its own memory for copy? Is there a setting to configure in Visual Studio?
There is an extension on the marketplace that does this called Multiple Carets Booster
https://marketplace.visualstudio.com/items?itemName=VaclavNadrasky.MultiCaretBooster
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.