[英]Curly braces in visual studio running desktop parallels mac
I'm testing visual studio in desktop parallels win7 running on my Macbook air. 我在我的Macbook air上运行桌面并行win7测试visual studio。 Everything works fine except that i cannot get curly braces to work inside visual studio.
一切都很好,除了我无法在视觉工作室内工作。
The Curly braces do work Shift + right-alt 7/8 (tested in notepad) but something is overriding the key combination inside visual studio. Curly大括号可以工作Shift + right-alt 7/8(在记事本中测试),但有些东西覆盖了visual studio中的键组合。
software specs in parallels 软件规格相似
Windows 7 Visual studio 2012 Resharper Windows 7 Visual studio 2012 Resharper
I think it is Resharper that is messing with me. 我认为Resharper正在弄乱我。 Does anyone know how to turn off a shortcut, specifically the key combination shift + right-alt + 7/8 so i can get curly braces working again.
有谁知道如何关闭一个快捷方式,特别是键组合shift + right-alt + 7/8所以我可以让花括号再次工作。
You can check all the different shortcuts in Visual Studio and modify them as you like. 您可以在Visual Studio中检查所有不同的快捷方式,并根据需要进行修改。
In Visual Studio goto: Tools -> Customize
and press the Keyboard
button at the bottom. 在Visual Studio中转到:
Tools -> Customize
,然后按底部的Keyboard
按钮。 Then, in the "Press Shortcut Key" TextBox just press the key combination and you'll see what command it is set to, and you can remove/redefine that combination 然后,在“按快捷键” TextBox中按下组合键,您将看到它设置的命令,您可以删除/重新定义该组合
我有同样的问题,但我终于找到了它是如何工作的:for {type right-alt + 5 and for [type right-alt + shift + 5
In Visual Studio 2015 the keyboard settings are at Tools -> Options
under Environment/Keyboard
. 在Visual Studio 2015中,键盘设置位于“
Environment/Keyboard
下的“ Tools -> Options
”中。
I could not find the bound command by pressing the shortcut. 按快捷键我找不到绑定命令。
After some digging i discovered the command name: ReSharper_EnableDaemon
. 经过一番挖掘,我发现了命令名:
ReSharper_EnableDaemon
。 Removing all shortcuts for this command, I can now type {
again. 删除此命令的所有快捷方式,我现在可以再次键入
{
。
Try to use fn + alt (right alt key) + 7/8 in your keyboard. 尝试在键盘中使用fn + alt(右Alt键)+ 7/8 。 Should fix most of those Mac parallel issues.
应该修复大多数Mac并行问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.