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

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.

Related

Smart Tag Shortcut - 2017 Community Mac

I'm using the 2017 Community Edition of Visual Studio, and I can't figure out how to toggle the "Smart Tag" feature (helper, auto-fix, suggestion tool).
It normally appears as a tiny square you can hover on, once first hovering over an error. This interaction is really annoying, and there should be a keyboard shortcut for it, but I can't find it.
The keyboard shortcuts that work in other versions of VS for Windows etc. don't work here. I also can't find any type of key binding under the settings for a "smart tag".
Picture Example: The small smart tag in VS 2017 for macOS
What you're looking for is "Quick Fix..."
You can use the shortcut option + return (also shown as ⌥ + ⏎)
You can modify the shortcut in Preferences -> Enviroment -> Key Bindings -> Refactoring -> Quick Fix..

How do you switch focus directly to docked windows in visual studio?

As a vim user, I am used to being able to switch the focus to different windows that are side by side with Ctrl-W [hjkl]. While Visual Studio offers very nice organization using docked windows, I find that using the Ctrl-Tab navigation window disorienting when all I want to do is switch focus to the pane that is to the left or right of the one I'm currently using.
Is there any good way to switch focus in Visual Studio between open windows?
I am using Visual Studio 2012.
As a (Vs)Vim-mer I am also looking for that essential feature.
Yesterday my VS2013 was behaving strange, but today it is working fine again (don't know what happened), i.e.:
When you have enabled VsVim Handling for ctrl+w in
Tools/Options/VsVim/Keyboard
then Visual Studio behaves like gVim.
If it happens that Visual Studio does not behave as expected (like yesterday ;-)) then you may alternatively use the similar shortcut:
ctrl+F6 which is assigned to Window.NextDocumentWindow.
This is quite sufficient to switch between both panes. If you hold the ctrl key down and typing F6 another time then it switches to another window, so release the ctrl key when having switched the pane.
You may add / change to another shortcut for this command via the Environment/Keyboard Option.

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,

Navigating backward and forward with the mouse in Visual Studio 2008

My install of Visual Studio 2008 does not support IE style back and forward navigation withe the mouse in the C# code editor.
Searches show that multiple people have run into this problem but I have yet to find a correct solution.
There's even a VS add-in hack just to work around the "bug".
Any idea why this functionality fails for some users and how to fix it?
You can mitigate the problem by AutoHotKey tool (free, open source).
Let's assume your Visual Studio 2008 has these editor commands and their respective shortcuts:
View.NavigateBackward = Ctrl+-
View.NavigateForward = Ctrl+Shift+-
You should be able to verify these shortcuts in keyboard options. Verified? Let's proceed.
So will you be just fine if your mouse will send these keyboard shortcuts if the Visual Studio's main window is active?
Then install the tool and add the following two mappings:
XButton1::^-
XButton2::^+-
These correspond to above keyboard shortcuts: ^ = Ctrl, + = Shift, - = -
Using AutoHotKey icon in notification area, reload definition file you just updated. Now your mouse buttons should produce the above shortcuts. Test them.
If they work for you in Visual Studio editor, you can limit them only to Visual Studio main window, otherwise they work across the entire desktop:
SetTitleMatchMode, RegEx
#IfWinActive, .*- Microsoft Visual Studio
XButton1::^-
XButton2::^+-
#IfWinActive
Feel free to adjust title-matching regex if needed.
Do not forget to reload definitions file to apply any changes you made.
Bonus:
And here are some other handy operations if you are holding Shift or Ctrl:
(You have those mouse buttons, let's use them... for commands across the entire desktop.)
+XButton1::^c
+XButton2::^v
^XButton1::^x
^XButton2::^z
(Letters must be lowercase, because uppercase means Shift+letter.)
(And always make sure you are running AHK elevated (as administrator.))
Enjoy!
Visual Studio 2008 is an editor and the apps built in it can also be built in any later version such as Visual Studio 2015. Not trying to be flippant, but the fix is to move to a later version of Studio. If money is a factor look into the Community version. (See Free Dev Tools - Visual Studio Community 2015)

Resources