#70 Ctrl+F3 Auto Search Currently Selected String

Just select some text (or just have the cursor on the word you wish to search for) and press [CTRL]+[F3][CTRL]+[SHIFT]+[F3] will do a reverse search to find previous.

Note that a [CTRL]+[F3] search uses the following options: 

  • Is case sensitive
  • Searches hidden text
  • Allows for partial matching
  • Does not use regular expressions

#69 F3 Repeats last Search, Shift-F3 is Find Previous

After you search and find an item, [F3] will search and find the same item again. [SHIFT]-[F3] will find the same item, but will look behind your current cursor position. Obviously, you can also press the Find Next button on the Find and Replace window, if it’s open.

One thing to note about [F3], is that like all searches, it will obey the rules you’ve setup on the [CTRL]-[F] find dialog (even though it’s not open).

#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.

#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.