简体   繁体   English

Visual Studio v15.4.1 - 撤消功能[Ctrl] + [单击]“转到定义”

[英]Visual Studio v15.4.1 - undo feature [Ctrl]+[Click] “go to definition”

Prior to Visual Studio v15.4.1 [Ctrl] + [Mouse Left Click] would highlight (equivalent to double-clicking), which made copy and paste a convenient process. 在Visual Studio v15.4.1之前, [Ctrl] + [Mouse Left Click]将突出显示(相当于双击),这使复制和粘贴一个方便的过程。

  • F12 : the keyboard shortcut for "Go to definition". F12 :“转到定义”的键盘快捷键。 ** this is what it does now ** **这就是它现在所做的**
  • double-click : selects / highlights the entire word. double-click :选择/突出显示整个单词。 ** this is what it used to do ** **这就是以前的做法**

Is there a way to revert the [Ctrl] + [Click] shortcut to go back to how it used to be? 有没有办法恢复[Ctrl] + [Click]快捷方式回到以前的状态?

Thanks to @Lord_Curdin - I ended up searching for the keyword "mouse" in the Visual Studio Options and found it. 感谢@Lord_Curdin - 我最终在Visual Studio选项中搜索关键字"mouse"并找到它。

You can disable the setting by going to: 您可以通过转到以下内容来禁用该设置:

→ Tools
   → Options
      → Text Editor
         → General
            [ ] Enable mouse click to perform G̲o to Definition

在此输入图像描述

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

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