简体   繁体   English

光标在代码编辑器中的 Visual Studio 2019 中断开

[英]The cursor broke in Visual Studio 2019 in a code editor

When trying to move the cursor in code editor to the right / left / down / up using the arrows, the cursor does not move.尝试使用箭头将代码编辑器中的光标向右/向左/向下/向上移动时,光标不会移动。 Instead, Visual Studio switches from the code editor to changing the size of the text in the editor (click on the left arrow), changing the project (click on the up arrow), starting code cleanup (click on the down arrow), nothing happens when you click on the right arrow.相反,Visual Studio 从代码编辑器切换到更改编辑器中文本的大小(单击向左箭头)、更改项目(单击向上箭头)、开始代码清理(单击向下箭头),什么都没有单击右箭头时发生。 In addition, all hotkeys don't work (F5, Ctrl+S, Ctrl+B, etc.) Delete and Backspace do not work too, but Ctrl+Z works.此外,所有热键都不起作用(F5、Ctrl+S、Ctrl+B 等) DeleteBackspace也不起作用,但Ctrl+Z起作用。

All this applies only to Visual Studio 2019, everything works fine in other text editors所有这些仅适用于 Visual Studio 2019,在其他文本编辑器中一切正常

I didn't change any settings, everything worked fine yesterday.我没有更改任何设置,昨天一切正常。 What could be the problem and how to fix it?可能是什么问题以及如何解决它?

Start cursor position起始光标位置

What happens when I Click on the left arrow当我点击左箭头时会发生什么

What happens when I Click on the up arrow当我点击向上箭头时会发生什么

What happens when I CLick on the down arrow当我点击向下箭头时会发生什么

You can reset your shortcuts with您可以使用以下命令重置快捷方式

Tools->Options->Keyboard, choose (Default) and click Reset工具->选项->键盘,选择(默认)并点击重置

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

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