41

Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

Embed Size (px)

Citation preview

Page 1: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide
Page 2: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

Visual Studio 2015

Team Foundation Server 2015

Page 3: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide
Page 4: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

• Branch history (pushes & pull requests)

• Web history view for Git projects

• Quick code editing

• History control

• View history on a folder

• Build automation system

• Team project rename

• REST APIs

• Service hooks

• Improved merge performance

• Assign multiple testers

• Cloud-based load tests

• Automated testing

• Change in API behavor

• Identity control and avatars

• Taskboard: Bugs on your backlogs and boards

• Product backlog updates

• Sprint backlog and task board updates

• Customize and configure your cards

• Kanban board updates

• Turn off the first column on the CFD chart

• SAFe support for Process Templates

• Process Templates renamed

• Current iteration query token

• Query progressive disclosure

• Branch policies

• Branch policies - Gated build

• Branch policies - Code review

Page 5: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

This is the first release that brings REST APIs to on-premises TFS. JSON REST APIs enable a lightweight way to work with Team Foundation Server from virtually any device, platform, or technology stack, including Windows, Android, iOS, Node.js, and others. You can create and query work items, queue a build, get recent team room messages, access source code, and accomplish almost any team or code management task.

Page 6: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

You can use service hooks to let your app or service get notified instantly when an event happens in Team Foundation Server. With service hooks, your app or service can avoid continuously polling to check for changes, such as completed builds, commits/check-ins, or work item changes. Now you can create powerful integration scenarios where Team Foundation Server can inform another service of a change, thereby enabling the use of both services together. You can find services hooks as a new hub in project administration.

Page 7: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

How service hooks work: A service hook subscription controls what action to perform on a target, external service when a specific type of event happens. Similarly to an e-mail alert subscription, a service hook subscription is associated with the user who created it. When an event occurs and a service hook attempts to match a configured subscription to an event, a permission check is performed to ensure the user who created the subscription has permission to access to the resource associated with the event. For example, a user (likely a project administrator) creates a service hook subscription that is triggered on all “work item created” events. When a new work item is created under an area path that this user does not have access to, the permission check will prevent the subscription from matching and therefore avoid any external notification from being sent via this subscription.

Page 8: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

Not only can you customize how your cards look on your Kanban board, but you now have configuration options for the data showing up on your cards in the Customize Cards dialog box. (A similar customization dialog box is also available for the Taskboard.)

You can turn the ID on or off, select how the assigned to field is displayed, and choose to show tags directly on your cards. Also, notice that we've added both "Priority" and "Severity" to the bug cards.

Page 9: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

Process Template Renamed The name of the templates will change from the verbose names that includes the version name (for example, "MSF for Agile Software Development 2013.4") to simply "Scrum", "Agile" and "CMMI". The templates are now locked, which means that you cannot make changes to the shipped templates. To create a custom process template based on a shipped template, simply export an existing template, give it a new name and version, and then reimport it by using the Process Template Manager. Existing projects are unaffected by this change, which means that they can continue to have their process customized by using witadmin.

Current Iteration Query Token This feature gives you the ability to specify a token that represents the current iteration in iteration-based queries. As you know, iterations have dates associated with them. As you move from iteration to iteration, it's very tedious to update all the queries used to track work for the next iteration. This release brings the addition of a new query token, @CurrentIteration, that returns the current iteration based on today's date. There are some limitations with this new token, however. For example, it doesn't work in Excel. The token relies on understanding your team context, and unfortunately Excel doesn't have all the information needed to determine which iteration is current.

Page 10: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

Show Un-parented Tasks The tasks in the sprint that do not have a parent story will now show up on the sprint backlog and task board, under an "Un-parented" category. The un-parented row is highlighted with a grey-colored bar. You can move tasks from an un-parented row to any user story, and vice versa. (Note: Drag & drop of an un-parented row is not allowed; it will always appear on the top of sprint backlog as well as the task board.)

Collapse Completed Stories Completed stories will be collapsed automatically when the task board is opened. All stories on the sprint backlog will be collapsed by default. Stories that are collapsed but have pending work will show a warning on the task board. Collapsed rows on the task board will also show the summary of pending work for that user story. And, PBIs on task board will now appear as cards just as tasks do.

Page 11: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

In this release, we added the ability to make a quick edit to a file in version control directly from your web browser and then commit those changes straight back to the service. When browsing a source file, you now have an Edit command that puts the file into editing mode. Changes can then be made inline, complete with color coding and formatting support. As soon as you click the Save command, we create a new commit/changeset with your changes. Use the diff view to see exactly what changes you’re making before committing the changes. If the file is a Markdown or HTML file, you can also preview your changes before you save them.

Not only can you edit files, but we also added the ability to add, delete and rename files directly from the web. To add a new file (or files), right-click a folder in your repository, select Add file(s), enter your check-in/commit comment, and you're ready to go. The days are gone when you have to download your entire codebase just to rename or delete a file.

Learn more about the quick code editing.

Page 12: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

We are very excited to provide built-in support for the Scale Agile Framework (SAFe) using our existing Scrum, Agile, and CMMI templates.

Support for Epics We have added an Epic work item type and a backlog/board to track Epics. Epics are hierarchically above Features. Features are mapped to Epics, like Backlog items are mapped to Features.

Full backlog and board functionality are available. You can manage the Epic backlog like any other backlog as well as customize your Kanban columns and cards to match your needs. (The Epics backlog is not enabled by default. To enable this feature, check the "Epics" checkbox from the Team Settings page.)

The Epics backlog can be turned on or off at the team level. As per our whitepaper, Portfolio Teams should enable the Epics backlog. Program and Feature teams can disable the Epics backlog if they don’t manage Epics in your organization.

Page 13: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

Support for Architectural vs. Business Backlogs We have added a “Value Area” field to all work items that appears on a backlog, that is: Epics, Features, and (depending on your process template), the field also appears on Product Backlog Items, User Stories, and Requirements.

The Value area has two values: Business and Architectural. By default value, all Epics, Features, and Stories are Business types. To create an Architectural Epic, Feature, or Story, set the value to Architectural.

With this functionality, you can define Architectural Epics, which in turn break down into Architectural Features and Stories, allowing you to track your architectural roadmap across your organization.

Learn more about SAFe support for process templates.

Page 14: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

In the past, if you wanted your Team Foundation Server integrated with a SharePoint instance that was on a different machine, you could either run the Team Foundation Server installer on the SharePoint server and then configure TFS Extensions for SharePoint or run a special installer (tfs_sharePointExtensions.exe) that put only the bits necessary for configuring TFS Extensions for SharePoint.

We have removed this special installer, so to integrate your Team Foundation Server with SharePoint, you must run the Team Foundation Server installer on the SharePoint server and then configure TFS Extensions for SharePoint.

Page 15: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

Cross-Platform Builds Assign Multiple Testers

Page 16: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

Dashboards are now available in Team Foundation Server Update 1. Dashboards provide visibility to your team and stakeholders on progress of work, code, tests, and builds. We've added the following:

• 100% customizable dashboards. The existing project home pages are now a completely customizable experience, giving you full control of all the data on your screen. As a team admin, you can rearrange, remove, or add the widgets that you want and use. A new widget catalog is accessible to team admins through the large green plus (+) button at the lower right side of the dashboard.

• Create multiple dashboards. Until now, the Team Overview page was the only page that teams could use to pin widgets. Now, as a team admin, you can create multiple dashboards using the plus (+) button next to an existing dashboard or through the dashboard manager. The dashboard manager is accessible through the settings icon on the dashboard.

• New dashboard widgets. All the pieces of data that used to be available on the previous Team Overview page are now available through the widget catalog. You can still add multiple charts to the dashboard through the Work, Test, and Build hubs. In addition, we’ve brought new widgets into the catalog: a conditional query tile (that allows you to set red or green if the number of work items crosses a threshold); a code tile (recent commits in the last 7 days); a query results widget (allows you to see all work items from a query); and a markdown widget (enables custom text, images, and links).

Page 17: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

Add/Remove Users From Capacity

Two new buttons on the toolbar let you add any member to your sprint plan (including those outside your team), as well as add any missing team member.

Multiple Activities Per Team Member

When planning capacity for a sprint, you can now assign multiple activities to a single team member. Just hover over or click on a row, then click the ellipses (…) to add a new activity. If a team member does both development and testing, you can fine tune the capacity to match your team’s skill sets.

Line on the Burndown Indicates Actual Capacity

The burndown chart now has a line that shows available capacity during a sprint, in addition to the existing ideal trend line. Now you'll have a better idea of whether you're on track to finish all your work during the sprint. This line is built on the capacity data, including individual and team days off.

Page 18: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

Visual Studio blog:

blogs.msdn.com/b/visualstudio/

Visual Studio Toolbox on Channel 9:

channel9.msdn.com/Shows/Visual-Studio-Toolbox

https://www.visualstudio.com/news/vs2015-vs

https://www.visualstudio.com/news/vs2015-update1-vs

https://msdn.microsoft.com/en-us/library/5db54450-b622-4284-b902-ee94952bdd58.aspx

http://blogs.msdn.com/b/visualstudio/archive/2015/10/08/visual-studio-2015-update-1-ctp.aspx

http://blogs.msdn.com/b/bharry/archive/2015/10/14/visual-studio-and-team-foundation-server-2015-update-1-pre-release-available.aspx

http://blogs.msdn.com/b/visualstudio/archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide.aspx

http://blogs.msdn.com/b/visualstudio/archive/2015/10/09/team-foundation-server-2015-update-1-rc-1.aspx

Page 19: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide
Page 20: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

• Visual Studio C++ for Cross-Platform Development

• Visual Studio Tools for Apache Cordova

• Visual Studio Emulator for Android

• Visual Studio Tools for Universal Windows App Development

• Visual C++

• C# and Visual Basic

• F#

• .NET Framework 4.6

• Entity Framework

• Visual Studio IDE

• Blend

• Debugging and Diagnostics

• ASP.NET

• Azure

• NuGet

• JavaScript

• TypeScript

• IntelliTest

• Application Insights

• Release Management

• Single Sign-In

• Git Version Control

• CodeLens

• Architecture, Design, and Modeling

• XAML Language Service

• Miscellaneous

Page 21: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

One of your top voted requests on setup is to make Visual Studio installer more customizable. Setup for Visual Studio 2015 puts you in control of what gets installed, enabling the installation to be smaller and faster.

We have also expanded the suite of components installed with Visual Studio to include multi-device development platforms and solutions across C#/.NET (Xamarin), HTML/JavaScript (Apache Cordova), and C++.

During setup, you will see options to pick from various components to install with Visual Studio. Depending on what you choose, you can potentially reduce the size of a default install by 50%, compared to previous releases.

Page 22: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

Touch support is now available in the Visual Studio editor for the following gestures:

• Scrolling (tapping-and-dragging on the editor surface on the regular and enhanced scrollbars)

• Pinch-to-Zoom

• Select a whole line by tapping in the editor margin, and select words by double-tapping them

• Invoking the editor context menu by pressing-and-holding

Page 23: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

We have also released the Color Theme Editor to give you the power to customize the color palette of the IDE. You can choose from any of the prebuilt themes or start building your own theme and even share with your friends!

Page 24: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

In Visual Studio 2015, we’ve added a new notification that gives you an option to learn more about a recent Visual Studio crash.

There are now quite a few notifications you may get through the Notifications Hub, so we’ve simplified the UI. Notifications are better categorized, and titles and descriptions are one line each. You can also choose to ‘always ignore’ notifications that are not important to you.

Page 25: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

The new Add Connected Service dialog in Visual Studio 2015 enables you to easily connect your application to Azure Application Insights, Azure Storage, Azure Mobile Services, Office 365, and Salesforce.

The Add Connected Service dialog contains all of the Connected Service providers currently installed and provides a way to get more information about the provider, the technologies it uses, and whether it's supported in the current project. Other providers can be discovered in the Extensions and Updates gallery by using the Find more services... link. The Add Connected Service dialog is also extensible. If you're a service developer, you can use our Connected Services SDK to build a provider that can improve discoverability and drive usage of your services.

Page 26: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

A common task for business application is to configure the application for enterprise single sign on using Azure Active Directory. You can now do this easily at any point during the construction of your application by right-clicking on your application and selecting Configure Azure AD Authentication....

This will bring up a wizard similar to the Add Connected Service experience to guide you through the process of configuring your application to work with Active Directory. Specifying an Active Directory Domain in the wizard will register your application with that Active Directory and configure your application to prompt for sign-in.

Page 27: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

Account Picker Integration

The Account Picker is being used throughout the Web Publishing and Web App creation/selection dialogs, to enable one-click access to multiple accounts. You can log in once to multiple accounts, and have quick and easy access to select individual accounts as you publish resources.

API Apps

The API Apps preview template, publishing support, and Server Explorer visibility have all been migrated to Visual Studio 2015. Now you can create and deploy Azure API Apps using the latest version of Visual Studio. We've also improved the Swagger output functionality so that API app developers will have better out-of-the-box support for dynamically-generated Swagger from ASP.NET Web API.

Page 28: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

WebJobs Tooling

You can now control web jobs on the Server Explorer WebJob node inside an Azure Website in the following ways:

• WebJobs nodes underneath Website nodes in Server Explorer.

• Start/Stop Continuous WebJobs from Server Explorer.

• Run On-demand or Scheduled jobs from Server Explorer.

• View WebJob Dashboard from Server Explorer.

• The View Dashboard context menu; use it to go to the Azure website's WebJob dashboard.

WebJobs SDK

The WebJobs SDK is pre-installed in the Azure WebJob project templates.

Page 29: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

The code editor UI and editing experiences for C# and Visual Basic have been replaced with new experiences built on the .NET Compiler Platform ("Roslyn"). Many of the features you love today have been improved or revamped. • Light bulbs are the new home for all quick actions you take in the Visual Studio Editor,

including fixes to common code issues and refactoring code. When you have issues in your code, a light bulb shows suggested fixes for those issues. All refactoring operations have been moved to the light bulb, which you can access any time by typing Ctrl + <dot>.

Page 30: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

You can get live code analysis and automatic fixes as you type, with specific code-aware guidance for the Microsoft platforms and NuGet packages that you're targeting. At Preview, you need to add the live FxCop analyzers through a NuGet package you get from the NuGet Gallery, as you would any other package. As you pull in any given live rule, it displaces the equivalent post-build FxCop rule, so you don’t get duplicate hits.

Here is an example from the

Code Analysis for Azure package.

Page 31: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

We’ve also enhanced the Error List so that it is your “one-stop-shop” for navigating and correcting code-related issues in your solution, whatever their source: compilation, code analysis, or live "Analyzers" which spot domain-specific issues as you type. You can use the advanced filtering available in the Error List to focus on a problem, navigate to it, and make your fix. For example, you can filter to see only the errors from your last build or in your current project. The Error List now also has a better default ranking, so that top issues appear at the top of the list.

For extra assistance, you can just click the Code Link or press F1 when you have an error selected, to see Bing powered compiler help which uses all the relevant context on the error (such as language, project type, error message) to locate the best web content to help you resolve your issues.

Page 32: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

Our new Timeline tool provides you with a scenario-centric view of the resources that your applications consume, which you can use to inspect, diagnose, and improve the performance of your WPF and Windows Store 8.1 applications.

The Timeline tool, which is in the Performance and Diagnostics hub, shows you how much time your application spends in preparing UI frames and in servicing networks and disk requests, and it does so in the context of scenarios such as Application Load and Page Load.

Learn more about the new Timeline Tool in Visual Studio 2015. (The new Timeline tool replaces the XAML UI Responsiveness tool.)

Page 33: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

JSX editor (React.js)

Visual Studio now supports the JSX syntax of any files with the .jsx file extension. Get both IntelliSense, formatting and validation in the editor as you type. This editor was built in collaboration with the Facebook team that is responsible for the React.js library.

Browser Link

CSS is automatically synchronized. Saving the CSS file or changing it externally (for example, by using a LESS/SASS compiler) causes the entire CSS file to reload in the browser. If the file cannot auto-sync, Ctrl + S causes an automatic reload, which should put it back into a good state without having to refresh the linked browsers (Ctrl + Alt + Enter). The feature can be disabled in the toolbar.

TypeScript

Visual Studio 2015 includes the 1.5 release of the TypeScript tools. This release adds rich support for ECMAScript 6, including modules, destructuring, for..of, spread, symbols, computed properties, let/const for ES3/ES5, and tagged string templates for ES3/ES5. In addition to the support for ES6, TypeScript 1.5 also adds support for the experimental ES7 decorator proposal, UMD and System.js module outputs, and a new lightweight, portable project file called ‘tsconfig.json’.

Page 34: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

Tooling support for AngularJS. Now, when you are writing apps using AngularJS, IntelliSense provides suggestions for Angular controllers, services, factories, directives, and animations.

New JavaScript language features (from the ES6 version of JavaScript) are supported, including classes, arrow functions, and template strings.

Nav bar shared project support. You can now use the navigation bar in the Shared project for Windows Universal App projects.

New navigation bar. The new navigation bar makes it easier to navigate between major elements in JavaScript source code.

JSDoc comments. Documentation comments written in the JSDoc format are now shown when using IntelliSense. (For more information about JSDoc comments, see http://usejsdoc.org.)

Object literal IntelliSense. The JavaScript editor provides you with IntelliSense suggestions when passing an object literal to functions documented using JSDoc.

Expand/collapse. You can expand and collapse more sections of your JavaScript code, including multi-line comments, multi-line arrays, and all multi-line blocks.

Task List support. You can use the Task List feature to review task comments, such as // TODO, in your JavaScript code.

Page 35: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

And as of RC, we reworked the Branches page:

• You can now merge from remote branches, as well as local branches.

• The branch that you are merging into is now fixed to the branch that is currently checked out.

• You can now rebase from the current branch onto any local or remote branch.

• You can checkout a remote branch by double-clicking it, or right-clicking it and then selecting Checkout.

Page 36: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

In the graph, merge commits are gray and non-merge commits are a brighter color. You can switch back and forth between the simple view and the detailed view. If the graph is truncated, you can resize it.

And in RC, we made several updates to the History graph:

• We've added a toolbar that allows you to control the level of detail that you see in the graph.

• We now highlight history lines to indicate which commits are reachable from the currently selected commit.

• We now show both lines of history if the local and remote branch differ. This is especially useful after rebasing a local branch.

Page 37: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

In this release, we have replaced the CodeLens "Authors" indicators with the new "Team Activity Timeline" and "Authors and Changes" history indicators.

• The Team Activity Timeline indicator shows the last author, and when the last change was made. Choosing this indicator opens Team Activity View, where you can look for patterns in changes to the code. This can help you to assess the impact of changes over time.

• The Authors and Changes indicator shows the number of authors that have changed the file, and the number of changes. Choosing this indicator opens a list of all the changes, details of the changes, and links to get more information and see the previous versions.

All the information from the indicators is available when your code is hosted in Team Foundation Version Control (in both Team Foundation Server and Visual Studio Online) and in Git repositories. When you are working in Team Foundation Server or Visual Studio Online, you can also get information about work items.

Page 38: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

These indicators, together with the indicators available in previous versions, are displayed at the code element (method, field, or class) level for C# and Visual Basic files.

These are examples of the Team Activity Timeline indicator for a C# file.

Page 39: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

This is an example of the Authors and Changes indicator for a C# file.

However, the indicators are now also displayed at file level for all other types of files (for example, C++, SQL, JavaScript, and other types of files). The following is an example of the Team Activity Timeline indicator for a file that is not a C# or Visual Basic code file:

Page 40: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

In this release, we've added Edit and Continue support for /BigObj, which means that you can now Edit and Continue to edit code while debugging Windows Store C++ projects.

Page 41: Visual Studio 2015 - ASPE Training · hierarchically above Features. ... bharry/archive/2015/10/14/visual-studio-and-team ... archive/2015/07/21/visual-studio-2015-rtm-what-s-new-in-the-ide

Pull requests hub in Visual Studio Team Explorer now features a new Pull Requests hub where users can see the list of pull requests that they have created, as well as the pull requests that others have assigned to them. We've also improved the Create Pull Request experience; now, users can publish branches and create pull requests in a single action.

"Pull request required" work item policy We now have a branch policy that requires associated work items for any pull request. Like the code reviewer and build policies, any code submitted to the branch must be submitted via pull request. When a pull request is created, the associated commits will be inspected for work item links, and if there is at least one link, the policy will be fulfilled.

Also, you can now link work items to pull requests directly, and if the pull request is directly linked to at least one work item, the policy will be fulfilled. (If no work items are linked to the pull request or the associated commits, the policy will fail.)