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

  • Social Media Times Are Changing
  • It has certainly been a long time…
  • How to Fix Rails Flash Rendering When Using Hotwire
  • Hotwire Fix for CORS Error when using Omniauth
  • Fix Installation of Ruby using rbenv on macOS Big Sur

Categories

Services I Love

HatchBox - Easy Rails Deploys Fathom Analytics
Follow @rbazinet

Rob Bazinet
@rbazinet

  • Great little utility https://t.co/6AgboJv6oI
    about 1 day ago
  • Funny watching the hate to show up in my time line for ChatGPT. People getting defensive about it.
    about 4 days ago
  • I just backed The SaaS Playbook, by Rob Walling on @Kickstarter https://t.co/1FpTWN9c9v
    about 5 days ago
  • This looks like an interesting project. I need to dig in a bit. https://t.co/gacEX9AmEn "Phlex — fast, object-orie… https://t.co/4AUL0Z0SBl
    about 5 days ago
  • I attempted to use ChatGPT today and asked a couple questions it couldn’t answer. I thought it was a magical black… https://t.co/uJGw0CgUAv
    about 5 days ago
  • RSS - Posts
  • RSS - Comments
Find me on Mastodon