In this article we are going to see Enhanced Search option that is introduced in the latest release of Visual Studio 2012 IDE. In our earlier article we have seen the templates that are available and newly released with the Visual Studio 2012 IDE and also we have got a clear idea on Windows Store Application development that is available alone with this release. So now about the enhanced Search feature that is introduced here, one thing comes in our mind is search option is very generic and what is something new that will be introduced as a feature upgrade. But you are wrong, this is a killer feature that is introduced which really going to save a lot of productive extra efforts which a developer normally puts out.
Quick Launch a Glance :
In official terms this search capability is named as a Quick Launch which specifically addresses how to dig into the Visual Studio to find out what exactly we are looking for. From now on we will refer to this search functionality as Quick Launch. We can find the Quick Launch text box where we need to enter the search strings is available at the right top corner for the menu as shown in the screen below.
As it shows we can use a short cut key combination as well by selection Control (Ctrl) + Q key from the keyboard will point the option to the Quick Launch search box. So as I mentioned earlier the basic idea of this feature is to find out what exactly we need from the VS IDE. Basically as a developer we used to work on the IDE for a long time and we know some feature available but we quite often forget where its location. Using this feature we can search for what exactly we are looking for from the IDE, and that why I mentioned this feature is a Killer one.
Types of Searches :
Basically we need to understand what type of searches can be done and so we categories the search availability in to 4 different search types as shown below.
1) Most Recently Used
4) Open Documents
These 4 different category covers most of the items we normally search in the IDE. Let us see each and every option on why it's categorized accordingly.
Most Recently Used :
As name suggests it is used to search for the most recent entry that we used, and we need to note that it searches only the last interactions which we did before using this search option. So to use this category we need to add @MRU preceding to the search string as shown below.
Again as name suggests this is used to search for the Menus, this was quite a good option as most of the times when we share an IDE as per the user's customization the menus will be changed. Unless and until we know what menu we required it's difficult to get it. So to use this category we need to add @Menu preceding to the search string as shown below.
This is similar to the menu but this option will search the Tools -> Options of the Visual Studio IDE section in the Menu to gather the information related to the input string. Here we have provided a string and it fetches the matches that is nearly matching the string from the Options menu. So to use this category we need to add @Opt preceding to the search string as shown below.
This category is mostly used when a huge list of documents and files are opened, basically it searches the file names that are associated with the project and see from the list of opened document in the IDE. Here in our case we opened only one document starting with M and providing the search term as M will fetch the data. So to use this category we need to add @doc preceding to the search string as shown below.
So in this article we have seen an exciting feature that is introduced in Visual Studio 2012 IDE and the different categories that are involved in this feature to use it extensively.