How to change "Navigate backward" in Visual Studio 2013? - visual-studio-2013

Default shortcut (Ctrl + .) is not working, I would like to change it to Mouse Button 4/5.
How can I achieve that ?

The shortcut for navigating backward is Ctrl + -. Have you tried that?
You can also refer to Customizing a keyboard shortcut

Related

What is the Menu Bar keyboard shortcut in Visual Studio?

I am using Visual Studio 2015 and I'm trying to learn keyboard shortcuts. I cannot find a shortcut that changes focus to the menu bar. Does it exist? Similar to Ctrl + Alt + L to change to the solution explorer.
I am aware of Ctrl + Tab, but I want to be able to access the whole menu bar without having to reach for my mouse.
I just figured it out myself. It is Alt + first letter of the tab.
So to access the File tab. Alt + F
Or Project tab. Alt + P

Create Visual Studio Keyboard Shortcut that include Mouse Click

Is it possible to create a short cut in Visual Studio that includes a left mouse click?
Currently, Ctrl + Left Click short cuts to Go to Declaration.
I'd like to map Ctrl + Shift + Left Click to Go to Implementation.
I know I can create a keyboard only shortcut, but I'd like to include the mouse.
From what I know this is not supported by default in Visual Studio.
You can have Ctrl + Alt + Left Click to go to implementation with ReSharper.
Using ReSharper you have an option for this in ReSharper options:
ReSharper is a paid extension that brings a lot of great features to Visual Studio. I'm not affiliated in any way with ReShaper. I'm just a fan of the extension.

Switch between text editor and other windows

Does Visual Studio 2013 support keyboard shortcuts for switching between windows? f.e. the text editor and "find results" window? I tried F6 but it does not work.
With help by Mark's comment, pressing Ctrl + Tab, then use arrow keys (right and left) to switch between tools and files.
Of course you can. Press Alt + F7 to move through Active tool windows. To return back to text editor use Ctrl + Tab.

Visual Studio display the 'options context menu' in intellisense

Does anyone know how to open the Options context menu with keyboard shortcut?
Oh nevermind: SHIFT-ALT-F10
You can use Ctrl + . (period).

What's the equivalent for eclipse's ALT+UP/DOWN (move line) in Visual Studio?

In Eclipse, selecting a line and pressing Alt + ↑/↓ will move the line up and down, a quick way to avoid copy&paste.
Is there an equivalent in Visual Studio?
In Visual Studio 2013 and later, this functionality is built in. ALT + UP/DOWN will move a line up or down.
If you need this functionality in VS2012 (works with VS2010 too), take a look at the MoveLine Visual Studio Extension or the Productivity Power Tools suite.
ReSharper's Ctrl + Shift + Alt + ↑/↓/←/→ is even more powerful - when on the beginning of the line, it will move the entire line, but can also be used to move entire methods, change the order of parameters, etc.
For me in Visual Studio 2019 it comes default closed.
For open it:
Tools -> Options -> Keyboard then select Edit.MoveSelectedLinesUp, click "Press shortcut keys" input and press Alt + Up (or whatever you want for it). And the other one is Edit.MoveSelectedLinesDown, click "Press shortcut keys" input and press Alt + Down (or whatever you want for it).
This is now working out of the box with Visual Studio 2013, same way as in Eclipse.
For Visual Studio 2013:
Tools -> Options -> Keyboard then select Edit.MoveSelectedLinesDown, click "Press shortcut keys" input and press Alt + Down. You also have to select the scope of the shortcut to be within "Text Editor".
In Visual Studio 2013 and later, you can move lines up and down using Alt + ↑ / Alt + ↓. Unfortunately this will not adjust the indentation if you move between blocks, as of today only ReSharper (and all other IDE's by Jetbrains including Rider) can help you with that.
To move entire blocks of code around you can move the cursor to its head and press Ctrl + m twice fast to collapse it, and then use the command above to move it around.
Here is a neat reference to all default keyboard shortcuts in different versions of Visual Studio.
With the VSCommands extension, you have exactly that keyboard shortcut. And, by the way, a Stack OVerflow notification toolbar :)

Resources