简体   繁体   English

Visual Studio 2019 复制粘贴损坏(剪贴板历史??)

[英]Visual Studio 2019 Copy Paste Broken (Clipboard History??)

Visual Studio 2019 has suddenly started to copy/paste strange text. Visual Studio 2019 突然开始复制/粘贴奇怪的文本。

I have a basic .cshtml file in a Core 3.1 web application.我在 Core 3.1 web 应用程序中有一个基本的.cshtml文件。

@{
    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第 2 行高亮显示ViewData
  • Control+C控制+C

在此处输入图像描述

  • Go to end of Line 2 Go到2号线尾
  • Press Enter按回车
  • Control+V控制+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. Update1:我一直在阅读有关剪贴板历史的信息。 Shift+Control+V 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. Microsoft 承认并纠正了该问题。 See the link in the original post's comments to Microsoft forum.请参阅 Microsoft 论坛原始帖子评论中的链接。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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