Accidental Technologist

Musings about Entrepreneurship, Technology and Software Development

  • Home
  • About
  • Still River Software
  • Privacy Policy

Powered by Genesis

You are here: Home / Visual Studio / Visual Studio 2008 Tips I Should Know

Visual Studio 2008 Tips I Should Know

October 22, 2008 by Rob Bazinet

Tweet

VisualStudioThumb Stephen Walther had a great, practical post recently on his blog with a set of tips and tricks to help developers make better use of Visual Studio 2008.  I have to admit I didn’t know many of these tips and wonder what else I might be missing.  I will pay better attention to shortcuts as I run across them.

Here is a summary of the tips, but check out Stephen’s post to see them in action:

  1. You don’t need to select a line to copy or delete it, use CTRL-c
  2. You can add a namespace automatically by pressing CTRL-.
  3. Never create properties by hand
  4. You can remove and sort unnecessary using statements
  5. Use CTRL-k+c to comment out code
  6. You can close all documents except the current one
  7. You can open a database by double-clicking the database file in App_Data
  8. You can copy a file or folder into a project by dragging and dropping
  9. Use CTRL-SPACE to perform statement completion
  10. Add new items by pressing CTRL-N or CTRL-SHIFT+A
  11. You don’t need to type file extensions when adding a file

Reading the comments in this post is worth the time as well with some other useful tips:

  1. CTRL-x to delete the current line.
  2. CTRL-r+e to encapsulate a class variable into a property.

Another source of shortcuts is the Visual C# 2008 Poster from Microsoft, a PDF cheat sheet for magical key bindings.  I also use ReSharper (R#) which has many keyboard shortcuts and it maps to some of the key bindings used by Visual Studio to supplement the features, which is nice.

Technorati Tags: Visual Studio 2008,Microsoft,Tips and Tricks,ReSharper

Share this:

  • LinkedIn
  • Twitter
  • Facebook
  • Email
  • More
  • Pinterest
  • Tumblr
  • Pocket
  • Reddit

Related

Filed Under: Visual Studio

Care about your privacy? I do and use Fathom Analytics on this site.

Fathom Analytics

Recent Posts

  • Status Bar in iTerm2
  • Supporting Multiple SSH Keys on macOS
  • Using the Microsoft Ergonomic Keyboard on macOS
  • 10 Steps to Survive Working from Home
  • “Are you building a business or learning a stack?”

Categories

Services I Love

HatchBox - Easy Rails Deploys Fathom Analytics
Follow @rbazinet

Rob Bazinet
@rbazinet

  • If anyone is looking for a seasoned .NET, C# and https://t.co/q7WzxhZnCZ developer, a good friend of mine has some… https://t.co/5DqXtCzySr
    about 1 week ago
  • Slack is down…2021 is looking up already.
    about 2 weeks ago
  • Subscribe to Locally Sourced by Noel Rappin by @noelrap https://t.co/yZnXfg2tU5
    about 4 weeks ago
  • So true! https://t.co/6axDZAHASZ
    about 4 weeks ago
  • With all the talk about StimulusReflex in the Rails community lately, this is perfect timing. Definitely something… https://t.co/w6Y4c8QVNN
    about 1 month ago
  • RSS - Posts
  • RSS - Comments
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.