ReSharper Web Help

CamelHumps™ is a feature that identifies parts of compound names composed according to CamelCase, where each such part starts with a capital letter.

By default, it works in all Search by Name commands, namely Go To Type, Go To File, Go To File Member, and Go To Symbol, as well as in all Code Completion features. It is very convenient to type capital letters and get the list of available names:
Uppercase letters
Even better, type lowercase letters, ReSharper will recognize and match them as well:
Lowercase letters

However, you should take some additional steps to apply CamelHumps™ to the Extend/Shrink Selection and Next/Previous Word commands.

To make sure that CamelHumps works with Extend/Shrink Selection and Next/Previous Word
  1. On the main menu, choose ReSharper | Options.
  2. Open the Environment | Editor tab.
  3. Select the Use CamelHumps™ check box.

Now, after you've switched CamelHumps™ on, the Next/Previous Word command works in a slightly different way. When you press Ctrl+Right/Left, the caret moves to the next/previous upper case character in the current word, and only after that, it moves on to the next/previous word.

The Extend/Shrink Selection commands are also affected by CamelHumps™. Suppose you've placed the caret in the middle of a compound word with several parts that begin with upper case letters:
Extend/Shrink Selection using CamelHumps
If CamelHumps™ is switched on, then pressing Ctrl+W for the first time selects the current part of the word;
Extend/Shrink Selection using CamelHumps
It's only after pressing this keystroke for the second time that you can select the whole word:
Extend/Shrink Selection using CamelHumps
All subsequent presses are processed as usual.

To change the way filtering works
  1. On the main menu, choose ReSharper | Options.
  2. Open the Environment | IntelliSense | Completion Behavior tab.
  3. Make sure that Match middle of the identifiers is not selected.
  4. Click OK.

See Also



External Links