Visual Studio source window and Bootcamp keyboard mapping - visual-studio

So I recently bought myself a MacBook Air and I just installed Visual Studio 2012 in bootcamp. The problem now is that the key } is missing from the keyboard layout for some reason. The { key is mapped as ctrl + alt + 7, and since ctrl + alt + 0 was not mapped for anything I downloaded Microsoft Keyboard Layout Creator and remapped } to that key combination. This works in every application except Visul Studio source window.
Can anyone tell me a way to fix this? Or maybe some other program that doesn't have this problem?

Found the cause myself. The keybinding was already mapped by default in Visual Studio as view.ViewCode, so I went into Tools -> Options -> Environment -> Keyboard and removed that keybinding and it my } now works perfectly!

Related

Visual Studio 2015 Ctrl + D (code duplication) not working (keyboard shortcut scheme issue with Resharper)

Ctrl + D in a Visual Studio 2015 Windows10 project is not working at all.. its working in Notepad++. I have tried to reboot my machine, and closed down Visual Studio but nothing works.
I have Windows 10 Threshold 2 and Visual Studio 2015 Version 14.0.23107.0
PS: it was working fine yesterday...
Edit1:
Keyboard mapping is looking good:
RESHARPER is/was the culprit
How to fix:
reset all Visual Studio settings (Tools > Import and Export Settings > Reset all settings)
then go to the Resharper > Options > Keyboard & Menus and re-apply the keyboard shortcut scheme.
and now its working again!
Below steps are worked for me.
Go to Tools > Options >Environment >General> Keyboard
Select visual C# 2005 in keyboard mapping scheme
In Show commands containing, search for Edit.Duplicate
Assign Ctrl + D in shortcut key
Reinstalling ReSharper fixed the issue for me
Just FYI, If you are VS 2019 User:
Extensions > Resharper > Options > Environment > Keyboard
Change Keyboard Scheme to None and save, then go back again and change it to Visual Studio
I was struggling with this problem for a while and this method fixed it.
Goto File->Preferances->keybord Shortcut->On the top search duplicate->Double click on duplicate Selection->ctrl+Shift+D->Press Enter

Visual Studio Keyboard Shortcut of quick watch (shift + F9) Not Working

My quick watch (shift + F9) shortcut suddenly is not working.
But its alternate keyboard chord Control + Alt + Q works fine.
And all other shortcut seems working fine. But quick watch is the only one that I currently found.
I have tried other shortcut with Shift or with F9 , no problem.
I am also using Resharper, is that affecting VS Shift F9?
If you have Snag-It installed on your machine, its global shortcuts may override application specific shortcuts in Visual Studio (or other apps).
See #nuri's answer here: Visual Studio 2010 QuickWatch window not visible for instructions and screen-shots to change the Snag-It settings.
In the meantime, just go into the Snag-It preferences, the HotKeys tab, and set the "Video capture start/pause/resume" hot key to something other than [Shift]-[F9]. For myself, I only use "Global capture", so I set everything else to "None".
You can try the following:
In TOOLS --> Options | Keyboard, make sure the right mapping scheme is selected (Visual C# 2005 for me) and click Reset and finally, Ok

Ctrl +Shift + Enter not working with Visual Studio 2013 power productivity tools

I have two computers at home. Both have Visual Studio 2013 with power productivity tools extension. The only difference is one computer has windows 7 while another is running windows 8.1.
Both are running same edition of visual studio and latest updates are installed. But on windows 8.1 machine pressing Ctrl + Shift + Enter does not put semicolon while with windows 7 it's working fine.
Can anyone please tell me is that OS specific problem or there is a bug in power productivity tools for visual studio 2013.
reference: http://abhijitjana.net/2010/07/21/use-shiftenter-to-add-automatically-at-end-of-the-line-visual-studio-2010-productivity-power-tool/ - This link is for visual studio 2010 but now visual studio 2013 got same functionality with Ctrl + Shift + Enter.
Just tested it on mine (VS2013 w/Power Tools) in a C# file on windows 8.1 and it worked.
My recommendation is that you verify that the mapping (Edit.LineOpenBelow) is mapped to the keystroke.
Do you have other tools which may have taken the mapping such as Resharper?
If the mapping is there and appears to be assigned, try to change the mapping and see if it it works or fails. The mapping can be found in the keyboard options here:
Apparently in Windows 8 (and Windows 8.1) a special shortcut was added to run a task without showing the UAC notification to grant administrator privileges when running a specific application.
Surprisingly the shortcut is Ctrl + Shift + Enter.
Source: http://www.tekrevue.com/tip/command-prompt-administrator-shortcut/
So the question is how to disable it and if it will solve your issue:
You can disable the sequence Ctrl + Shift in Windows 8.
In "Control Panel" | "Clock, Language and Region" | "Language" click "Advanced Settings" in the left pane.
In "Advanced settings" click "Change Language bar hot keys"
In "Text Services and Input Languages" click "Change Key Sequence" button and disable the the key sequence by selecting the "Not
Assigned" radio buttons.
Source: https://superuser.com/questions/604790/how-to-disable-ctrlshift-keyboard-layout-switch-in-windows-8
Or you can try to disable the UAC:
Open up the Start screen, search for UAC, and you should see an option
for User Account Control settings. If you don’t, you’ll need to change
to search through your Settings first, but then you should see it.
And then you can drag the slider all the way to the bottom, the same
as for the other versions of Windows.
Source: http://www.howtogeek.com/howto/windows-vista/disable-user-account-control-uac-the-easy-way-on-windows-vista/
You can also try using SharpKeys to redefine the specific keyboard sequence:
Download link: http://www.randyrants.com/2011/12/sharpkeys_35/
Guide: http://www.askvg.com/customize-any-key-in-your-keyboard-using-sharpkeys/
Now, after doing it, please try the hotkey in VS2013.
Let me know if that support your issue,

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.
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
I had the same problem, but I finally found how it work:
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.
I could not find the bound command by pressing the shortcut.
After some digging i discovered the command name: 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. Should fix most of those Mac parallel issues.

Is there a keyboard shortcut to view all open documents in Visual Studio 2008

I am trying to learn the keyboard shortcuts in Visual Studio in order to be more productive. So I downloaded a document showing many of the default keybindings in Visual Basic when using the VS 2008 IDE from Microsoft.
When I tried what they say is the keyboard shortcut to view all open documents (CTRL + ALT + DOWN ARROW), I got a completely unexpected result on my XP machine; my entire screen display was flipped upside down!
Was this a prank by someone at Microsoft? I can't imagine what practical value this flipping of the screen would have.
Does anyone know what the correct keyboard shortcut is to view all open documents in VS 2008?
Oh and if you try the above shortcut and it flips your display the way it did mine, do a CTRL + ALT + UP ARROW to switch it back.
This is a conflict between your graphics driver and Visual Studio. Go to your driver settings page (Control panel) and disable the display rotation shortcuts. With this conflict removed, the shortcut will work in Visual Studio.

Resources