简体   繁体   English

视觉工作室运行桌面上的卷曲大括号mac

[英]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.

相关问题 带有 MAC 的 Parallels 中的 Visual Studio 不断重新加载项目 - Visual Studio in Parallels with a MAC constantly reloads the project 在Parallels中运行Visual Studio for mac - 调试站点位于os x驱动器中的问题 - Running Visual Studio in Parallels for mac - problem with debugging sites sitting in os x drive 通过Mac上的远程桌面的Visual Studio 2010(运行雪豹) - Visual Studio 2010 via remote desktop on mac (running snow leopard) Mac上的Visual Studio + MySQL:Virtual Box与Parallels - Visual studio + MySQL on Mac: Virtual Box vs Parallels Visual Studio Code 中变量周围花括号的热键 - Hotkey for curly braces around variable in Visual Studio Code 在 Parallels 下运行的 Visual Studio 2005 中打开解决方案文件时出现问题 - Problems opening solution file in Visual Studio 2005 running under Parallels 在并行C1033错误上运行Visual Studio 2015 - Running visual studio 2015 on parallels c1033 error 允许 Visual Studio for Mac 使用桌面吗? - Allow Visual Studio for Mac permission to use the Desktop? 在Visual Studio for Mac上运行xUnit - Running xUnit on Visual Studio for Mac 无法在Mac上的Qtcreator中写方括号和花括号 - Can not write square and curly braces in qtcreator on mac
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM