Is there a way that I can configure Visual Studio 2008 to understand CamelCase? Specifically, I\'d like to be able to get Ctrl + right or
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 EditorShow 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 KeysAssign and overwrite the existing shortcutI don't think Visual Studio supports this feature internally, as it seems to be using the normal way Ctrl+Right and Ctrl+Left work in Windows environment. But it's probably possible with some kind of extension or plugin.
If 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).
Add the macro below to the visual studio.
http://visualstudiomacros.blogspot.com/2008/03/getting-ctrl-right-arrow-to-respect.html
Visual Studio does not support this behavior. However, DevExpres's CodeRush! product supports navigation like this (using Alt-Left & Alt-Right), along with tons of other features to aid in navigation. The CodeRush! product is also bundled with their Refactor tool. They also offer a free CodeRush! & Refactor Express product, though I'm not certain if the Camel Casing navigation is part of the express product.