Eclipse to Visual Studio + ReSharper 1

Posted by Brandon Carlson Fri, 11 Apr 2008 02:52:00 GMT

Another keystroke I discovered today:

In Eclipse, I can type Ctrl+/ in order to comment out/uncomment a line of code. I've found a couple of ways to do this in Visual Studio:

  • Ctrl+K, C for commenting out a block and Ctl+K, U for uncommenting a block.
  • Ctrl+Alt+/ for toggling between commenting out and uncommenting

The latter is a ReSharper key combination which I find I prefer because I don't have to think about it, it just toggles between the two.

Comments

Leave a comment

  1. http://goforthandcode.blogspot.com/ 1 day later:
    Ctl+/ should work on ReSharper too. Atleast it does on my machine, and I don't believe I've remapped that key binding. Ctl+/ does line comment/uncomment while Ctl+Sh+/ does block commenting.
Comments