On the menu bar, choose Tools > Options. Expand Environment, and then choose Keyboard. Optional: Filter the list of commands by entering all or part of the name of the command, without spaces, in the Show commands containing box. In the list, choose the command to which you want to assign a keyboard shortcut.
Ctrl-Shift-F is used to find all the ocuurance of a string with in entire solution and display find result window as shown below. Ctrl-F is used to find a string in the current document, project and all open documents one by one.
Ctrl+K for Removing Bookmarks Visual Studio contains a characteristic that enables users to add a bookmark. This bookmark can be added to a line of code in a solution.
Thanks to those who suggested Resharper. This gives me another reason to love it even more. Just to be specific about where this lives - JetBrains call it CamelHumps (cute) and you can switch it on using the menu:
Resharper -> Options -> Environment -> Editor -> Editor Behavior -> Use CamelHumps
... in older versions of Resharper, it is;
Resharper -> Options -> Editor -> Use CamelHumps
Anyone stumbling across this page after Nov 25, 2008 (who don't want to pay for ReSharper or CodeRush which no longer has a free version), the following free Extension adds this functionality: Subword Navigation by Olle Westman
(Alternatively, the VSTricks extension includes Sub-word Navigation in its list of nifty features. There is also a different Subword navigation extension created by Lauri Vasama not to be confused with Olle Westman's which this answer uses.)
The Subword Navigation project page states:
Look up Edit.Subword in keyboard bindings to set things up.
Here's how I set it up in Visual Studio 2019
:
Use new shortcut in
, select Text Editor
Show commands containing
, type Edit.Subword. This should pop up an autocomplete field with the listed commands below.Step 4
to set another one.
Alt + Right Arrow
]Alt + Left Arrow
] Alt + Shift + Right Arrow
]Alt + Shift + Left Arrow
] Alt + Delete
]Alt + Backspace
]Note: When assigning these Subword Navigation commands to these new shortcut keys, preserve any already-existing shortcut-key functionality you want to keep beforehand by setting them to different keys. It should not conflict with any default-installed shortcut keys.
Press shortcut keys
, press Your Shortcut Keys
Assign
and overwrite the existing shortcutIf you have ReSharper installed you can also configure Visual Studio keyboard shortcuts "Alt-Right" and "Alt-Left" for CamelHump, without losing standard Visual Studio behaviour for "ctrl-right" and "ctrl-left".
Caveats:
Details here: http://davidrcook.wordpress.com/2009/11/05/working-with-camel-case-in-visual-studio/
It's not native to Visual Studio, but you can get it for free using CodeRush Express. (ReSharper and CodeRush require payment).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With