Sunday, July 20, 2008

image

Let’s say you have a customer class. You know this class is used throughout your solution, but you aren’t sure exactly where it is being used. How can you quickly and easily find out this information?

All you have to do is use “Find All References”, either use the right-click menu item or even better use this keyboard shortcut:

Find All References

Shift + F12

Note: The image above 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.)


Sunday, July 20, 2008 12:30:00 (Eastern Standard Time, UTC-05:00)  #    Comments [0]  |  Trackback
Saturday, July 19, 2008

image If you ever find yourself debugging a program by stepping through various classes, methods, and lines of code, the toggle breakpoint keyboard shortcut will be there to assist you. As you are stepping through the code and hit various breakpoints or potential breakpoints a simple single key press is all it takes to either add or remove that line of code from your list of breakpoints.

Toggle Breakpoint

F9

Note: The image above 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.)


Saturday, July 19, 2008 18:24:00 (Eastern Standard Time, UTC-05:00)  #    Comments [0]  |  Trackback
Friday, July 18, 2008
image

Today’s tip is an interesting one. Do you know how to close an application window in Windows? Usually you can press Alt + F4. Visual Studio has similar feature, that comes in handy. The close current document keyboard shortcut works on most documents irregardless of whether they are in code view or design view. Quite useful and allows yours hands to spend more time on the keyboard and less time moving the mouse around everywhere.

Close Current Document

Ctrl + F4

Note: The image above 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.)


Friday, July 18, 2008 18:13:00 (Eastern Standard Time, UTC-05:00)  #    Comments [0]  |  Trackback
Thursday, July 17, 2008
image

Solutions have more and more projects these days, and projects have more and more files. If you are working on a large enterprise level line of business application then you really might want to consider today’s Visual Studio keyboard shortcut. Admit it, you’ve probably added hundreds of file using the mouse and massaging various Visual Studio menus and toolbars. But after today you will probably have a new, better way of doing the same thing. How cool is that?

Add New Item to Project

Ctrl + Shift + A

Note: The image above 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.)


Thursday, July 17, 2008 18:46:00 (Eastern Standard Time, UTC-05:00)  #    Comments [0]  |  Trackback
Wednesday, July 16, 2008
image

So everyday you possibly write hundreds, maybe thousands, of lines of code. Some of them are perfect, and will continue on to have a long productive life. Others however will be found wanting.

It it for these inadequate lines of code that the delete line keyboard shortcut was designed to deal with. And deal with it does. Instead of having to select a line, or multiple lines, you can simple use the delete line shortcut and wipe away the current line, or the currently selected lines.

Delete Line

Ctrl + L

Note: The image above 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.)


Wednesday, July 16, 2008 15:46:00 (Eastern Standard Time, UTC-05:00)  #    Comments [4]  |  Trackback
Tuesday, July 15, 2008

image

Visual Studio’s Object Browser is a powerful tool that can help developers to better “see” and understand their projects, and projects they may be working with.

Here’s what Visual Studio’s help says about it:

The Object Browser lets you select and examine the symbols available for use in projects. You can open the Object Browser from the View menu, or by clicking the Object Browser button on the main toolbar.

There are three panes: an Objects pane on the left, a Members pane on the upper right, and a Description pane on the lower right. If you resize the Object Browser into a single column, the Objects pane moves to the top, the Members pane to the middle, and the Description pane to the bottom.

View Object Browser

Ctrl + Alt + J

Note: The image above 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.)


Tuesday, July 15, 2008 11:21:00 (Eastern Standard Time, UTC-05:00)  #    Comments [0]  |  Trackback
Monday, July 14, 2008
image

A great feature of Windows is the Alt + Tab navigator window. It allows user to quickly toggle between running applications. And Visual Studio has it’s equivalent of this Windows feature. This allows you to see and to navigate Active Tool Windows and Active Files. And you can see a thumbnail of the selected item.

 

Ctrl + Tab Navigator Window

Ctrl + Tab

Note: The image above 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.)


Monday, July 14, 2008 18:48:00 (Eastern Standard Time, UTC-05:00)  #    Comments [2]  |  Trackback
Sunday, July 13, 2008

image

There is search, and then there is search. So in the beginning we had Quick Find: Ctrl + F. Quick Find worked fine, but wasn’t perfect. For one thing, Quick Find bring up a dialog that always automagically end up covering the most critical sections of your code, always. It has a LOT of options: where to look, match case, match whole word, search up, search hidden text, use regular expressions, and more. In other words, it is a bit unwieldy to use in simple day-to-day searches. I’m sure there are situations where people really need to have two-handed swords, but most of us are happy to make dinner with a simple kitchen knife.

That’s where the keyboard shortcut for incremental search comes in. It is great. No massive dialogs to get in the way. If you have already used Firefox’s incremental search feature then you are familiar with how easy and powerful this method is. If not, fire up Visual Studio now and give it a try. You have a real treat in store for you.

Incremental Search

Ctrl + I

Note: The image above 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.)


Sunday, July 13, 2008 18:39:00 (Eastern Standard Time, UTC-05:00)  #    Comments [0]  |  Trackback

imageI noticed today that Twitter has been very stable lately. Actually, I really hadn’t noticed any downtime in almost a week. I decided to check http://status.twitter.com/ and find out if this is true. From what I saw, there has only been 104 minutes of unscheduled down time in the first 11 days of July. That’s less than 10 minutes of downtime a day. Good job, guys!

Twitter really has a lot of potential to bring people together by making us more transparent to each other. For example, if you only know me from my blog, then there is a lot about me that you don’t know. Friend and family know me in some ways, and coworkers know me in some ways. Depending on what I decided to share on Twitter, my friends and family can learn a lot more about what I am working on at work, and my coworkers can learn a lot more about what is going on at home. All of this in easy to digest 140 maximum character messages.

My Twitter URL: @CJCraft

As much as I like what Twitter can do, it wasn’t long ago that I was become very irritated with the frequent “Twitter Blackouts” that were occurring on an almost daily basis. A lot of people were considering leaving Twitter, and the thought crossed my mind a couple times. I was really started to get frustrated with Twitter, and I wasn’t the only one:

imageWithout Twitter many people had to resort to drastic measures to fill the void. One poor soul even had to the leave the side of his computer, and actually build a real life version of the Twitter Fail Whale.

Others made online portals dedicated to the phenomena: http://failwhale.com/

And to top it off, you can even follow the Fail Whale on Twitter: @FailWhale 

 

Yeah, I “failed” for it too. I couldn’t resist, so I made a Twitter imagephoto mosaic that is composed from all the friends pictures of the top 100 most popular Twitter users. 

 

 

 

Resources I used in creating: Too Many Tweets: A Twitter Photo Mosaic.


cool | humor | personal
Sunday, July 13, 2008 16:45:00 (Eastern Standard Time, UTC-05:00)  #    Comments [2]  |  Trackback

Theme design by Jelle Druyts

Pick a theme: