简体   繁体   中英

Visual Studio 2019 Copy Paste Broken (Clipboard History??)

Visual Studio 2019 has suddenly started to copy/paste strange text.

I have a basic .cshtml file in a Core 3.1 web application.

@{
    ViewData["Title"] = "Lorem Ipsum";
}

<h1>What is Lorem Ipsum?</h1>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>

Steps to reproduce strange behavior:

  • On Line 2 Hightlight ViewData
  • Control+C

在此处输入图像描述

  • Go to end of Line 2
  • Press Enter
  • Control+V

在此处输入图像描述

I get some strange junk every time. It's really annoying and I'd like to know how to make it stop doing this? Does anyone have an idea?

Update1: I've been reading about clipboard history. Shift+Control+V

You can see I have two items in the list that seem to be the source of my pasting junk. I cannot figure out how I even copied something into there. I also cannot find documentation on how to clear it.

在此处输入图像描述

Microsoft acknowledged and corrected the issue. See the link in the original post's comments to Microsoft forum.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM