Visual Studio 11: New Features Preview
Tim Huckaby and Cameron Skinner, General Manager – Visual Studio Ultimate at Microsoft, discuss the Visual Studio 11 Dev Preview. Cameron talks about the exciting new features coming that developers can expect, especially in the Application Lifecycle Management (ALM) toolset like: requirements storyboarding tool, managing product backlog through web portal, feature to keep devs in the zone and more!
Some Highlights
- Storyboarding Tab inside PowerPoint: make sure requirements flow through the system. Nail down the requirements before you start development. More info
- Web Portal: Manipulate Backlog in TFS through a rich reworked web front-end that enables rich features for developers and project teams. More info
- My Work: a feature to help the developer to stay “in the zone” but when they do have to change context we can get them back to speed when they return, quickly. More info
Watch the article here.
What’s New for C# Developers
MSDN: The Async feature provides an easy and intuitive way to write asynchronous code. This feature makes asynchronous programming almost as straightforward as synchronous programming.
Previously, writing asynchronous code has required you to define callbacks (also referred to as continuations) to capture what occurs after asynchronous operations finish. This complicates your code, and makes routine tasks, such as exception handling, awkward and difficult. By using the Async feature, you can call asynchronous methods without writing continuations, and without splitting your code across multiple methods or lambda expressions. The compiler does the hard work for you.
The feature introduces two new keywords, async and await. The async modifier specifies that a method is an async method. When called, an async method returns a Task or Task(Of TResult), which represents the ongoing work of the method. The task contains information that the caller of the asynchronous method can use, such as the status of the task and its unique ID.
Typically, the await operator is applied to the returned task. The await operator suspends execution of the method that called the asynchronous method until the task is completed. In the meantime, control is returned to the caller of the suspended method.
For more information, see Asynchronous Programming with Async and Await (C# and Visual Basic).
What’s New for Javascript Developers
IntelliSense enhancements. IntelliSense performance is improved and feature support is enhanced, as described in this section. To customize behavior of the JavaScript Code Editor and IntelliSense, on the menu bar, selectTools, Options, Text Editor. For more information, see JavaScript IntelliSense Overview.
Support for ECMAScript 5 and the HTLM5 DOM.
Parameter Help improvements. You can provide IntelliSense for fields, function overloads, and variables by using /// code comments.
Signatures in statement completion. You can see function signatures on the right side of the statement completion list.
Immediate feedback. IntelliSense includes statement completion for identifiers in the active document when accurate information about objects is not available. For more information, see Statement Completion for Identifiers.
Implicit references. You can control which objects are available in the global scope by using reference groups. To configure reference groups, on the menu bar, choose Tools, Options, Text Editor, JavaScript,IntelliSense, References. For information about references, choose F1 on specific UI elements.
Breakpoints. You can set breakpoints on specific locations in a single line of code. For example, in the code var y = 5; var x = 10;, you can just set the breakpoint on var x = 10;.
Script Loader. Delay-loaded scripts are now loaded in the development environment, which allows IntelliSense to provide information about the script objects.
Brace matching. Matching braces are highlighted when the cursor is on the left side of an opening brace or on the right side of a closing brace.
Outlining. New navigational aids include collapsible functions in the editor.
Go To Definition. You can put your cursor in a function and press F12 (or right-click and select Go To Definition) to open the JavaScript file that contains the definition of the function. The page opens at the location in the file where the function is defined. Go To Definition is not supported for generated files.
Drag-and-drop references. You can drag .js files from Solution Explorer to the JavaScript Code Editor, where they are added as references. References added in this manner are put at the top of the page in the Code Editor.