Tales from the Evil Empire

Bertrand Le Roy's blog

News


Bertrand Le Roy


Add to Technorati Favorites Tales from the Evil Empire - Blogged

Blogs I read

My other stuff

Archives

If you don't know about CTRL+I in Visual Studio...

If you don't know about CTRL+I in Visual Studio, go try it, I'll be waiting...

So? Ain't that cool?

(CTRL+I does incremental search, so it will progressively select the first occurrence of whatever you type. It's a lot less disruptive than CTRL+F as a means to search your files)

Comments

Fabrice Marguerie said:

I used incremental search in the first version of Visual Studio for .NET, unfortunately I had to stop using it almost immediately because it doesn't search inside collapsed regions. This is a big shortcoming that makes the feature unusable in most cases.

# July 29, 2008 8:30 PM

Bertrand Le Roy said:

That's if you use regions...

# July 29, 2008 8:39 PM

Daniel said:

Duh...

# July 30, 2008 2:55 AM

Bertrand Le Roy said:

@Daniel: May seem obvious to you, but very few people know about this (I know some people in the VS team who didn't know about it...)

# July 30, 2008 1:27 PM

Al said:

I never heard of it.

But looks like its ALT-I and not CTRL-I for my configuration (vb key mapping).

# July 30, 2008 2:40 PM

Christian Hagelid said:

In order for CTRL + I to work you have to do a CTRL + F first to type the term(s) you want to search for.

Please correct me if I'm wrong

# July 31, 2008 9:10 PM

Bertrand Le Roy said:

@Christian: you're wrong :) Press CTRL+I then start typing what you're looking for. It will automatically select the first occurence and update it as you type. Once you've got the sequence you want, you can use F3 to go to other occurences of the same sequence.

# August 1, 2008 12:29 AM

Christian Hagelid said:

@Bertrand: Awesome! Very very handy now that I understand how to use it. Thanks.

# August 3, 2008 6:46 PM

Dan P said:

This feature is essentially identical to the search command in GNU Emacs (Ctrl+S).  I couldn't find an equivalent for searching backwards though (i.e. Ctrl+R in Emacs)...

# August 20, 2008 5:54 AM

Bertrand Le Roy said:

@Dan: use SHIFT+F3 once you've typed CTRL+I and your search string. It's not strictly equivalent to reverse incremental search but it comes close.

# August 20, 2008 1:56 PM

Christian Hagelid said:

@Dan: and you can use CTRL+SHIFT+I to start searching from the bottom

# March 13, 2009 3:18 AM

Avinash Joshi said:

thanks......used CTRL+I or ALT+I then type any word and then for incremental search type for that word press CTRL+F3 and For Backword Search use SHIFT+F3

# September 5, 2009 3:19 AM

Sel said:

Any idea what happened to the Visual Studio 6 (vb) CTRL+I that showed the value of the constant?

# December 15, 2009 8:50 AM

Bertrand Le Roy said:

@Sel: no, but you could either "go to definition" or name your constants with an explicit name ;)

# December 15, 2009 2:22 PM