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

  • Overcoming the Mimemagic Fiasco
  • Redis::CommandError – MISCONF Redis is configured to save RDB snapshots
  • frozen_string_literal: the not so magical comment
  • Status Bar in iTerm2
  • Supporting Multiple SSH Keys on macOS

Categories

Services I Love

HatchBox - Easy Rails Deploys Fathom Analytics
Follow @rbazinet

Rob Bazinet
@rbazinet

  • Apple’s trade-in program is a joke. I’ve heard multiple people saying their value lowered for made up reasons - https://t.co/bZK4rqvUpW
    about 10 hours ago
  • I didn’t realize so many Pragmatic Programers titles were available to read online - https://t.co/OrLr01QCip
    about 3 days ago
  • Starts Monday. https://t.co/BkmcjnMRZS
    about 5 days ago
  • This years @railsconf line up of talks looks so good this year - https://t.co/eOwq9qlxs4. I wish it was in-person t… https://t.co/nt7nxV35OH
    about 7 days 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.