CodeRush Voice features include a powerful voice-to-text dictation engine available in C# comments.
Comment Dictation features are triggered with the right Ctrl key. Make sure you've set up voice features first.
Also available:
Dictation features also let you automatically include intelligent code references (for example, “see also” markup in an XML doc comment).
To start voice dictation with the caret inside a comment, simply hold down the right Ctrl key and start speaking. Release the Ctrl key when you are done.
To reference in-scope symbols while dictating, hold the Alt key down (while keeping the Ctrl key down). Release the Alt key when you have completed your symbol reference (and release the Ctrl key when you have finished dictating).
You can insert multiple code references inside a single dictation (just hold the Alt key down while referencing code expressions and release to return to normal spoken dictation, repeating as necessary).
For example, let’s say I want to fill in the XML doc comment for the following method:
I can press the right Ctrl key speak the following, holding down the Alt key when saying the bolded/highlighted words:
"This exciting method adds num one and num two, returning the result."
Notice for the words spoken when the Alt key was down ("num one" and "num two"), CodeRush mapped those spoken words to in-scope symbols, determining that both of these symbols were parameters, and finally inserting the appropriate <paramref name...> tags inside the XML Doc Comment.
You can similarly add cross-reference tags (e.g., "<seealso cref...>") for symbols that are not parameters using the exact same steps shown above.
Just hold the Alt key down while saying the name of any in-scope symbol in your code and CodeRush will generate the appropriate tag.
Reminder: the Ctrl key is held down for the entire dictation. The Alt key is only needed when you say words referencing symbols in your code.
Productivity Suggestions
- Use the CodeRush template"/t" on an empty line to generate a new // TODO: comment in the code, and then immediately follow that with holding the Ctrl key and saying exactly what you want in the TODO.
- You can also reference symbols inside regular comments - just hold down the Alt key while saying the name of the symbol you want to reference.
More Voice Features
This release contains powerful features that support voice interaction in Visual Studio. Other posts documenting voice features in CodeRush: