Shift + Enter不再在Visual Studio中添加新行 [英] Shift + Enter no longer adds a new line in Visual Studio
本文介绍了Shift + Enter不再在Visual Studio中添加新行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我安装了Visual Studio 2010生产力电动工具,此后Shift + Enter不会在文本编辑器中添加新行.我尝试禁用所有生产力工具设置,甚至完全卸载生产力工具,但是Shift + Enter仍然不起作用.我找不到此设置.
I installed the Visual Studio 2010 productivity power tools, and since then Shift + Enter does not add a new line in the text editor. I've tried disabling all of the productivity tools settings and even uninstalling the productivity power tools entirely, but Shift + Enter still does nothing. I can't find the setting for this.
如何重新启用shift + Enter以添加空格(就像单独输入enter一样)?
How can I re-enable shift + enter to add a space (just like enter alone does)?
推荐答案
- 转到
Tools/Options/Environment/Keyboard
. - 将在以下位置使用新的快捷方式"切换到文本编辑器".
- 选择
Edit.BreakLine
命令. - 在
Press shortcut keys
编辑窗格中,按 Shift + Enter . - Go to
Tools/Options/Environment/Keyboard
. - Switch the "Use new shortcut in:" dropdown to "Text Editor".
- Pick the
Edit.BreakLine
command. - In the
Press shortcut keys
edit pane press Shift+Enter.
这篇关于Shift + Enter不再在Visual Studio中添加新行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文