CodeRush Tricks of the Trade

I recently installed the Xpress version and went on a similar hunt. This cheat-sheet is what I found so far. The XPress version is pretty gimped BTW so I'm trying to get funding for a license.


I use these a lot:

  • / will comment or uncomment highlighted blocks of code.

  • b will wrap a highlighted selection in braces.

  • Ctrl + 3 will wrap a selection into a region.

  • tc will generate a try/catch block.

  • mbs will write a MessageBox.Show(""); and drop the cursor in the quotes.

  • cws will do the same but with Console.Writeline.

  • m will create a method block (ms would do a method block that returns type string).

  • . will make a comment block.


NumPad+Plus widens the scope of your selection one level.

Try it. It's sublime :)