views:

977

answers:

3

After working in Eclipse for the past 3 years and memorizing all of the great shortcut keys and features, my new job has me moving back to Visual Studio. I've found some listings of shortcut keys on VS, but am looking for a comprehensive guide mapping Eclipse features to Visual Studio. Does anyone know of a good tutorial aimed at helping Eclipse users transition to VS?

+4  A: 

This will sound flippant, but assuming you're going to be using C#, the most important point is: buy ReSharper. At that point you'll have a lot of what you're used to - integrated unit tests, find resource, find type (with Camel-casing etc), better Intellisense and more.

After that, learn that the most important keyboard shortcuts are Ctrl-. for "give me the list of things you can do for me automatically" and Alt-Enter which is the same but for ReSharper suggestions.

There are various ReSharper and VS shortcut key cheat sheets on the web - I suspect you can find those as quickly as I can :)

Jon Skeet
+5  A: 

Because of the lack of information out there on this, let's start a community wiki answer. Please add additional information on migration tips to this answer. Please avoid 3rd party plug-ins such as ReSharper in the answer.

Shortcut Keys

  • Command: Eclipse shortcut : VS.NET shortcut
  • Delete line: Ctrl + D : Ctrl + L
  • Comment line: Ctrl + / : Ctrl + K + C
  • Uncomment line: Ctrl + / : Ctrl + K + U
  • Toggle editor tabs: Ctrl + F6 : Ctrl + F6
  • Goto Line: Ctrl + L : Ctrl + G
  • Goto Definition: Ctrl + Click or F3 : F12
Tony Lenzi
"In wiki form"? What does that mean?
Michael Myers
Mark it as a community wiki if you want it "in wiki form". Most of us can't edit it otherwise.
musicfreak
Thanks, didn't realize I could or needed to do that, first time trying this kind of answer.
Tony Lenzi
A: 

I've been slowly customizing my Visual Studio 2008 to create a few tricks like when I used Eclipse. I recommend these two as a starting point:

  1. Rock Scroll - Text Highlight with an enhanced scroll bar. Very neat tool to help you visually locate where a variable is used along the code: http://microsoftdev.blogspot.com/2008/05/rock-scroll-visual-studio-plugin.html

  2. Quick Open File - create a shortcut that you like and voila, you can quickly access any file in your project: http://kutny.net/vsopen/

I've blogged about this here: http://www.wagnerdanda.me/2010/08/visual-studio-tips-like-eclipse/

Wagner Danda da Silva