Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Curly braces in visual studio running desktop parallels mac

I'm testing visual studio in desktop parallels win7 running on my Macbook air. 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.

software specs in parallels

Windows 7 Visual studio 2012 Resharper

I think it is Resharper that is messing with me. 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.

like image 408
Kimpo Avatar asked Dec 08 '12 12:12

Kimpo


2 Answers

You can check all the different shortcuts in Visual Studio and modify them as you like.

In Visual Studio goto: Tools -> Customize and press the Keyboard button at the bottom. 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

like image 149
Blachshma Avatar answered Sep 19 '22 11:09

Blachshma


I had the same problem, but I finally found how it work: for { type right-alt+5 and for [ type right-alt+shift+5

like image 25
Mohamed BenHaddou Avatar answered Sep 22 '22 11:09

Mohamed BenHaddou