Click here to Skip to main content
15,868,049 members
Articles / All Topics

Multipurpose Find Combo Box in Visual Studio

Rate me:
Please Sign up or sign in to vote.
4.87/5 (6 votes)
1 Nov 2010CPOL2 min read 27.5K   4   9
Multipurpose Find Combo Box in Visual Studio

Most of the time we use Visual Studio find combo box (6 ) only for search contents within the solution. But the find combo box is something more than what we know. We can use the find combo box for different purposes 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” within 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 a 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, we 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 advantage of Find Combo Box!

Thanks!

AJ

Shout it


Filed under: Tips and Tricks, Visual Studio

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Technical Lead
India India
.NET Consultant | Former Microsoft MVP - ASP.NET | CodeProject MVP, Mentor, Insiders| Technology Evangelist | Author | Speaker | Geek | Blogger | Husband

Blog : http://abhijitjana.net
Web Site : http://dailydotnettips.com
Twitter : @AbhijitJana
My Kinect Book : Kinect for Windows SDK Programming Guide

Comments and Discussions

 
GeneralMy vote of 1 Pin
ksrdhilip29-Sep-11 3:34
professionalksrdhilip29-Sep-11 3:34 
GeneralMy vote of 5 Pin
Abhishek Sur2-Nov-10 5:03
professionalAbhishek Sur2-Nov-10 5:03 
GeneralRe: My vote of 5 Pin
Abhijit Jana10-Jan-11 12:15
professionalAbhijit Jana10-Jan-11 12:15 
GeneralMy vote of 5 Pin
Kunal Chowdhury «IN»1-Nov-10 8:35
professionalKunal Chowdhury «IN»1-Nov-10 8:35 
AnswerRe: My vote of 5 Pin
Abhijit Jana1-Nov-10 8:47
professionalAbhijit Jana1-Nov-10 8:47 
AnswerRe: My vote of 5 Pin
Kunal Chowdhury «IN»1-Nov-10 8:51
professionalKunal Chowdhury «IN»1-Nov-10 8:51 
GeneralRe: My vote of 5 Pin
Abhijit Jana1-Nov-10 8:55
professionalAbhijit Jana1-Nov-10 8:55 
GeneralMy vote of 5 Pin
Brij1-Nov-10 8:35
mentorBrij1-Nov-10 8:35 
GeneralRe: My vote of 5 Pin
Abhijit Jana1-Nov-10 22:30
professionalAbhijit Jana1-Nov-10 22:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.