Friday, November 19, 2010

Visual Studio Quick Hint

So, it's official. I've officially moved off of my java project back to the wonderful world of .NET. It's been a long journey, but after all of my java-ing there's one thing I can say for certain - I don't miss Java at all.

The only single thing that I liked about the Java world, was that in Eclipse there was a handy way that you could click on a method to take you to the source method. All you had to do was hold down the ctrl key, mouse-click, and voila!, you'd be taken straight to the source. I'd gotten so used to doing this that I found myself doing this in VS2010 as well, only to find the IDE sit there idly and look at me with a strange lost expression in his eyes, saying, "why are you clicking me like that?"

Well, when I commented to my friend about this he told me that there was in fact a way to do this in Visual Studio as well. "No way!" I said. That's when I decided to do a little research and it's actually very simple. Highlight the method, push F12, and "voila!", right to the source method. So that's the lesson for today kiddies, F12 your way through all of your code and we will all be happy ex-Java returned back to .NET developers.

No comments:

Post a Comment