Search
A significant enhancement in the Visual Studio environment is to allow developers to quickly find the key information or functions they need. Previously, developers used the tool window, list, document and dialog window to find specific files, options, or reference the Assembly, correct controls, and a large number of other targets. With Visual Studio 11, search integrates the IDE with a series of features, which we call "search anywhere ".
Want to quickly find the correct assembly reference? The search function is now integrated into add reference... Dialog Box:
Do you want to quickly find the important commands and options you are struggling to search? The new Quick Launch feature allows you to search for thousands of contents in Visual Studio. Quick Launch not only helps you find commands or options, but you can also see them in the screenshot below. This function also allows you to understand the keyboard shortcut keys.
Do you want to quickly find a specific file in your solution? The New Solution Explorer search feature allows you to filter by file name. In addition, Solution Explorer allows you to view classes and members in a file, and the search function of the tool window also applies such entries.
Many compilation errors have occurred. Do you want to quickly find the standards that match them? Now you can search in the error tool window:
Some tool windows not only provide the search function, but also deeply integrate them with other Visual Studio components. For example, the new parallel Watch window provides the "filter by Boolean expression" box:
If a Boolean expression is provided, the debugger evaluates the criteria for each thread. Only the threads whose expressions are evaluated as true are displayed:
As you can see, "Search" has become part of development integration in Visual Studio 11. For more details about the availability, I recommend this blog, which was written by the Visual Studio team.
Search
Similar to this "search anywhere" experience, searching for text in a document is called "Search", which is simplified in visual studio11, in order to minimize the number of dialogs that developers must process and minimize the time spent by developers outside the code. In Visual Studio 2010, enter Ctrl + F to bring up the search and replacement dialog box:
In Visual Studio 11, find starts by directly integrating the control in the code window:
As shown in the screenshot, I no longer need to manage independent dialogs, or use multiple clicks or a single result window to view the text I want to find. Instead, when I enter the content to be searched in the find control, all the text that matches in my document will be highlighted. In fact, for those of you who know and love regular. Net expressions, once you input a value in RegEx, you will get a real-time highlighted result.
The Visual Studio team also published more blog posts about the new find experience.
Preview tags
How many times have you found that your document tag far exceeds the one you opened? Each time you click "go to definition" or open the search results in another file, the file will be opened. The file will remain open until it is specifically closed by the developer from the editor. This does happen, even if the file is only for the moment, or it is only required to preview the target content.
To see the preview label of Visual Studio 11. The preview tag is on the right of the document window and can be used as needed:
This greatly reduces the complexity we encounter in the Visual Studio document window. If you want to preview the content for a longer period of time, you can click to "push" the current file from the preview label to the complete code window.
Project round-trip
Sometimes team members use different versions of Visual Studio. In such a team environment, skills are often required. Once a member of the team uses the New Visual Studio version for the project, the earlier version of Visual Studio cannot be used after the project is upgraded. This forces the team to maintain multiple project files to support different versions of Visual Studio.
With Visual Studio 11, the project round-trip becomes a first-class feature. A project created with Visual Studio 2010 can be edited in Visual Studio 11. More importantly, it can be used in Visual Studio 2010 again (SP1 needs to be installed ). As long as the project does not use new project functions that can only be supported by Visual Studio 11 (such as updating the C # application to target.. NET Framework 4.5 instead. NET framework 4), the Team does not need to update all Visual Studio at a time. In this way, the team members can use Visual Studio 2010 or Visual Studio 11 to stay in harmony with each other.
More
Some improvements in code understanding and navigation make search, preview, and project round-trip operations better.
For example, in Visual Studio 2010, C # and Visual Basic have a function called "reference highlight". Clicking token in the editor will make the editor highlight other tokens in use. In Visual Studio 11, this function C ++ also applies:
In This screenshot, I click "multiplyby2" and the other three use this token to be highlighted by IDE. This screenshot also shows the color of the syntactic code, which is a brand new content of Visual C ++ in Visual Studio 11. Visual c ++ also supports code snippets and smart sensing of C ++/CLI.
IDE's support for F # has also been improved in Visual Studio 11. For example, F # developers can enjoy the improved parameter assistance. For example, when you input a function or method call, the information of each parameter will be displayed with your input:
In addition, Visual Basic developers can call the call hierarchy window. This tool window analyzes the calls of all functions and methods in solution, allowing developers to better understand the functions they have designed (The New Solution Explorer in Visual Studio 11 provides these functions ):
Download vs11 now
Http://www.microsoft.com/click/services/Redirect2.ashx? Cr_cc = 200098144