Archives for December 2009

#504 Debug ASP.net in any browser with #VisualStudio

When browsing the “Visual Studio” search on twitter, I saw a post from @GamersOnlyOlder asking about debugging asp.net in a browser other than Internet Explorer.

Are you forced to use Internet Explorer when debugging ASP.net applications? Absolutely not. This quick tip/trick shows how to browse and setup a default browser to use when debugging ASP.net pages. If you change the default browser, then your standard F5 will launch that browser, and attach to the process for you. In this example, I switch between IE and Chrome for debugging sessions.

#3 Windows 7 “New Folder” Keyboard Shortcut

Organization is the name of the game, when keeping track of files/folders on your computer. Any computer, Any operating system, it doesn’t matter, if you have tens of thousands of files, they need to be organized. Typically these are organized is some sort of nested fashion. If you don’t use folders, then you end up with hundreds or possible thousands of files in the same place, and things just get harder to find.

Think about your Downloads directory. Everything you download get’s stuffed into the same directory. Think about the ease of having a Utils directory, or maybe a PDFs directory.

Now I’m getting side tracked, but the bottom line is … you’ll need to create folders, and here is a little keyboard shortcut that makes life a tiny little bit easier.

If you’re a KB junkie, save your time on the video, the trick is [CTRL]+[SHIFT]+[N] in any Explorer window/dialog (including File | Save, Save As).

#503 New Block Select in Visual Studio 2010

We have had block select in Visual Studio for a long time. The idea of block select is simple, sometimes you want to select columns and rows (in a block) instead of the normal line by line select you get with normal drag-n-drop selection, or [SHIFT]+[ARROW] selection. We talked about this for older versions of studio on Trick number 002. Watch Trick number 503, to see what’s new in Studio 2010.

[Read more…]

#68 Search within the current project or entire solution?

When doing a quick find, you can select the scope of your search, including the current code block, current document, all open documents, current project, and entire solution. There is even a way to scope your search, to only look in the current code block. This might be nice for finding local variables, or when you inherit someone else’s project that like to write those famous 1500 line long methods 🙂

Just press [CTRL]+[F] to open the Quick Find window, and drop down the Look in to select the search scope.

Recall that this search scope will also apply to the [CTRL]+[D] Search experience.