So a couple days ago we covered how to display line numbers:
“31 Days of Visual Studio Tips & Tricks – Day 4: Display Line Numbers”.
So now how can we take this one step further. How about an easy way to go to a specific line of code? Think about how often as a developer you need to find a line in a large file of code. Sometimes you find out there is an error on a certain line of code and instead of scrolling down to this line manually you could use a special keyboard shortcut.
Go to Line
Ctrl + G
Definitely one of my favorite keyboard shortcuts for Visual Studio.
Note: The image to the right will take you to a full size image if you want to see this in more detail.
Feedback:
If you have a favorite Visual Studio Tip or Trick be sure to share it in the comments. I’ll compile a list and post it for everyone once there are enough.
PowerPoint: 31 Days of Visual Studio 2008 Tips & Tricks.pptx (Note: PowerPoint is updated daily to include new items.)