Archives for April 2010

#72 Use Ctrl+H to bring up the Quick Replace Window

You’re probably used to using [CTRL]+[F] to open the Find/Replace dialog. Did you know that [CTRL]+[H] will open directly to the Quick Replace dialog? The command is Edit.Replace, in case your keybindings are different.  You’ll need to press the Replace or Replace All button to invoke the find and replace.  Additionally, you can customize your find and replace experience by expanding the Find options chevron control. I’ll also do a quick showing of [CTRL]+[SHIFT]+[H] to show the difference between Find/Replace in current document vs. Entire Solution.

 

#71 Bookmark all of your Quick Find results

Sometimes when you’re looking for something in code, it would be nice for the results to persist. Instead of routing the results to the standard find box, this tip / trick shows you how to add a bookmark to all of the result findings. Then you’re free to use the keyboard shortcuts around bookmarking to navigate the results.

 

And if you’ve accidentally bookmarked half of your code by searching for a frequently-used search term (like i did the first time i tried this), simply open the Bookmark Tool Window (View – Bookmark Window), do a [CTRL]+[A] to select all bookmarks, and then hit delete.

The keyboard shortcuts around bookmarking are generally bound to …

[CTRL]+[B],[N] = Next Bookmark

[CTRL]+[B],[P] = Previous Bookmark

[CTRL]+[B],[C] = Clear all Bookmarks

SPECIAL NOTICE

If you’re in the habit of using [CTRL]+[SHIFT]+[F] over [CTRL]+[F] to use Find in Solution over the default find options, you will not see the bookmark results button. It’s only on the default find dialog.

VS2010 Launch Talk: What’s New?

Here are my talking points for the Visual Studio Launch event today. I’m covering the “What’s New” talk. When I put this together, I didn’t want to just show a bunch of fancy new features that you may use someday. I really wanted to show Studio features that will make you more productive. Period. You should be able to leave the talk (or read this post) and start saving time instantly with your time in Visual Studio.

If you’re like me, you spend most of your time in Studio so every second counts. Each little tip/trick that you add to your bag of tricks is helpful, so in addition to just talking about some new keys/points/features of Studio 2010, I’ll also be throwing in several mini-production tips around keyboard shortcuts, debugging, and navigation.

As you know, the time on stage is limited and the key to being a good speaker is being able to roll with what’s happening with the audience. Agile Speaking 🙂 So I may or may not be able to go over all of these, and there may be additional topics that come up that aren’t listed, but … it’s my goal to stick as close as possible to this outline.

  1. Multiple Monitor Support
  2. Incremental Search, CTRL+i
  3. Box Select, Multi Line Select, ALT+MouseSelect
  4. Smart Tag from Keyboard, CTRL+.
  5. New VS2010 Navigation, CTRL+,
  6. Reference Highlights (Visual only)
  7. Temporary Projects (Tools|Options|Projects|Save New)
  8. Parallel Coding (Examples for .For and .ForEach)
  9. Debugging (Conditional, Trace Points)
  10. Intellitrace (Go back in time with the debugger)
  11. Generate Usage (Class, Methods, Props, Fields, Types)
  12. Find Usages, References, (F8)
  13. Call Hierarchy
  14. Sequence Diagrams
  15. Assembly Dependency Diagram
  16. Layer validation Diagram (Compiler v. Business Layers)

Based on time, I probably won’t get to do the last of these tips tricks, but I have them in my bag of tricks as filers. The idea here is to always make sure I have enough content prepared, but make sure the core concepts above are covered. So these additional tip/tricks may or may not make it into the 60 minutes.

  1. Custom Search Results (Registry Hack, HKCU/Soft/MS/VS/10/Find )
  2. Find Sibling Bracket/Parenthesis, CTRL+}
  3. Navigation Forward and backward, CTRL+-
  4. Clipboard Ring, CTRL+SHIFT+V
  5. Find Box in Command Mode
  6. Right Click or Context Menu Changes
  7. Zoom The Editor from the CTRL+SHIFT+< and CTRL+SHIFT+>
  8. Edit SLN and PROJ files inside Studio

Feedback on AZGroups Feedback Form

Next Monday is the 7th Annual day of .net with Scott Guthrie. I’ve been doing this event for many years and this year (for the first time) I’ll be asking for a feedback / eval form to be turned in at the end of the day. In true community fashion, I would like to ask your feedback on my feedback form.

Please be constructive. I know that filling out forms seems silly on a one-by-one basis, but collectively the stats can really help, and I will personally read and evaluate each form, so it’s a great way to give each person their own voice.

I’ve put hundreds of hours into getting this event off the ground, with the venue, sponsors, give-a-ways, etc. So to make it better next year, this is the form I’ve put together.

Am I missing anything? Should I add or remove anything? Please leave comments below.

Thank You!

Thank You!

Thank You!

EvelForWebFeedback