ObjectSharp Blogs

You are currently viewing

Dave Lloyd's 2 Cents

A .NET Developer's Perspective


Incremental Search

Barry found this and showed me some time ago. I had forgot about it and stumbled across it today. I keep forgetting it's there. I'm hoping by Blogging it I will remember.

When you are editing code in Visual Studio hit CTRL-I. You will see this little icon appear,  this is Incremental Search.

Once in this mode you can just start typing and it will find text that matches what you are typing as you type.

If you have typed the whole word but search has not found the one you want, hit F3 to jump to the next occurrence.

 

Comments

  • dave May 31, 2004 1:44 AM

    I love that feature. I am a big incremental search fan in Emacs and now that I found it in VS there is only one feature I miss from Emacs that needs to be in VS - split screen via keyboard shortcut. Anyone know if this can be done? Basically I want the 'CTRL-x 2' functionality of Emacs in VS.

  • dave May 31, 2004 9:08 AM

    Mike, You can do what you want. You know you can right click on a tabbed document and select new horizontal or new verticle tab group.

    I don't know of a shortcut key for these but you could easily record a macro and play that back.

  • dave June 1, 2004 9:16 AM

    Another way to do the split screen would be with the command window. Set up an Alias for Window.TileHorizontally or Window.TileVertically.

    >alias th Window.Horitzontally
    >alias tv Window.Vertically

    Then just hit the command th or tv to split the screen.

    See my blog of Tuesday May 25th.

Leave a Comment

(required) 
(optional)
(required) 

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS