There's option menu to set shortcuts to a command.
But is there any way to find the command that binded with spefic key?
For example, I want to bind Ctrl + Alt + End for something.
But It's already binded with some other command and THIS is the command when I press Ctrl + Alt + End.
So I want to find the command and remove the bind.
Is there a way to do this with searching all the command list?
I'm using Visual Studio 2010.
Thanks in advance.
Go into the keybinding section and select any item then type in a shortcut, it will tell you what is currently assigned to that shortcut, as well as giving you the ability to override it.
Related
I used to used the shortcut Ctrl + Shift + C to add a new class in Visual Studio 2015. This seems to have gone away when I'm using a different machine. How do I set this?
I've looked in Options > Environment > Keyboard but I can't see anything obvious...
Navigate to Tools >> Options >> Environment >> Keyboard, search for commands containing Project.AddClass and setup the shortcut you want
Steps to setup a shortcut
Search any command like AddClass in Show commands containing box
Select a desired command
Click on the blank Press shortcut keys box
Press desired key / key combination for shortcut using your keyboard
Also, see article Visual Studio Shortcuts and Add on Tools...
This article explains the same in more detail with some other interesting (and perhaps even relevant) points.
I don't know if there is a better way to ask this. But, I mean to open the small down arrow which shows the list of tabs (see following) using a keyboard shortcut
The Command that you are looking for is Window.ShowEzMDIFileList, it can be accessed(at least on my machine) by Ctrl + Alt + Down Arrow
Is there a keyboard shortcut to select/highlight the first error in the Error list on a failed build?
I would like to be able to quickly resolve missing namespaces as follows:
Ctrl+Shift+B
[Magical keycombo to go to first error in error list][enter]
Ctrl+.[enter]
If you use Visual C# Development Settings F8 takes you to the line of the next error on the list, Shift + F8 moves you to the previous one.
Try binding to View.NextError (it's Ctrl + Shift + F12 on my machine).
View.ErrorList (It's the Ctrl+W, Ctrl+E chord on my machine) automatically highlights the first error in the list on my machine... then hitting enter takes me to the code
IIRC, the error list is given focus as soon as a build completes with errors, so you can just use the keyboard to navigate it.
Anyway, default shortcut to the list is ctrl + \, then ctrl + e. You can select any line with up/down and press enter to go there.
It might be useful.
Go to Tools-> Options
In search Options (Ctrl+E) box,
write Keyboard
In Show commands containing box,
write View.ErrorList
In Shortcuts for selected command section, shortcut, that you need, will be appeared
What's the keyboard shortcut for Visual Studio to display the IntelliSense box if one accidentally hits ESC and wants the box come back again?
Additionally, Ctrl + K, Ctrl + I shows you Quick info (handy inside parameters)
Ctrl+Shift+Space shows you parameter information.
Ctrl + Space
or
Ctrl + J
You can also go to menu Tools → Options → Environment → Keyboard and check what is assigned to these shortcuts. The command name should be Edit.CompleteWord.
The most efficient one is Ctrl + ..
It helps to automate insertions of using directives. It works if the focus is on a new identifier, e.g. class name.
Ctrl+Space should do it.
It should be Ctrl + J.
If you have arrived at this question because IntelliSense has stopped working properly and you are hoping to force it to show you what you need, then most likely none of these solutions are going to work.
Closing and restarting Visual Studio should fix the problem.
If you want to change whether it highlights the best fitting possibility, use:
Ctrl + Alt + Space
Alt + Right Arrow and Alt + Numpad 6 (if Num Lock is disabled) are also possibilities.
In Visual Studio 2015 this shortcut opens a preview of the definition which even works through typedefs and #defines.
Ctrl + , (comma)
On Visual Studio Community 7.5.3 on Mac this works for me:
Ctrl + Space
The shortcut to bring up the IntelliSense box is called Edit.ListMembers. It defaults to:
Ctrl + J
The shortcut to automatically select the most likely option is Edit.CompleteWord. It defaults to:
Ctrl + Space
What is the shortcut to open a file within your solution in Visual Studio 2008 (+ Resharper)?
Ctrl + T (ReSharper, Goto, type) will open a class file for you.
Looks like Ctrl + Shift + T opens files.
Depending on your keymap, Ctrl + Shift + N will open any file in the solution, or Ctrl + N will open any type.
If the standard toolbar is visible the following will open any file in the solution (resharper is not necessary).
Ctrl + D places you in the Find textbox. >of f will provide a dropdown with all files that start with f with path information after the filename to distinguish name collisions. Complete the filename, or arrow down to the correct one and hit enter to open it in the editor.
I attended a presentation recently where Kirk Jackson showed how to add aliases to the command window in Visual Studio. Bear with me, it gets better.
So it went like this:
Open Command Window and type
alias fo File.FileOpen
Now in your editor window hit Ctrl + / to put the focus into the Find box on the toolbar
If you use the prefix > this is command window (sneaky huh?) so type:
fo
and intellisense kicks in and shows you the names of the folders and files in the solution.
The alias is persistent between Visual Studio sessions.
Not exactly a keyboard shortcut but using this technique you can access any command in Visual Studio from the keyboard.
You should also check out Kirk's list of essential VS tips and tricks
It depends on the key mapping that you have set.
With default keymapping: Do Ctrl + T to open a type and Ctrl + Shift + T to open a file.
With IntelliJ like mapping : Do Ctrl + N to open a type and Ctrl + Shift + N to open a file.
Visit the following links for all your key mapping.
ReSharper 4 Default Keymap: Visual Studio scheme
http://www.jetbrains.com/resharper/docs/ReSharper40DefaultKeymap.pdf
ReSharper 4 Default Keymap: ReSharper 2.x / IDEA scheme
http://www.jetbrains.com/resharper/docs/ReSharper40DefaultKeymap2.pdf