CamelHumps is a feature that identifies parts of compound names composed according to CamelCase, where each part starts with a capital letter, or when parts of a compound name are separated by underscores. You can type only initial letters of these parts; dotPeek will find items with matching names automatically.
In this topic:
CamelHumps in search commands
CamelHumps always works in all Navigation by Name commands, namely Go to Everything/Type, Go to Assembly, Go to File Member, and Go to Symbol. It is very convenient to type initial letters of name parts and get the list of matching items: You can type either uppercase or lowercase letters:
CamelHumps in code viewer assistance actions
CamelHumps can also work for Extend/Shrink Selection
To enable CamelHumps in typing assistance actions
- On the main menu, choose .
- Go to the Environment | Viewer options page.
- Use the Use CamelHumps in viewer navigation check box to toggle CamelHumps support in typing assistance features.
- Click OK.
If the CamelHumps is enabled, the Extend/Shrink Selection commands take into account parts of compound names. Suppose you have placed the caret in the middle of a compound name with several parts that begin with uppercase letters: With CamelHumps, pressing Ctrl+W for the first time selects the current part of the word: Only after pressing this keystroke for the second time dotPeek selects the whole word: All subsequent presses are processed as usual.