jump to navigation

Multipurpose Find Combo Box in Visual Studio November 1, 2010

Posted by Abhijit Jana in Tips and Tricks, Visual Studio.
Tags: , , , ,
trackback

Most of the time we use Visual Studio find combo box (6 ) only for search contents with in the solution. But the find combo box is something more than what we  know. We can use the find combo box in different purpose like create file, open files, create project, print, open watch windows etc. As for example you can close all the open files by just typing  “>CloseAll”  with in find combo box followed by a  “Enter”.  Fundamentally we can execute all the commands from Find Combo box which are available from Visual Studio Command Window. Like Command Window,  In Combo Box, if you type “>” and aliases and press enter result will be the same.

I am listing few examples which will help you to know more about using find combo box.

Use Find Combo Box to Add New Project

Instead of  File > New Project, if you  type “>AddProj” and press “Enter”, it will launch “Add New Project” window.

1

Use Find Combo Box to Close All Open Documents

Use Find combo box to close all the open files at a time by just typing “>CloseAll”.

2

3

Use Find Combo Box to Open Task List

Just type “>TaskList” and Press enter to open to task list from combo box.

4

Use Find Combo box to add variables in watch windows

You can type >?? <VariableName> to add a variable in watch window from find combo box.

7 8

Similarly use can use all the predefined command aliases in visual studio.  You can check and try all of them from Predefined Visual Studio Command Aliases .  Apart from the available predefined aliases you can create your own aliases for visual studio by just following How to: Create Custom Aliases for Visual Studio Commands

You do not need to remember all these commands as they are all auto populated in find combo box. Just type “>”, you will able to see the list of all commands available.

5

Hope this will help you to take some more advantages of Find Combo Box !

Thanks !

AJ

Shout it

Comments»

1. Atul Verma - November 1, 2010

cool abhijit …

Abhijit Jana - November 1, 2010

Thanks Atul !

2. DotNetShoutout - November 1, 2010

Multipurpose Find Combo Box in Visual Studio « Abhijit’s World of .NET…

Thank you for submitting this cool story – Trackback from DotNetShoutout…

3. Tweets that mention Multipurpose Find Combo Box in Visual Studio « Abhijit's World of .NET -- Topsy.com - November 1, 2010

[...] This post was mentioned on Twitter by Abhijit Jana and Abhishek Sur, Abhijit Jana. Abhijit Jana said: Multipurpose Find Combo Box in Visual Studio: http://wp.me/ppvPE-rz [...]

4. Ravi Kiran - November 1, 2010

U r gr8 abhijit…

Abhijit Jana - November 1, 2010

Thanks Ravi

5. Kunal Chowdhury - November 1, 2010

Nice one Abhijit. But I think the shortcut keys are more useful than this. Instead of writing, pressing 2-3 key combinations are pretty easy… :)

BTW, great find out.

Abhijit Jana - November 1, 2010

Thanks Kunal. Yes, shortcut keys are useful. But sometime it’s also handy. Like you have a object and want to explore it with in watch window. You can either select object and press the Ctrl+D+Q to add that object to watch window. But you can do that samething just by typeing, >?? even, >?? .

I will be adding this example here. :)

6. sashidhar - November 1, 2010

Interesting ..! I dont know abt it Before..!Good Post Abhijit..!

Abhijit Jana - November 1, 2010

Yes Sashidhar, we used to do them from Command Window. But we can do the same from Find Combo box !

7. Brij - November 1, 2010

Nice one Abhijit!!!
I was not aware of this feature.

Abhijit Jana - November 1, 2010

Nice Brij !!

8. akhani satyam - November 1, 2010

Nice one Abhijit

Abhijit Jana - November 1, 2010

Thanks Akhani !!

9. sooriya - November 1, 2010

Great Abhijit…

Abhijit Jana - November 1, 2010

Thanks !!

10. Dew Drop – November 1, 2010 | Alvin Ashcraft's Morning Dew - November 1, 2010

[...] Multipurpose Find Combo Box in Visual Studio (Abhijit Jana) [...]

11. Aidan Ryan - November 1, 2010

You can map a keyboard shortcut to Tools.GoToCommandLine (I like Ctrl + /) to put the cursor in the quick find box with the > already inserted for you. I love “> of ” for Open File which does autocomplete for all files in your solution.

Abhijit Jana - November 1, 2010

Aidan Thanks!! “> of” is also lot more easy with VS 2010 productivity tool !!


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 1,667 other followers

%d bloggers like this: